public class OrgUnitPageFactory extends Object implements AmetysObjectFactory<OrgUnitPage>, Serviceable
AmetysObjectFactory
handling OrgUnitPage
.Modifier and Type | Field and Description |
---|---|
private OrganisationChartPageHandler |
_organisationChartPageHandler |
private PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
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
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
public OrgUnitPageFactory()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public OrgUnitPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactory
getAmetysObjectById
in interface AmetysObjectFactory<OrgUnitPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactory
AmetysObject
.
Id are like <protocol>://<protocol-specific-part>
.hasAmetysObjectForId
in interface AmetysObjectFactory<OrgUnitPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public String getScheme()
AmetysObjectFactory
getScheme
in interface AmetysObjectFactory<OrgUnitPage>
SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()