| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitAssignment.getAssignedUnit()
Gives the assigned unit
|
Unit |
UnitAssignment.getAssignorUnit()
Gives the assignor unit
|
| Modifier and Type | Method and Description |
|---|---|
void |
UnitAssignment.setAssignedUnit(Unit assignedUnit)
Sets the assigned unit
|
void |
UnitAssignment.setAssignorUnit(Unit assignorUnit)
Sets the assignor unit
|
| Modifier and Type | Method and Description |
|---|---|
static Unit |
UnitHome.findByCode(String strCode)
Load the unit
|
Unit |
UnitDAO.findByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Unit |
IUnitDAO.findByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the unit by code
|
static Unit |
UnitHome.findByPrimaryKey(int nIdUnit)
Load the unit
|
Unit |
TreeUnit.getUnitNode()
get the unit node
|
Unit |
UnitDAO.load(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the unit
|
Unit |
IUnitDAO.load(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the unit
|
| Modifier and Type | Method and Description |
|---|---|
static List<Unit> |
UnitHome.findAll()
Select all units
|
static List<Unit> |
UnitHome.findByFilter(UnitFilter uFilter)
Find the units by filter
|
static List<Unit> |
UnitHome.findByIdUser(int nIdUser)
Load an unit by id user
|
static List<Unit> |
UnitHome.getDirectSubUnits(int nIdUnit)
Retrieve list of direct children units
|
List<Unit> |
UnitDAO.getSubUnits(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieve list of direct children units
|
List<Unit> |
IUnitDAO.getSubUnits(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieve list of direct children units
|
static List<Unit> |
UnitHome.getUnitWithNoChildren()
Return all the Unit with no children (level 0)
|
List<Unit> |
UnitDAO.getUnitWithNoChildren(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return all the Unit with no children (level 0)
|
List<Unit> |
IUnitDAO.getUnitWithNoChildren(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return all the Unit with no children (level 0)
|
List<Unit> |
UnitDAO.selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all units
|
List<Unit> |
IUnitDAO.selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all units
|
List<Unit> |
UnitDAO.selectByFilter(UnitFilter cmFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the units by filter
|
List<Unit> |
IUnitDAO.selectByFilter(UnitFilter uFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the units by filter
|
List<Unit> |
UnitDAO.selectByIdUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load an unit by id user
|
List<Unit> |
IUnitDAO.selectByIdUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load an unit by id user
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeUnit.addSubUnit(Unit subUnit)
add sub unit
|
static int |
UnitHome.create(Unit unit)
Insert a new unit
|
int |
UnitDAO.insert(Unit unit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new unit
|
int |
IUnitDAO.insert(Unit unit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new unit
|
void |
TreeUnit.setUnitNode(Unit unitNode)
set unit node
|
static void |
UnitHome.update(Unit unit)
Update a unit
|
void |
UnitDAO.update(Unit unit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a unit
|
void |
IUnitDAO.update(Unit unit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a unit
|
| Constructor and Description |
|---|
TreeUnit(Unit unit)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitService.getRootUnit(boolean bGetAdditionalInfos)
Get the root unit
|
Unit |
IUnitService.getRootUnit(boolean bGetAdditionalInfos)
Get the root unit
|
Unit |
UnitService.getUnit(int nIdUnit,
boolean bGetAdditionalInfos)
Get the unit
|
Unit |
IUnitService.getUnit(int nIdUnit,
boolean bGetAdditionalInfos)
Get the unit
|
Unit |
UnitService.getUnitByCode(String strCode,
boolean bGetAdditionalInfos)
Get the unit by code
|
Unit |
IUnitService.getUnitByCode(String strCode,
boolean bGetAdditionalInfos)
Get the unit by code
|
| Modifier and Type | Method and Description |
|---|---|
List<Unit> |
UnitService.getAllSubUnits(Unit unit,
boolean bGetAdditionalInfos)
Get all the sub units in the unit tree from the specified unit
|
List<Unit> |
IUnitService.getAllSubUnits(Unit unit,
boolean bGetAdditionalInfos)
Get all the sub units in the unit tree from the specified unit
|
List<Unit> |
UnitService.getAllUnits(boolean bGetAdditionalInfos)
Get all units
|
List<Unit> |
IUnitService.getAllUnits(boolean bGetAdditionalInfos)
Get all units
|
List<Unit> |
UnitService.getListParentUnits(Unit givenUnit)
Get the unit parent list, from a given unit.
|
List<Unit> |
IUnitService.getListParentUnits(Unit unit)
Get the unit parent list, from a given unit.
|
List<Unit> |
UnitService.getSubUnits(int nIdUnit,
boolean bGetAdditionalInfos)
Get the direct sub units from a given id unit
|
List<Unit> |
IUnitService.getSubUnits(int nIdUnit,
boolean bGetAdditionalInfos)
Get the direct sub units from a given id unit
|
List<Unit> |
UnitService.getUnitsByIdUser(int nIdUser,
boolean bGetAdditionalInfos)
Get the unit by id user
|
List<Unit> |
IUnitService.getUnitsByIdUser(int nIdUser,
boolean bGetAdditionalInfos)
Get the unit by id user
|
List<Unit> |
UnitService.getUnitsFirstLevel(boolean bGetAdditionalInfos)
Get the units first level
|
List<Unit> |
IUnitService.getUnitsFirstLevel(boolean bGetAdditionalInfos)
Get the units first level
|
List<Unit> |
UnitService.getUnitWithNoChildren()
Return all the Unit with no children (level 0)
|
List<Unit> |
IUnitService.getUnitWithNoChildren()
Return all the Unit with no children (level 0)
|
| Modifier and Type | Method and Description |
|---|---|
int |
UnitService.createUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Create a unit
|
int |
IUnitService.createUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Create a unit
|
static void |
UnitAttributeManager.doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create the additional attributes of the given unit
|
void |
IUnitAttributeService.doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create the additional attributes of the given unit
|
static void |
UnitAttributeManager.doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do modify the additional attributes of the given unit
|
void |
IUnitAttributeService.doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do modify the additional attributes of the given unit
|
List<Unit> |
UnitService.getAllSubUnits(Unit unit,
boolean bGetAdditionalInfos)
Get all the sub units in the unit tree from the specified unit
|
List<Unit> |
IUnitService.getAllSubUnits(Unit unit,
boolean bGetAdditionalInfos)
Get all the sub units in the unit tree from the specified unit
|
List<IAction> |
UnitService.getListActions(String strActionType,
Locale locale,
Unit unit,
fr.paris.lutece.portal.business.user.AdminUser user,
UnittreeRBACRecursiveType recursiveType)
Get the list of actions
|
List<IAction> |
IUnitService.getListActions(String strActionType,
Locale locale,
Unit unit,
fr.paris.lutece.portal.business.user.AdminUser user,
UnittreeRBACRecursiveType recursiveType)
Get the list of actions
|
List<Unit> |
UnitService.getListParentUnits(Unit givenUnit)
Get the unit parent list, from a given unit.
|
List<Unit> |
IUnitService.getListParentUnits(Unit unit)
Get the unit parent list, from a given unit.
|
boolean |
UnitService.isAuthorized(Unit unit,
String strPermission,
fr.paris.lutece.portal.business.user.AdminUser user,
UnittreeRBACRecursiveType recursiveType)
Check if the given user is authorized to do the action for a given unit.
|
boolean |
IUnitService.isAuthorized(Unit unit,
String strPermission,
fr.paris.lutece.portal.business.user.AdminUser user,
UnittreeRBACRecursiveType recursiveType)
Check if the given user is authorized to do the action for a given unit.
|
boolean |
UnitService.isParent(Unit unitParent,
Unit unitRef)
Check if the first unit in parameter is parent of the second unit in parameter
|
boolean |
IUnitService.isParent(Unit unitParent,
Unit unitRef)
Check if the first unit in parameter is parent of the second unit in parameter
|
boolean |
UnitService.isUnitInList(Unit unitToCheck,
Collection<Unit> listUnits)
Check if an unit is in a given list of unit
|
boolean |
IUnitService.isUnitInList(Unit unitToCheck,
Collection<Unit> listUnits)
Check if an unit is in a given list of unit
|
boolean |
UnitService.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Change the parent of a unit.
|
static void |
UnitAttributeManager.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Update attributes to change the parent of a unit.
|
boolean |
IUnitService.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Change the parent of a unit.
|
void |
IUnitAttributeService.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Update attributes to change the parent of a unit.
|
static void |
UnitAttributeManager.populate(Unit unit)
Populate an unit additionnal attributes with the data of the database
|
void |
IUnitAttributeService.populate(Unit unit)
Populate an unit additionnal attributes with the data of the database
|
static void |
UnitAttributeManager.populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit with the data of the request
|
void |
IUnitAttributeService.populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit additionnal attributes with the data of the request
|
void |
UnitService.updateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Update the unit
|
void |
IUnitService.updateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Update the unit
|
| Modifier and Type | Method and Description |
|---|---|
List<fr.paris.lutece.portal.business.user.AdminUser> |
UnitUserService.getUsers(int nIdUnit,
Map<String,Unit> mapIdUserUnit,
boolean isInDepthSearch)
Get the list of
AdminUser from a given id unit |
List<fr.paris.lutece.portal.business.user.AdminUser> |
IUnitUserService.getUsers(int nIdUnit,
Map<String,Unit> mapIdUserUnit,
boolean isInDepthSearch)
Get the list of
AdminUser from a given id unit |
boolean |
UnitService.isUnitInList(Unit unitToCheck,
Collection<Unit> listUnits)
Check if an unit is in a given list of unit
|
boolean |
IUnitService.isUnitInList(Unit unitToCheck,
Collection<Unit> listUnits)
Check if an unit is in a given list of unit
|
| Modifier and Type | Method and Description |
|---|---|
void |
UnitUserSearchFields.fillModelForUserSearchForm(List<fr.paris.lutece.portal.business.user.AdminUser> listUsers,
String strBaseUrl,
javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
Unit unit)
Fill the model for the user search form
|
void |
IUnitSearchFields.fillModelForUserSearchForm(List<fr.paris.lutece.portal.business.user.AdminUser> listUsers,
String strBaseUrl,
javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
Unit unit)
Fill the model for the user search form
|
Copyright © 2021 City of Paris. All rights reserved.