public class OrgUnitDAO extends Object implements Serviceable, Component
Modifier and Type | Field and Description |
---|---|
private ODFHelper |
_odfHelper
The ODF helper
|
private AmetysObjectResolver |
_resolver
The Ametys Object Resolver
|
static String |
ROLE
The Avalon role
|
Constructor and Description |
---|
OrgUnitDAO() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getOrgUnitInfos(OrgUnit orgUnit,
String rootOrgUnitId)
Gets the information about the given orgunit
|
Map<String,Object> |
getOrgUnitInfos(String orgUnitId)
Gets the information about the given orgunit
|
Map<String,Object> |
getOrgUnitInfos(String orgUnitId,
String rootOrgUnitId)
Gets the information about the given orgunit
|
Map<String,Object> |
getOrgUnitsInfos(List<String> orgUnitIds)
Gets the information about the given orgunits
|
Map<String,Object> |
getOrgUnitsInfos(List<String> orgUnitIds,
String rootOrgUnitId)
Gets the information about the given orgunits
|
void |
service(ServiceManager manager) |
private AmetysObjectResolver _resolver
private ODFHelper _odfHelper
public OrgUnitDAO()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<String,Object> getOrgUnitsInfos(List<String> orgUnitIds)
orgUnitIds
- The orgunits idspublic Map<String,Object> getOrgUnitsInfos(List<String> orgUnitIds, String rootOrgUnitId)
orgUnitIds
- The orgunits idsrootOrgUnitId
- the root orgUnitIdpublic Map<String,Object> getOrgUnitInfos(String orgUnitId)
orgUnitId
- The orgunit idpublic Map<String,Object> getOrgUnitInfos(String orgUnitId, String rootOrgUnitId)
orgUnitId
- The orgunit idrootOrgUnitId
- the root orgUnit id