public class UserPageFactory extends Object implements AmetysObjectFactory<UserPage>, Serviceable
AmetysObjectFactory handling UserPage.| 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 |
|---|
UserPageFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) SynchronizableContentsCollectionDAO |
_getSynchronizableContentsCollectionDAO() |
UserPage |
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 UserPageFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic UserPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactorygetAmetysObjectById in interface AmetysObjectFactory<UserPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactoryAmetysObject.
Id are like <protocol>://<protocol-specific-part>.hasAmetysObjectForId in interface AmetysObjectFactory<UserPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public String getScheme()
AmetysObjectFactorygetScheme in interface AmetysObjectFactory<UserPage>SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()