Class TransitionalPageFactory
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.TransitionalPageFactory
- All Implemented Interfaces:
AmetysObjectFactory<TransitionalPage>,DeferredServiceable,LogEnabled,Component,Configurable,Contextualizable
public class TransitionalPageFactory
extends AbstractUserDirectoryPageFactory
implements AmetysObjectFactory<TransitionalPage>
AmetysObjectFactory handling TransitionalPage.-
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 TypeMethodDescriptioncreateTransitionalPage(Page root, String prefix, String path) Create a transitional page.Returns 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
deferredService, 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
-
TransitionalPageFactory
public TransitionalPageFactory()
-
-
Method Details
-
createTransitionalPage
Create a transitional page.- Parameters:
root- the user directory root page.prefix- the page's title.path- the path- Returns:
- The TransitionalPage created
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<TransitionalPage>- 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<TransitionalPage>- 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<TransitionalPage>- Returns:
- the protocol of this factory.
-