Class UserPageFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
org.ametys.plugins.userdirectory.page.AbstractUserDirectoryPageFactory
org.ametys.plugins.userdirectory.page.UserPageFactory
- All Implemented Interfaces:
AmetysObjectFactory<UserPage>,DeferredServiceable,LogEnabled,Component,Configurable,Contextualizable
public class UserPageFactory
extends AbstractUserDirectoryPageFactory
implements AmetysObjectFactory<UserPage>
AmetysObjectFactory handling UserPage.-
Field Summary
Fields inherited from class org.ametys.plugins.userdirectory.page.AbstractUserDirectoryPageFactory
_synchronizableContentsCollectionDAO, _userDirectoryPageHandlerFields inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
_ametysObjectFactoryEP, _configurationId, _context, _manager, _pageDataTypeExtensionPoint, _resolver, _skinsManager, _virtualPageConfigurationEP, _zoneFactoryId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUserPage(Page root, Content syncContent, String path) Create a User page.voiddeferredService(ServiceManager manager) Pass theServiceManagerused to access other components.Get the synchronizable contents collection helperReturns the protocol of this factory, used to construct unique ids.booleanReturn true if the specified id correspond to an existingAmetysObject.Methods inherited from class org.ametys.plugins.userdirectory.page.AbstractUserDirectoryPageFactory
getOrgUnitPageFactory, getSynchronizableContentsCollectionDAO, getTransitionalPageFactory, getUserDirectoryPageHandler, getUserPageFactoryMethods inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
configure, contextualize, getConfiguration, getPageDataTypeEP, getRequest, getResolver, getSkinsManager, getZoneFactoryMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
UserPageFactory
public UserPageFactory()
-
-
Method Details
-
deferredService
Description copied from interface:DeferredServiceablePass theServiceManagerused to access other components.- Specified by:
deferredServicein interfaceDeferredServiceable- Overrides:
deferredServicein classAbstractUserDirectoryPageFactory- Parameters:
manager- TheServiceManagerwhich thisDeferredServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-
createUserPage
Create a User page.- Parameters:
root- the root page.syncContent- the synchronized contentpath- the path- Returns:
- The
UserPagercreated
-
getAmetysObjectById
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
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
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.
-
getSccHelper
Get the synchronizable contents collection helper- Returns:
- The
SynchronizableContentsCollectionHelper
-