Package | Description |
---|---|
fr.paris.lutece.plugins.unittree.business.unit | |
fr.paris.lutece.plugins.unittree.service.unit | |
fr.paris.lutece.plugins.unittree.web.action |
Modifier and Type | Method and Description |
---|---|
static Unit |
UnitHome.findByPrimaryKey(int nIdUnit)
Load the unit
|
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.findBySectorId(int nIdSector)
Find the sector id
|
List<Unit> |
UnitDAO.findBySectorId(int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return all the Unit of the Sector
|
List<Unit> |
IUnitDAO.findBySectorId(int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return all the Unit of the Sector
|
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 |
---|---|
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
|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
List<Unit> |
UnitService.findBySectorId(int nIdSector)
Find by sector id
|
List<Unit> |
IUnitService.findBySectorId(int nIdSector)
Find by sector id
|
List<Unit> |
UnitService.getAllUnits(boolean bGetAdditionalInfos)
Get all units
|
List<Unit> |
IUnitService.getAllUnits(boolean bGetAdditionalInfos)
Get all units
|
List<Unit> |
UnitService.getSubUnits(int nIdUnit,
boolean bGetAdditionalInfos)
Get the sub units from a given id unit
|
List<Unit> |
IUnitService.getSubUnits(int nIdUnit,
boolean bGetAdditionalInfos)
Get the 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
|
void |
IUnitAttributeService.doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create the additional attributes of the given unit
|
static void |
UnitAttributeManager.doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create 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
|
static void |
UnitAttributeManager.doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do modify the additional attributes of the given unit
|
List<IAction> |
UnitService.getListActions(String strActionType,
Locale locale,
Unit unit,
fr.paris.lutece.portal.business.user.AdminUser user)
Get the list of actions
|
List<IAction> |
IUnitService.getListActions(String strActionType,
Locale locale,
Unit unit,
fr.paris.lutece.portal.business.user.AdminUser user)
Get the list of actions
|
boolean |
UnitService.isAuthorized(Unit unit,
String strPermission,
fr.paris.lutece.portal.business.user.AdminUser user)
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)
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
|
void |
IUnitAttributeService.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Update attributes to change the parent of a unit.
|
boolean |
UnitService.moveSubTree(Unit unitToMove,
Unit newUnitParent)
Change the parent of a unit.
|
boolean |
IUnitService.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.
|
void |
IUnitAttributeService.populate(Unit unit)
Populate an unit additionnal attributes with the data of the database
|
static void |
UnitAttributeManager.populate(Unit unit)
Populate an unit additionnal attributes with the data of the database
|
void |
IUnitAttributeService.populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit additionnal attributes with the data of the request
|
static void |
UnitAttributeManager.populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit 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 |
Modifier and Type | Method and Description |
---|---|
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
|
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
|
Copyright © 2017 City of Paris. All rights reserved.