org.exoplatform.services.jcr.rmi.api.remote.core
Interface RemoteExtendedNode

All Superinterfaces:
java.rmi.Remote, RemoteItem, RemoteNode

public interface RemoteExtendedNode
extends RemoteNode


Method Summary
 void checkChildrenPermission(java.lang.String actions)
          Checks if there are permission to perform some actions
 void clearChildrenACL()
          Clears children's Access Control List
 AccessControlList getChildrenACL()
           
 void removeChildrenPermission(java.lang.String identity)
          Removes permissions for perticular identity
 void setChildrenPermission(java.lang.String identity, java.lang.String[] permission)
          Sets permissions for particular identity
 void setChildrenPermissions(java.util.Map permissions)
          Sets permission for children
 
Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.RemoteNode
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, restoreByLabel, restoreByUUID, setProperty, setProperty, setProperty, setProperty, unlock, update
 
Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
 

Method Detail

setChildrenPermissions

void setChildrenPermissions(java.util.Map permissions)
                            throws javax.jcr.RepositoryException,
                                   java.security.AccessControlException
Sets permission for children

Parameters:
permissions -
Throws:
javax.jcr.RepositoryException
java.security.AccessControlException

getChildrenACL

AccessControlList getChildrenACL()
Returns:
Access Control List for children

clearChildrenACL

void clearChildrenACL()
                      throws javax.jcr.RepositoryException,
                             java.security.AccessControlException
Clears children's Access Control List

Throws:
javax.jcr.RepositoryException
java.security.AccessControlException

removeChildrenPermission

void removeChildrenPermission(java.lang.String identity)
                              throws javax.jcr.RepositoryException,
                                     java.security.AccessControlException
Removes permissions for perticular identity

Parameters:
identity -
Throws:
javax.jcr.RepositoryException
java.security.AccessControlException

setChildrenPermission

void setChildrenPermission(java.lang.String identity,
                           java.lang.String[] permission)
                           throws javax.jcr.RepositoryException,
                                  java.security.AccessControlException
Sets permissions for particular identity

Parameters:
identity -
permission -
Throws:
javax.jcr.RepositoryException
java.security.AccessControlException

checkChildrenPermission

void checkChildrenPermission(java.lang.String actions)
                             throws java.security.AccessControlException,
                                    javax.jcr.RepositoryException
Checks if there are permission to perform some actions

Parameters:
actions -
Throws:
java.security.AccessControlException - if no such permissions found
javax.jcr.RepositoryException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.