public class TransitionalPageFactory extends Object implements AmetysObjectFactory<TransitionalPage>, Serviceable
AmetysObjectFactory
handling TransitionalPage
.Modifier and Type | Field and Description |
---|---|
private PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
private AmetysObjectResolver |
_resolver |
private ServiceExtensionPoint |
_serviceExtensionPoint |
private SkinsManager |
_skinManager |
private SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO |
private UserDirectoryPageHandler |
_userDirectoryPageHandler |
Constructor and Description |
---|
TransitionalPageFactory() |
Modifier and Type | Method and 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 existing
AmetysObject . |
void |
service(ServiceManager manager) |
private AmetysObjectResolver _resolver
private UserDirectoryPageHandler _userDirectoryPageHandler
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
private SkinsManager _skinManager
private ServiceExtensionPoint _serviceExtensionPoint
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
public TransitionalPageFactory()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public TransitionalPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactory
getAmetysObjectById
in interface AmetysObjectFactory<TransitionalPage>
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<TransitionalPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public String getScheme()
AmetysObjectFactory
getScheme
in interface AmetysObjectFactory<TransitionalPage>