Class TransitionalPageFactory
- java.lang.Object
-
- org.ametys.plugins.userdirectory.page.TransitionalPageFactory
-
- All Implemented Interfaces:
AmetysObjectFactory<TransitionalPage>
,Component
,Serviceable
public class TransitionalPageFactory extends Object implements AmetysObjectFactory<TransitionalPage>, Serviceable
AmetysObjectFactory
handlingTransitionalPage
.
-
-
Constructor Summary
Constructors Constructor Description TransitionalPageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionalPage
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)
-
-
-
Constructor Detail
-
TransitionalPageFactory
public TransitionalPageFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getAmetysObjectById
public TransitionalPage getAmetysObjectById(String id) throws AmetysRepositoryException
Description copied from interface:AmetysObjectFactory
- Specified by:
getAmetysObjectById
in interfaceAmetysObjectFactory<TransitionalPage>
- 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<TransitionalPage>
- 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<TransitionalPage>
- Returns:
- the protocol of this factory.
-
-