public class ModifiableDefaultWebContentFactory extends DefaultWebContentFactory
AmetysObjectFactory
handling ModifiableWebContent
.Modifier and Type | Field and Description |
---|---|
private LockComponent |
_lockComponent |
private ModifiableContentHelper |
_modifiableContentHelper |
private SharedContentManager |
_sharedContentManager |
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme
Constructor and Description |
---|
ModifiableDefaultWebContentFactory() |
Modifier and Type | Method and Description |
---|---|
ModifiableDefaultWebContent |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
(package private) LockComponent |
getLockComponent() |
(package private) ModifiableContentHelper |
getModifiableContentHelper() |
(package private) SharedContentManager |
getSharedContentManager() |
createChild, getChild, getChildren, getSite, hasChild, resolveAmetysObject, service
createChild, getChild, getChildren, hasChild
getCurrentUser, getWorkspaceNode
configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForId
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private LockComponent _lockComponent
private SharedContentManager _sharedContentManager
private ModifiableContentHelper _modifiableContentHelper
public ModifiableDefaultWebContentFactory()
public ModifiableDefaultWebContent getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactory
AmetysObject
from a persistent JCR node.getAmetysObject
in interface JCRAmetysObjectFactory<SimpleAmetysObject>
getAmetysObject
in class DefaultWebContentFactory
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.LockComponent getLockComponent()
SharedContentManager getSharedContentManager()
ModifiableContentHelper getModifiableContentHelper()