1 13 package info.magnolia.cms.security; 14 15 18 public interface Group { 19 20 24 public String getName(); 25 26 32 public void addRole(String roleName) throws UnsupportedOperationException , AccessDeniedException; 33 34 40 public void addGroup(String groupName) throws UnsupportedOperationException , AccessDeniedException; 41 42 48 public void removeRole(String roleName) throws UnsupportedOperationException , AccessDeniedException; 49 50 56 public void removeGroup(String groupName) throws UnsupportedOperationException , AccessDeniedException; 57 58 64 public boolean hasRole(String roleName) throws UnsupportedOperationException , AccessDeniedException; 65 66 } 67 | Popular Tags |