public class DefaultLockableAmetysObjectFactory extends DefaultAmetysObjectFactory
Modifier and Type | Field and Description |
---|---|
private LockComponent |
_lockComponent |
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme
Constructor and Description |
---|
DefaultLockableAmetysObjectFactory() |
Modifier and Type | Method and Description |
---|---|
DefaultLockableAmetysObject |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
(package private) LockComponent |
getLockComponent() |
getCurrentUser, getWorkspaceNode, service
_getResolver, configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForId
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private LockComponent _lockComponent
public DefaultLockableAmetysObjectFactory()
public DefaultLockableAmetysObject getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException, RepositoryException
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.RepositoryException
- if a JCR error occurs.LockComponent getLockComponent()