public class UGCTransitionalPageFactory extends Object implements AmetysObjectFactory<UGCTransitionalPage>, Serviceable
AmetysObjectFactory
handling UGCTransitionalPage
.Modifier and Type | Field and Description |
---|---|
private PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
private AmetysObjectResolver |
_resolver |
private ServiceExtensionPoint |
_serviceExtensionPoint |
private SkinsManager |
_skinManager |
private UGCPageHandler |
_ugcPageHandler |
Constructor and Description |
---|
UGCTransitionalPageFactory() |
Modifier and Type | Method and Description |
---|---|
UGCTransitionalPage |
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 existing
AmetysObject . |
void |
service(ServiceManager manager) |
private AmetysObjectResolver _resolver
private UGCPageHandler _ugcPageHandler
private SkinsManager _skinManager
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
private ServiceExtensionPoint _serviceExtensionPoint
public UGCTransitionalPageFactory()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public UGCTransitionalPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactory
getAmetysObjectById
in interface AmetysObjectFactory<UGCTransitionalPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactory
AmetysObject
.
Id are like <protocol>://<protocol-specific-part>
.hasAmetysObjectForId
in interface AmetysObjectFactory<UGCTransitionalPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public String getScheme()
AmetysObjectFactory
getScheme
in interface AmetysObjectFactory<UGCTransitionalPage>