Package org.ametys.plugins.ugc.page
Class UGCTransitionalPageFactory
java.lang.Object
org.ametys.plugins.ugc.page.UGCTransitionalPageFactory
- All Implemented Interfaces:
AmetysObjectFactory<UGCTransitionalPage>
,Component
,Serviceable
public class UGCTransitionalPageFactory
extends Object
implements AmetysObjectFactory<UGCTransitionalPage>, Serviceable
AmetysObjectFactory
handling UGCTransitionalPage
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the protocol of this factory, used to construct unique ids.boolean
Return true if the specified id correspond to an existingAmetysObject
.void
service
(ServiceManager manager)
-
Constructor Details
-
UGCTransitionalPageFactory
public UGCTransitionalPageFactory()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory
- Specified by:
getAmetysObjectById
in interfaceAmetysObjectFactory<UGCTransitionalPage>
- Parameters:
id
- the identifier.- Returns:
- the corresponding
AmetysObject
. - Throws:
AmetysRepositoryException
- if an error occurs.
-
hasAmetysObjectForId
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<UGCTransitionalPage>
- 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:AmetysObjectFactory
Returns the protocol of this factory, used to construct unique ids.- Specified by:
getScheme
in interfaceAmetysObjectFactory<UGCTransitionalPage>
- Returns:
- the protocol of this factory.
-