aces = pur.getEffectiveAces( acl.getId(), true ); } else { objectAcl.setEntriesInheriting( acl.isEntriesInheriting() ); aces = ( acl.isEntriesInheriting() ) ? pur.getEffectiveAces( acl.getId() ) : acl.getAces();
public List<RepositoryFileAce> call() throws Exception { return delegatee.getEffectiveAces( fileId ); } }, Messages.getInstance().getString( "ExceptionLoggingDecorator.getEffectiveAces", fileId ) ); //$NON-NLS-1$
public List<RepositoryFileAce> call() throws Exception { return delegatee.getEffectiveAces( fileId, forceEntriesInheriting ); } }, Messages.getInstance().getString( "ExceptionLoggingDecorator.getEffectiveAces", fileId ) ); //$NON-NLS-1$
/** * Returns the list of access control entries (ACEs) that will be used to make an access control decision. This * method is equivalent to {@code getEffectiveAces(fileId, false)}. * * @param fileId * file id * @return list of ACEs */ @Override public List<RepositoryFileAce> getEffectiveAces( final Serializable fileId ) { return repository.getEffectiveAces( fileId ); }
public List<RepositoryFileAclAceDto> getEffectiveAces( String fileId ) { return marshalAces( repo.getEffectiveAces( fileId ) ); }
public List<RepositoryFileAclAceDto> getEffectiveAcesWithForceFlag( String fileId, boolean forceEntriesInheriting ) { return marshalAces( repo.getEffectiveAces( fileId, forceEntriesInheriting ) ); }
/** * Returns the list of access control entries (ACEs) that will be used to make an access control decision. This * method is equivalent to {@code getEffectiveAces(get_parent_id(fileId))}. Note that {@code get_parent_id} is * not a real method. * * @param fileId * file id * @param forceEntriesInheriting * {@code true} to treat ACL as if {@code isEntriesInheriting} was true; this avoids having the caller * fetch the parent of ACL belonging to file with {@code fileId}; no change is persisted to the ACL * @return list of ACEs */ @Override public List<RepositoryFileAce> getEffectiveAces( final Serializable fileId, final boolean forceEntriesInheriting ) { return repository.getEffectiveAces( fileId, forceEntriesInheriting ); }