Class UserPageFactory
- java.lang.Object
-
- org.ametys.plugins.userdirectory.page.UserPageFactory
-
- All Implemented Interfaces:
AmetysObjectFactory<UserPage>,Component,Serviceable
public class UserPageFactory extends Object implements AmetysObjectFactory<UserPage>, Serviceable
AmetysObjectFactoryhandlingUserPage.
-
-
Field Summary
Fields Modifier and Type Field Description private PageDataTypeExtensionPoint_pageDataTypeExtensionPointprivate AmetysObjectResolver_resolverprivate ServiceExtensionPoint_serviceExtensionPointprivate SkinsManager_skinManagerprivate SynchronizableContentsCollectionDAO_synchronizableContentsCollectionDAOprivate UserDirectoryPageHandler_userDirectoryPageHandler
-
Constructor Summary
Constructors Constructor Description UserPageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) SynchronizableContentsCollectionDAO_getSynchronizableContentsCollectionDAO()UserPagegetAmetysObjectById(String id)StringgetScheme()Returns the protocol of this factory, used to construct unique ids.booleanhasAmetysObjectForId(String id)Return true if the specified id correspond to an existingAmetysObject.voidservice(ServiceManager manager)
-
-
-
Field Detail
-
_resolver
private AmetysObjectResolver _resolver
-
_userDirectoryPageHandler
private UserDirectoryPageHandler _userDirectoryPageHandler
-
_synchronizableContentsCollectionDAO
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
-
_skinManager
private SkinsManager _skinManager
-
_serviceExtensionPoint
private ServiceExtensionPoint _serviceExtensionPoint
-
_pageDataTypeExtensionPoint
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
-
-
Constructor Detail
-
UserPageFactory
public UserPageFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
public UserPage getAmetysObjectById(String id) throws AmetysRepositoryException
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<UserPage>- 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:AmetysObjectFactoryReturn true if the specified id correspond to an existingAmetysObject. Id are like<protocol>://<protocol-specific-part>.- Specified by:
hasAmetysObjectForIdin interfaceAmetysObjectFactory<UserPage>- 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:AmetysObjectFactoryReturns the protocol of this factory, used to construct unique ids.- Specified by:
getSchemein interfaceAmetysObjectFactory<UserPage>- Returns:
- the protocol of this factory.
-
_getSynchronizableContentsCollectionDAO
SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()
-
-