Generated by
JDiff

Interface javax.jcr.Node

Removed Methods
void restore(String, boolean) Restores this node to the state defined by the version with the specified versionName.
 

Added Methods
void followLifecycleTransition(String) Causes the lifecycle state of this node to undergo the specified transition.
String[] getAllowedLifecycleTransistions() Returns the list of valid state transitions for this node.
String getIdentifier() Returns the identifier of this node.
NodeIterator getNodes(String[]) Gets all child nodes of this node accessible through the current Session that match one or more of the nameGlob strings in the passed array.
PropertyIterator getProperties(String[]) Gets all properties of this node accessible through the current Session that match one or more of the nameGlob strings in the passed array.
PropertyIterator getReferences(String) This method returns all REFERENCE properties that refer to this node, have the specified name and that are accessible through the current Session.
NodeIterator getSharedSet() Returns an iterator over all nodes that are in the shared set of this node.
PropertyIterator getWeakReferences() This method returns all WEAKREFERENCE properties that refer to this node and that are accessible through the current Session.
PropertyIterator getWeakReferences(String) This method returns all WEAKREFERENCE properties that refer to this node, have the specified name and that are accessible through the current Session.
void removeShare() Removes this node, but does not remove any other node in the shared set of this node.
void removeSharedSet() Removes this node and every other node in the shared set of this node.
void restore(String, boolean) Restores this node to the state defined by the version with the specified versionName.
void setPrimaryType(String) Changes the primary node type of this node to nodeTypeName.
Property setProperty(String, BigDecimal) The behavior of this method is identical to that of .setProperty(String name, Value value) except that the value is specified as a BigDecimal and, if possible, the type assigned to the property is DECIMAL, otherwise a best-effort conversion is attempted.
Property setProperty(String, Binary) The behavior of this method is identical to that of .setProperty(String name, Value value) except that the value is specified as a Binary and, if possible, the type assigned to the property is BINARY, otherwise a best-effort conversion is attempted.
 

Changed Methods
void cancelMerge(Version) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#cancelMerge} should be used instead.
Version checkin() Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#checkin} should be used instead.
void checkout() Change in exceptions: javax.jcr.version.ActivityViolationException was added.
Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#checkout} should be used instead.
void doneMerge(Version) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#doneMerge} should be used instead.
Version getBaseVersion() Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#getBaseVersion} should be used instead.
Lock getLock() Now deprecated.
As of JCR 2.0, {@link LockManager#getLock(String)} should be used instead.
String getUUID() Now deprecated.
As of JCR 2.0, {@link #getIdentifier()} should be used instead.
VersionHistory getVersionHistory() Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#getVersionHistory} should be used instead.
boolean holdsLock() Now deprecated.
As of JCR 2.0, {@link LockManager#holdsLock(String)} should be used instead.
Lock lock(boolean, boolean) Now deprecated.
As of JCR 2.0, {@link LockManager#lock(String, boolean, boolean, long, String)} should be used instead.
NodeIterator merge(String, boolean) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#merge} should be used instead.
void restoreByLabel(String, boolean) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#restoreByLabel} should be used instead.
void unlock() Now deprecated.
As of JCR 2.0, {@link LockManager#unlock(String)} should be used instead.
void restore(Version, String, boolean) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#restore} should be used instead.
void restore(Version, boolean) Change in exceptions: javax.jcr.InvalidItemStateException was added.
Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#restore} should be used instead.
Property setProperty(String, InputStream) Now deprecated.
As of JCR 2.0, {@link #setProperty(String, Binary)} should be used instead.
 

Added Fields
String JCR_CHILD_NODE_DEFINITION A constant for the node name jcr:childNodeDefinition declared in nt:nodeType.
String JCR_CONTENT A constant for the JCR name jcr:content.
String JCR_FROZEN_NODE A constant for the node name jcr:frozenNode declared in nt:version.
String JCR_PROPERTY_DEFINITION A constant for the node name jcr:propertyDefinition declared in nt:nodeType.
String JCR_ROOT_VERSION A constant for the node name jcr:rootVersion declared in nt:versionHistory.
String JCR_VERSION_LABELS A constant for the node name jcr:versionLabels declared in nt:versionHistory.