public interface ExtendedNode
extends javax.jcr.Node
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(String actions)
Checks if there are permission to perform some actions.
|
void |
clearACL()
Clears Access Control List.
|
AccessControlList |
getACL() |
String |
getIdentifier()
Get unique node identifier.
|
long |
getNodesCount()
Returns the number of children nodes.
|
javax.jcr.NodeIterator |
getNodesLazily()
Returns a
NodeIterator over all child Nodes of
this Node. |
javax.jcr.NodeIterator |
getNodesLazily(int pageSize)
Returns a
NodeIterator over all child Nodes of
this Node. |
boolean |
isNodeType(InternalQName qName) |
javax.jcr.lock.Lock |
lock(boolean isDeep,
long timeOut)
Places a lock on this node.
|
void |
removePermission(String identity)
Removes permissions for particular identity.
|
void |
removePermission(String identity,
String permission)
Removes specified permission for particular identity.
|
void |
setPermission(String identity,
String[] permission)
Sets permissions for particular identity.
|
void |
setPermissions(Map<String,String[]> permissions)
Sets permission.
|
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, updatevoid setPermissions(Map<String,String[]> permissions) throws javax.jcr.RepositoryException, AccessControlException
permissions - javax.jcr.RepositoryExceptionAccessControlExceptionAccessControlList getACL() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionString getIdentifier() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if any repository errors occursvoid clearACL()
throws javax.jcr.RepositoryException,
AccessControlException
javax.jcr.RepositoryExceptionAccessControlExceptionvoid removePermission(String identity) throws javax.jcr.RepositoryException, AccessControlException
identity - javax.jcr.RepositoryExceptionAccessControlExceptionvoid removePermission(String identity, String permission) throws javax.jcr.RepositoryException, AccessControlException
identity - javax.jcr.RepositoryExceptionAccessControlExceptionvoid setPermission(String identity, String[] permission) throws javax.jcr.RepositoryException, AccessControlException
identity - permission - javax.jcr.RepositoryExceptionAccessControlExceptionvoid checkPermission(String actions) throws AccessControlException, javax.jcr.RepositoryException
actions - AccessControlException - if no such permissions foundjavax.jcr.RepositoryExceptionboolean isNodeType(InternalQName qName) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionjavax.jcr.lock.Lock lock(boolean isDeep,
long timeOut)
throws javax.jcr.UnsupportedRepositoryOperationException,
javax.jcr.lock.LockException,
javax.jcr.AccessDeniedException,
javax.jcr.InvalidItemStateException,
javax.jcr.RepositoryException
javax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.AccessDeniedExceptionjavax.jcr.InvalidItemStateExceptionjavax.jcr.RepositoryExceptionlong getNodesCount()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.javax.jcr.NodeIterator getNodesLazily()
throws javax.jcr.RepositoryException
NodeIterator over all child Nodes of
this Node. Does not include properties of this
Node. If this node has no child nodes, then an empty iterator is returned.NodeIterator over all child Nodes of
this Node.javax.jcr.RepositoryException - If an error occurs.javax.jcr.NodeIterator getNodesLazily(int pageSize)
throws javax.jcr.RepositoryException
NodeIterator over all child Nodes of
this Node. Does not include properties of this
Node. If this node has no child nodes, then an empty iterator is returned.pageSize - the amount of the nodes which can be retrieved from the storage per requestNodeIterator over all child Nodes of
this Node.javax.jcr.RepositoryException - If an error occurs.Copyright © 2003-2018 eXo Platform SAS. All Rights Reserved.