1 17 package org.alfresco.repo.security.authority; 18 19 import java.util.Set ; 20 21 import org.alfresco.service.cmr.security.AuthorityType; 22 23 public interface AuthorityDAO 24 { 25 31 void addAuthority(String parentName, String childName); 32 33 39 void createAuthority(String parentName, String name); 40 41 46 void deleteAuthority(String name); 47 48 54 Set <String > getAllRootAuthorities(AuthorityType type); 55 56 64 Set <String > getContainedAuthorities(AuthorityType type, String name, boolean immediate); 65 66 72 void removeAuthority(String parentName, String childName); 73 74 82 Set <String > getContainingAuthorities(AuthorityType type, String name, boolean immediate); 83 84 90 Set <String > getAllAuthorities(AuthorityType type); 91 } 92 | Popular Tags |