public class OrgUnitPageFactory extends Object implements AmetysObjectFactory<OrgUnitPage>, Serviceable
AmetysObjectFactory handling OrgUnitPage.| Modifier and Type | Field and Description |
|---|---|
private OrganisationChartPageHandler |
_organisationChartPageHandler |
private AmetysObjectResolver |
_resolver |
private SkinsManager |
_skinManager |
private SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO |
| Constructor and Description |
|---|
OrgUnitPageFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) SynchronizableContentsCollectionDAO |
_getSynchronizableContentsCollectionDAO() |
OrgUnitPage |
getAmetysObjectById(String id)
|
String |
getScheme()
Returns the protocol of this factory, used to construct unique ids.
|
boolean |
hasAmetysObjectForId(String id)
Return true if the specified id correspond to an existing
AmetysObject. |
void |
service(ServiceManager manager) |
private AmetysObjectResolver _resolver
private OrganisationChartPageHandler _organisationChartPageHandler
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
private SkinsManager _skinManager
public OrgUnitPageFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic OrgUnitPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactorygetAmetysObjectById in interface AmetysObjectFactory<OrgUnitPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactoryAmetysObject.
Id are like <protocol>://<protocol-specific-part>.hasAmetysObjectForId in interface AmetysObjectFactory<OrgUnitPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public String getScheme()
AmetysObjectFactorygetScheme in interface AmetysObjectFactory<OrgUnitPage>SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()