|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.permissions.role.RoleInheritanceDelegate
public class RoleInheritanceDelegate
delegate the role
Constructor Summary | |
---|---|
RoleInheritanceDelegate(Group group1)
|
Method Summary | |
---|---|
boolean |
addRoleToInheritFromThis(Role roleToAdd)
if a user has this role, then he also inherits permissions from the roleToAdd for isntance this would be senior admin, and the argument would be admin |
java.util.Set<Role> |
getRolesInheritPermissionsFromThis()
permissions in this role are inherited by other roles in the set returned (immediate or effective) so if this role is loanAdministrator, then returned set has senior loan administrator |
java.util.Set<Role> |
getRolesInheritPermissionsFromThisImmediate()
permissions in this role are inherited by other roles in the set returned (immediate only) so if this role is loanAdministrator, then returned set has senior loan administrator |
java.util.Set<Role> |
getRolesInheritPermissionsToThis()
permissions in these returned roles inherit to this role (immediate or effective) so if this role is senior loan administrator, then returned set has loanAdministrator |
java.util.Set<Role> |
getRolesInheritPermissionsToThisImmediate()
permissions in these returned roles inherit to this role (immediate only) so if this role is senior loan administrator, then returned set has loanAdministrator |
boolean |
internal_addRoleToInheritFromThis(Role roleToAdd,
java.lang.String uuid)
if a user has this role, then he also inherits permissions from the roleToAdd |
boolean |
removeRoleFromInheritFromThis(Role roleToRemove)
if a user has this role, and he had inheriated permissions from roleToRemove directly, then remove that relationship |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleInheritanceDelegate(Group group1)
group1
- Method Detail |
---|
public java.util.Set<Role> getRolesInheritPermissionsFromThis()
public java.util.Set<Role> getRolesInheritPermissionsFromThisImmediate()
public java.util.Set<Role> getRolesInheritPermissionsToThis()
public java.util.Set<Role> getRolesInheritPermissionsToThisImmediate()
public boolean addRoleToInheritFromThis(Role roleToAdd)
roleToAdd
-
public boolean internal_addRoleToInheritFromThis(Role roleToAdd, java.lang.String uuid)
roleToAdd
- uuid
- is id or null if assigned
public boolean removeRoleFromInheritFromThis(Role roleToRemove)
roleToRemove
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |