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 Node s of
this Node . |
javax.jcr.NodeIterator |
getNodesLazily(int pageSize)
Returns a
NodeIterator over all child Node s 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, update
void setPermissions(Map<String,String[]> permissions) throws javax.jcr.RepositoryException, AccessControlException
permissions
- javax.jcr.RepositoryException
AccessControlException
AccessControlList getACL() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
String getIdentifier() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
- if any repository errors occursvoid clearACL() throws javax.jcr.RepositoryException, AccessControlException
javax.jcr.RepositoryException
AccessControlException
void removePermission(String identity) throws javax.jcr.RepositoryException, AccessControlException
identity
- javax.jcr.RepositoryException
AccessControlException
void removePermission(String identity, String permission) throws javax.jcr.RepositoryException, AccessControlException
identity
- javax.jcr.RepositoryException
AccessControlException
void setPermission(String identity, String[] permission) throws javax.jcr.RepositoryException, AccessControlException
identity
- permission
- javax.jcr.RepositoryException
AccessControlException
void checkPermission(String actions) throws AccessControlException, javax.jcr.RepositoryException
actions
- AccessControlException
- if no such permissions foundjavax.jcr.RepositoryException
boolean isNodeType(InternalQName qName) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.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.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
long getNodesCount() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
- If an error occurs.javax.jcr.NodeIterator getNodesLazily() throws javax.jcr.RepositoryException
NodeIterator
over all child Node
s 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 Node
s of
this Node
.javax.jcr.RepositoryException
- If an error occurs.javax.jcr.NodeIterator getNodesLazily(int pageSize) throws javax.jcr.RepositoryException
NodeIterator
over all child Node
s 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 Node
s of
this Node
.javax.jcr.RepositoryException
- If an error occurs.Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.