public class JCRProjectMemberFactory extends DefaultAmetysObjectFactory
AmetysObjectFactory
for handling JCRProjectMember
s.Modifier and Type | Field and Description |
---|---|
private ProjectDataTypeExtensionPoint |
_projectDataTypeExtensionPoint |
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme
Constructor and Description |
---|
JCRProjectMemberFactory() |
Modifier and Type | Method and Description |
---|---|
JCRProjectMember |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
(package private) ProjectDataTypeExtensionPoint |
getProjectDataTypeExtensionPoint() |
void |
service(ServiceManager smanager) |
getCurrentUser, getWorkspaceNode
configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForId
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private ProjectDataTypeExtensionPoint _projectDataTypeExtensionPoint
public JCRProjectMemberFactory()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class DefaultAmetysObjectFactory
ServiceException
public JCRProjectMember getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactory
AmetysObject
from a persistent JCR node.getAmetysObject
in interface JCRAmetysObjectFactory<SimpleAmetysObject>
getAmetysObject
in class DefaultAmetysObjectFactory
node
- the JCR node to use.parentPath
- the parent Path in the Ametys hierarchy,
may be null
if not known yet.AmetysRepositoryException
- if an error occurs.ProjectDataTypeExtensionPoint getProjectDataTypeExtensionPoint()