public class UserPageFactory extends Object implements AmetysObjectFactory<UserPage>, Serviceable
AmetysObjectFactory
handling UserPage
.Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
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
public UserPageFactory()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public UserPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactory
getAmetysObjectById
in interface AmetysObjectFactory<UserPage>
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<UserPage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public String getScheme()
AmetysObjectFactory
getScheme
in interface AmetysObjectFactory<UserPage>
SynchronizableContentsCollectionDAO _getSynchronizableContentsCollectionDAO()