/** * Support to set a shared ACL on a node and all of its children * * @param nodeId * the parent node id * @param inheritFrom * the parent node's ACL * @param mergeFrom * the shared ACL, if already known. If <code>null</code>, will be retrieved / created lazily * @param changes * the list in which to record changes * @param set * set the shared ACL on the parent ? */ public void setFixedAcls(Long nodeId, Long inheritFrom, Long mergeFrom, Long sharedAclToReplace, List<AclChange> changes, boolean set) { setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, false, true); }
/** * Support to set a shared ACL on a node and all of its children * * @param nodeId * the parent node id * @param inheritFrom * the parent node's ACL * @param mergeFrom * the shared ACL, if already known. If <code>null</code>, will be retrieved / created lazily * @param changes * the list in which to record changes * @param set * set the shared ACL on the parent ? */ public void setFixedAcls(Long nodeId, Long inheritFrom, Long mergeFrom, Long sharedAclToReplace, List<AclChange> changes, boolean set) { setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, false, true); }
public List<AclChange> setInheritanceForChildren(NodeRef parent, Long inheritFrom, Long sharedAclToReplace, boolean asyncCall) { List<AclChange> changes = new ArrayList<AclChange>(); setFixedAcls(getNodeIdNotNull(parent), inheritFrom, null, sharedAclToReplace, changes, false, asyncCall, true); return changes; }
public List<AclChange> setInheritanceForChildren(NodeRef parent, Long inheritFrom, Long sharedAclToReplace, boolean asyncCall) { List<AclChange> changes = new ArrayList<AclChange>(); setFixedAcls(getNodeIdNotNull(parent), inheritFrom, null, sharedAclToReplace, changes, false, asyncCall, true); return changes; }
setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, propagateOnChildren); return true; setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, propagateOnChildren); return true; setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, false);
setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, propagateOnChildren); return true; setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, propagateOnChildren); return true; setFixedAcls(nodeId, inheritFrom, mergeFrom, sharedAclToReplace, changes, set, asyncCall, false);
setFixedAcls(childNodeId, newParentSharedAclId, null, null, changes, true); setFixedAcls(childNodeId, newParentSharedAclId, null, childAclId, changes, true);
setFixedAcls(childNodeId, newParentSharedAclId, null, null, changes, true); setFixedAcls(childNodeId, newParentSharedAclId, null, childAclId, changes, true);