D
- implementation of decorator.public class ContentDecoratorNodeWrapper<D extends ContentDecorator> extends DelegateNodeWrapper
ContentDecorator
.wrapped
Constructor and Description |
---|
ContentDecoratorNodeWrapper(javax.jcr.Node node,
D contentDecorator) |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
addNode(String relPath) |
javax.jcr.Node |
addNode(String relPath,
String primaryNodeTypeName) |
javax.jcr.version.Version |
checkin() |
boolean |
equals(Object obj) |
javax.jcr.Item |
getAncestor(int depth) |
javax.jcr.version.Version |
getBaseVersion() |
D |
getContentDecorator() |
javax.jcr.Node |
getNode(String relPath) |
javax.jcr.NodeIterator |
getNodes() |
javax.jcr.NodeIterator |
getNodes(String namePattern) |
javax.jcr.NodeIterator |
getNodes(String[] nameGlobs) |
javax.jcr.Node |
getParent() |
javax.jcr.PropertyIterator |
getProperties() |
javax.jcr.PropertyIterator |
getProperties(String namePattern) |
javax.jcr.PropertyIterator |
getProperties(String[] nameGlobs) |
javax.jcr.Property |
getProperty(String relPath) |
javax.jcr.PropertyIterator |
getReferences() |
javax.jcr.PropertyIterator |
getReferences(String name) |
javax.jcr.Session |
getSession() |
javax.jcr.version.VersionHistory |
getVersionHistory() |
javax.jcr.PropertyIterator |
getWeakReferences() |
javax.jcr.PropertyIterator |
getWeakReferences(String name) |
int |
hashCode() |
boolean |
hasNode(String relPath) |
boolean |
hasNodes() |
protected boolean |
isWrapping(javax.jcr.Node node)
Recursively checks if node is decorated by this class.
|
javax.jcr.Property |
setProperty(String name,
BigDecimal value) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Binary value) |
javax.jcr.Property |
setProperty(String name,
boolean value) |
javax.jcr.Property |
setProperty(String name,
Calendar value) |
javax.jcr.Property |
setProperty(String name,
double value) |
javax.jcr.Property |
setProperty(String name,
InputStream value) |
javax.jcr.Property |
setProperty(String name,
long value) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Node value) |
javax.jcr.Property |
setProperty(String name,
String value) |
javax.jcr.Property |
setProperty(String name,
String[] values) |
javax.jcr.Property |
setProperty(String name,
String[] values,
int type) |
javax.jcr.Property |
setProperty(String name,
String value,
int type) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Value value) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Value[] values) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Value[] values,
int type) |
javax.jcr.Property |
setProperty(String name,
javax.jcr.Value value,
int type) |
void |
setWrappedNode(javax.jcr.Node node) |
protected javax.jcr.Node |
wrapNode(javax.jcr.Node node) |
protected javax.jcr.NodeIterator |
wrapNodeIterator(javax.jcr.NodeIterator nodeIterator) |
protected javax.jcr.Property |
wrapProperty(javax.jcr.Property property) |
protected javax.jcr.PropertyIterator |
wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator) |
protected javax.jcr.Session |
wrapSession(javax.jcr.Session session) |
protected javax.jcr.version.Version |
wrapVersion(javax.jcr.version.Version version) |
protected javax.jcr.version.VersionHistory |
wrapVersionHistory(javax.jcr.version.VersionHistory versionHistory) |
protected javax.jcr.version.VersionIterator |
wrapVersionIterator(javax.jcr.version.VersionIterator versionIterator) |
accept, addMixin, canAddMixin, cancelMerge, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getPath, getPrimaryItem, getPrimaryNodeType, getSharedSet, getUUID, getWrappedNode, hasProperties, hasProperty, holdsLock, initClone, isCheckedOut, isLocked, isModified, isNew, isNode, isNodeType, isSame, lock, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, save, setPrimaryType, toString, unlock, update
public ContentDecoratorNodeWrapper(javax.jcr.Node node, D contentDecorator)
public void setWrappedNode(javax.jcr.Node node)
setWrappedNode
in class DelegateNodeWrapper
protected boolean isWrapping(javax.jcr.Node node)
isWrapping
in class DelegateNodeWrapper
public D getContentDecorator()
public javax.jcr.Session getSession() throws javax.jcr.RepositoryException
getSession
in interface javax.jcr.Item
getSession
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.Item getAncestor(int depth) throws javax.jcr.ItemNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getAncestor
in interface javax.jcr.Item
getAncestor
in class DelegateNodeWrapper
javax.jcr.ItemNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.Node getParent() throws javax.jcr.ItemNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getParent
in interface javax.jcr.Item
getParent
in class DelegateNodeWrapper
javax.jcr.ItemNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.Node addNode(String relPath) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
addNode
in interface javax.jcr.Node
addNode
in class DelegateNodeWrapper
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public javax.jcr.Node addNode(String relPath, String primaryNodeTypeName) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
addNode
in interface javax.jcr.Node
addNode
in class DelegateNodeWrapper
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.version.Version checkin() throws javax.jcr.version.VersionException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.InvalidItemStateException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
checkin
in interface javax.jcr.Node
checkin
in class DelegateNodeWrapper
javax.jcr.version.VersionException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.InvalidItemStateException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public javax.jcr.version.VersionHistory getVersionHistory() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getVersionHistory
in interface javax.jcr.Node
getVersionHistory
in class DelegateNodeWrapper
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.version.Version getBaseVersion() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getBaseVersion
in interface javax.jcr.Node
getBaseVersion
in class DelegateNodeWrapper
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.Node getNode(String relPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getNode
in interface javax.jcr.Node
getNode
in class DelegateNodeWrapper
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getNodes() throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
getNodes
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getNodes(String namePattern) throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
getNodes
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getNodes(String[] nameGlobs) throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
getNodes
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public boolean hasNode(String relPath) throws javax.jcr.RepositoryException
hasNode
in interface javax.jcr.Node
hasNode
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public boolean hasNodes() throws javax.jcr.RepositoryException
hasNodes
in interface javax.jcr.Node
hasNodes
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getProperties() throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
getProperties
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getProperties(String namePattern) throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
getProperties
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getProperties(String[] nameGlobs) throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
getProperties
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getWeakReferences() throws javax.jcr.RepositoryException
getWeakReferences
in interface javax.jcr.Node
getWeakReferences
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.Property getProperty(String relPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getProperty
in interface javax.jcr.Node
getProperty
in class DelegateNodeWrapper
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getReferences(String name) throws javax.jcr.RepositoryException
getReferences
in interface javax.jcr.Node
getReferences
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getWeakReferences(String name) throws javax.jcr.RepositoryException
getWeakReferences
in interface javax.jcr.Node
getWeakReferences
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.PropertyIterator getReferences() throws javax.jcr.RepositoryException
getReferences
in interface javax.jcr.Node
getReferences
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, BigDecimal value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Binary value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, boolean value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, Calendar value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, double value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, InputStream value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, long value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Node value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, String value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, String value, int type) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, String[] values) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, String[] values, int type) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Value value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Value value, int type) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Value[] values) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
public javax.jcr.Property setProperty(String name, javax.jcr.Value[] values, int type) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
setProperty
in class DelegateNodeWrapper
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
protected javax.jcr.Session wrapSession(javax.jcr.Session session)
protected javax.jcr.Node wrapNode(javax.jcr.Node node)
protected javax.jcr.NodeIterator wrapNodeIterator(javax.jcr.NodeIterator nodeIterator)
protected javax.jcr.Property wrapProperty(javax.jcr.Property property)
protected javax.jcr.PropertyIterator wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator)
protected javax.jcr.version.Version wrapVersion(javax.jcr.version.Version version)
protected javax.jcr.version.VersionIterator wrapVersionIterator(javax.jcr.version.VersionIterator versionIterator)
protected javax.jcr.version.VersionHistory wrapVersionHistory(javax.jcr.version.VersionHistory versionHistory)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.