public class NodeImpl extends ItemImpl implements javax.jcr.Node
NodeImpl
...Modifier | Constructor and Description |
---|---|
protected |
NodeImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners) |
Modifier and Type | Method and Description |
---|---|
void |
accept(javax.jcr.ItemVisitor visitor)
Implementation of
Item.accept(javax.jcr.ItemVisitor) for nodes. |
void |
addMixin(String mixinName) |
javax.jcr.Node |
addNode(String relPath) |
javax.jcr.Node |
addNode(String relPath,
String primaryNodeTypeName) |
boolean |
canAddMixin(String mixinName) |
void |
cancelMerge(javax.jcr.version.Version version) |
javax.jcr.version.Version |
checkin() |
void |
checkout() |
void |
doneMerge(javax.jcr.version.Version version) |
void |
followLifecycleTransition(String transition) |
String[] |
getAllowedLifecycleTransistions() |
javax.jcr.version.Version |
getBaseVersion() |
String |
getCorrespondingNodePath(String workspaceName) |
javax.jcr.nodetype.NodeDefinition |
getDefinition() |
String |
getIdentifier() |
int |
getIndex() |
javax.jcr.lock.Lock |
getLock() |
javax.jcr.nodetype.NodeType[] |
getMixinNodeTypes() |
String |
getName() |
protected javax.jcr.Node |
getNode(Name nodeName,
int index) |
javax.jcr.Node |
getNode(String relPath) |
javax.jcr.NodeIterator |
getNodes() |
javax.jcr.NodeIterator |
getNodes(String namePattern) |
javax.jcr.NodeIterator |
getNodes(String[] nameGlobs) |
javax.jcr.Item |
getPrimaryItem() |
javax.jcr.nodetype.NodeType |
getPrimaryNodeType() |
javax.jcr.PropertyIterator |
getProperties() |
javax.jcr.PropertyIterator |
getProperties(String namePattern) |
javax.jcr.PropertyIterator |
getProperties(String[] nameGlobs) |
protected javax.jcr.Property |
getProperty(Name qName) |
javax.jcr.Property |
getProperty(String relPath) |
javax.jcr.PropertyIterator |
getReferences() |
javax.jcr.PropertyIterator |
getReferences(String name) |
javax.jcr.NodeIterator |
getSharedSet() |
String |
getUUID() |
javax.jcr.version.VersionHistory |
getVersionHistory() |
javax.jcr.PropertyIterator |
getWeakReferences() |
javax.jcr.PropertyIterator |
getWeakReferences(String name) |
boolean |
hasNode(String relPath) |
boolean |
hasNodes() |
boolean |
hasProperties() |
boolean |
hasProperty(String relPath) |
boolean |
holdsLock() |
boolean |
isCheckedOut() |
boolean |
isLocked() |
boolean |
isNode()
Returns true
|
boolean |
isNodeType(String nodeTypeName) |
javax.jcr.lock.Lock |
lock(boolean isDeep,
boolean isSessionScoped) |
javax.jcr.lock.Lock |
lock(boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerHint) |
javax.jcr.NodeIterator |
merge(String srcWorkspace,
boolean bestEffort) |
javax.jcr.NodeIterator |
merge(String srcWorkspace,
boolean bestEffort,
boolean isShallow)
TODO: Issue 728 of the pfd...
|
void |
orderBefore(String srcChildRelPath,
String destChildRelPath) |
void |
removeMixin(String mixinName) |
void |
removeShare() |
void |
removeSharedSet() |
void |
restore(String versionName,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version version,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version version,
String relPath,
boolean removeExisting) |
void |
restoreByLabel(String versionLabel,
boolean removeExisting) |
void |
setPrimaryType(String nodeTypeName) |
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 |
unlock() |
void |
update(String srcWorkspaceName) |
checkIsWritable, checkStatus, getAncestor, getDepth, getItemManager, getItemState, getParent, getPath, getSession, isModified, isNew, isSame, isWritable, refresh, remove, save, statusChanged
protected NodeImpl(SessionImpl session, NodeState state, ItemLifeCycleListener[] listeners)
public String getName() throws javax.jcr.RepositoryException
public void accept(javax.jcr.ItemVisitor visitor) throws javax.jcr.RepositoryException
Item.accept(javax.jcr.ItemVisitor)
for nodes.public boolean isNode()
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
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.addNode(String)
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
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
Node.addNode(String, String)
public void orderBefore(String srcChildRelPath, String destChildRelPath) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.ItemNotFoundException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
orderBefore
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.ItemNotFoundException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.orderBefore(String, String)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, Value)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, javax.jcr.Value, int)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, Value[])
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, Value[], int)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, String[])
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, String[], int)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, String)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, String, int)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, InputStream)
public javax.jcr.Property setProperty(String name, javax.jcr.Binary value) throws javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.setProperty(String, Binary)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, boolean)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, double)
public javax.jcr.Property setProperty(String name, BigDecimal value) throws javax.jcr.RepositoryException
setProperty
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.setProperty(String, BigDecimal)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, long)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, Calendar)
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
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException
Node.setProperty(String, Node)
public javax.jcr.Node getNode(String relPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getNode
in interface javax.jcr.Node
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
Node.getNode(String)
public javax.jcr.NodeIterator getNodes() throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getNodes()
public javax.jcr.NodeIterator getNodes(String namePattern) throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getNodes(String)
public javax.jcr.NodeIterator getNodes(String[] nameGlobs) throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getNodes(String[])
public javax.jcr.Property getProperty(String relPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getProperty
in interface javax.jcr.Node
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
Node.getProperty(String)
public javax.jcr.PropertyIterator getProperties() throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getProperties()
public javax.jcr.PropertyIterator getProperties(String namePattern) throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getProperties(String)
public javax.jcr.PropertyIterator getProperties(String[] nameGlobs) throws javax.jcr.RepositoryException
getProperties
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getProperties(String)
public javax.jcr.Item getPrimaryItem() throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getPrimaryItem
in interface javax.jcr.Node
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
Node.getPrimaryItem()
public String getUUID() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getUUID
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
Node.getUUID()
public String getIdentifier() throws javax.jcr.RepositoryException
getIdentifier
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getIdentifier()
public int getIndex() throws javax.jcr.RepositoryException
getIndex
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getIndex()
public javax.jcr.PropertyIterator getReferences() throws javax.jcr.RepositoryException
getReferences
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getReferences()
public javax.jcr.PropertyIterator getReferences(String name) throws javax.jcr.RepositoryException
getReferences
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getReferences(String)
public javax.jcr.PropertyIterator getWeakReferences() throws javax.jcr.RepositoryException
getWeakReferences
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getWeakReferences()
public javax.jcr.PropertyIterator getWeakReferences(String name) throws javax.jcr.RepositoryException
getWeakReferences
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getWeakReferences()
public boolean hasNode(String relPath) throws javax.jcr.RepositoryException
hasNode
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.hasNode(String)
public boolean hasProperty(String relPath) throws javax.jcr.RepositoryException
hasProperty
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.hasProperty(String)
public boolean hasNodes() throws javax.jcr.RepositoryException
hasNodes
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.hasNodes()
public boolean hasProperties() throws javax.jcr.RepositoryException
hasProperties
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.hasProperties()
public javax.jcr.nodetype.NodeType getPrimaryNodeType() throws javax.jcr.RepositoryException
getPrimaryNodeType
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getPrimaryNodeType()
public void setPrimaryType(String nodeTypeName) throws javax.jcr.RepositoryException
setPrimaryType
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.setPrimaryType(String)
public javax.jcr.nodetype.NodeType[] getMixinNodeTypes() throws javax.jcr.RepositoryException
getMixinNodeTypes
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getMixinNodeTypes()
public boolean isNodeType(String nodeTypeName) throws javax.jcr.RepositoryException
isNodeType
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.isNodeType(String)
public void addMixin(String mixinName) throws javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
addMixin
in interface javax.jcr.Node
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.addMixin(String)
public void removeMixin(String mixinName) throws javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
removeMixin
in interface javax.jcr.Node
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.removeMixin(String)
public boolean canAddMixin(String mixinName) throws javax.jcr.RepositoryException
canAddMixin
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.canAddMixin(String)
public javax.jcr.nodetype.NodeDefinition getDefinition() throws javax.jcr.RepositoryException
getDefinition
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getDefinition()
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
javax.jcr.version.VersionException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.InvalidItemStateException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.checkin()
public void checkout() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
checkout
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.checkout()
public void doneMerge(javax.jcr.version.Version version) throws javax.jcr.version.VersionException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
doneMerge
in interface javax.jcr.Node
javax.jcr.version.VersionException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
Node.doneMerge(Version)
public void cancelMerge(javax.jcr.version.Version version) throws javax.jcr.version.VersionException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
cancelMerge
in interface javax.jcr.Node
javax.jcr.version.VersionException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
Node.cancelMerge(Version)
public void update(String srcWorkspaceName) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.AccessDeniedException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
update
in interface javax.jcr.Node
javax.jcr.NoSuchWorkspaceException
javax.jcr.AccessDeniedException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.update(String)
public javax.jcr.NodeIterator merge(String srcWorkspace, boolean bestEffort) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.AccessDeniedException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
merge
in interface javax.jcr.Node
javax.jcr.NoSuchWorkspaceException
javax.jcr.AccessDeniedException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.merge(String, boolean)
public javax.jcr.NodeIterator merge(String srcWorkspace, boolean bestEffort, boolean isShallow) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String getCorrespondingNodePath(String workspaceName) throws javax.jcr.ItemNotFoundException, javax.jcr.NoSuchWorkspaceException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getCorrespondingNodePath
in interface javax.jcr.Node
javax.jcr.ItemNotFoundException
javax.jcr.NoSuchWorkspaceException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
Node.getCorrespondingNodePath(String)
public boolean isCheckedOut() throws javax.jcr.RepositoryException
isCheckedOut
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.isCheckedOut()
public void restore(String versionName, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.restore(String, boolean)
public void restore(javax.jcr.version.Version version, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
Node.restore(Version, boolean)
public void restore(javax.jcr.version.Version version, String relPath, boolean removeExisting) throws javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.restore(Version, String, boolean)
public void restoreByLabel(String versionLabel, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restoreByLabel
in interface javax.jcr.Node
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.restoreByLabel(String, boolean)
public javax.jcr.version.VersionHistory getVersionHistory() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getVersionHistory
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
Node.getVersionHistory()
public javax.jcr.version.Version getBaseVersion() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getBaseVersion
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
Node.getBaseVersion()
public javax.jcr.lock.Lock lock(boolean isDeep, boolean isSessionScoped) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
lock
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.lock(boolean, boolean)
public javax.jcr.lock.Lock lock(boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public javax.jcr.lock.Lock getLock() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getLock
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
Node.getLock()
public void unlock() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
unlock
in interface javax.jcr.Node
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
Node.unlock()
public boolean holdsLock() throws javax.jcr.RepositoryException
holdsLock
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.holdsLock()
public boolean isLocked() throws javax.jcr.RepositoryException
isLocked
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.isLocked()
public void followLifecycleTransition(String transition) throws javax.jcr.RepositoryException
followLifecycleTransition
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.followLifecycleTransition(String)
public String[] getAllowedLifecycleTransistions() throws javax.jcr.RepositoryException
getAllowedLifecycleTransistions
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getAllowedLifecycleTransistions()
public javax.jcr.NodeIterator getSharedSet() throws javax.jcr.RepositoryException
getSharedSet
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.getSharedSet()
public void removeShare() throws javax.jcr.RepositoryException
removeShare
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.removeShare()
public void removeSharedSet() throws javax.jcr.RepositoryException
removeSharedSet
in interface javax.jcr.Node
javax.jcr.RepositoryException
Node.removeSharedSet()
protected javax.jcr.Node getNode(Name nodeName, int index) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
nodeName
- index
- javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
protected javax.jcr.Property getProperty(Name qName) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
qName
- javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.