Added Methods |
AccessControlManager getAccessControlManager()
|
Returns the access control manager for this Session . |
Node getNode(String )
|
Returns the node at the specified absolute path in the workspace. |
Node getNodeByIdentifier(String )
|
Returns the node specified by the given identifier. |
Property getProperty(String )
|
Returns the property at the specified absolute path in the workspace. |
RetentionManager getRetentionManager()
|
Returns the retention and hold manager for this Session . |
boolean hasCapability(String, Object, Object[])
|
Checks whether an operation can be performed given as much context as can
be determined by the repository, including: - Permissions granted
to the current user, including access control privileges.
|
boolean hasPermission(String, String)
|
Returns true if this Session has permission to
perform the specified actions at the specified absPath and
false otherwise. |
boolean nodeExists(String )
|
Returns true if a node exists at absPath and
this Session has read access to it; otherwise returns
false . |
boolean propertyExists(String )
|
Returns true if a property exists at absPath
and this Session has read access to it; otherwise returns
false . |
void removeItem(String )
|
Removes the specified item and its subgraph. |
Changed Methods |
void addLockToken(String )
|
Now deprecated.
|
As of JCR 2.0, {@link LockManager#addLockToken(String)} should be used instead. |
String[] getLockTokens()
|
Now deprecated.
|
As of JCR 2.0, {@link LockManager#getLockTokens()} should be used instead. |
Node getNodeByUUID(String )
|
Now deprecated.
|
As of JCR 2.0, {@link #getNodeByIdentifier(String)} should be used instead. |
void removeLockToken(String )
|
Now deprecated.
|
As of JCR 2.0, {@link LockManager#removeLockToken(String)} should be used instead. |
void save()
|
Change in exceptions:
javax.jcr.ReferentialIntegrityException was added.
|
Validates all pending changes currently recorded in this
Session . |