1 28 29 package org.objectweb.util.explorer.core.role.api; 30 31 39 public interface RoleProvider { 40 41 42 public static String ROLE_PROVIDER = "role-provider"; 43 44 public static final String DEFAULT_ROLE = "_Default_Role_"; 45 46 51 public Role getRole(String roleId); 52 53 58 public Role[] getRoles(String [] roleIds); 59 60 65 public String [] getRoleIds(Role[] roles); 66 67 73 public String [] getInheritedRoleIds(String [] roleIds); 74 75 81 public String [] getRoleList(); 82 83 89 public String [] getRoleList(boolean alphabeticOrder); 90 91 96 public String [] getRoleList(boolean alphabeticOrder, boolean excludedAbstractRoles); 97 98 102 public Role getDefaultRole(); 103 104 } 105 | Popular Tags |