Class OrgUnitPageFactory
- java.lang.Object
-
- org.ametys.plugins.userdirectory.page.OrgUnitPageFactory
-
- All Implemented Interfaces:
AmetysObjectFactory<OrgUnitPage>
,Component
,Serviceable
public class OrgUnitPageFactory extends Object implements AmetysObjectFactory<OrgUnitPage>, Serviceable
AmetysObjectFactory
handlingOrgUnitPage
.
-
-
Field Summary
Fields Modifier and Type Field Description private OrganisationChartPageHandler
_organisationChartPageHandler
private PageDataTypeExtensionPoint
_pageDataTypeExtensionPoint
private AmetysObjectResolver
_resolver
private SkinsManager
_skinManager
private SynchronizableContentsCollectionDAO
_synchronizableContentsCollectionDAO
-
Constructor Summary
Constructors Constructor Description OrgUnitPageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 existingAmetysObject
.void
service(ServiceManager manager)
-
-
-
Field Detail
-
_resolver
private AmetysObjectResolver _resolver
-
_organisationChartPageHandler
private OrganisationChartPageHandler _organisationChartPageHandler
-
_synchronizableContentsCollectionDAO
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
-
_skinManager
private SkinsManager _skinManager
-
_pageDataTypeExtensionPoint
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
-
-
Constructor Detail
-
OrgUnitPageFactory
public OrgUnitPageFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getAmetysObjectById
public OrgUnitPage getAmetysObjectById(String id) throws AmetysRepositoryException
Description copied from interface:AmetysObjectFactory
- Specified by:
getAmetysObjectById
in interfaceAmetysObjectFactory<OrgUnitPage>
- Parameters:
id
- the identifier.- Returns:
- the corresponding
AmetysObject
. - Throws:
AmetysRepositoryException
- if an error occurs.
-
hasAmetysObjectForId
public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
Description copied from interface:AmetysObjectFactory
Return true if the specified id correspond to an existingAmetysObject
. Id are like<protocol>://<protocol-specific-part>
.- Specified by:
hasAmetysObjectForId
in interfaceAmetysObjectFactory<OrgUnitPage>
- Parameters:
id
- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject
. - Throws:
AmetysRepositoryException
- if an error occurs.
-
getScheme
public String getScheme()
Description copied from interface:AmetysObjectFactory
Returns the protocol of this factory, used to construct unique ids.- Specified by:
getScheme
in interfaceAmetysObjectFactory<OrgUnitPage>
- Returns:
- the protocol of this factory.
-
_getSynchronizableContentsCollectionDAO
SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()
-
-