Alle implementierten Schnittstellen:
Serializable, Group, SecurityEntity, BasicGroup, DynamicGroup

public class DynamicGroupImpl extends BasicGroupImpl implements DynamicGroup
Represents the "dynamic" model where permissions are related to roles, roles are related to groups and groups are related to userSet, all in many to many relationships.
Version:
$Id: DynamicGroup.java 223057 2004-07-05 19:28:23Z epugh $
Autor:
Eric Pugh
Siehe auch:
  • Konstruktordetails

    • DynamicGroupImpl

      public DynamicGroupImpl()
  • Methodendetails

    • getRoles

      public RoleSet getRoles()
      Get the roles that are part of this group
      Angegeben von:
      getRoles in Schnittstelle DynamicGroup
      Gibt zurück:
      a set of roles
    • setRoles

      public void setRoles(RoleSet roleSet)
      Set the roles that are part of this group
      Angegeben von:
      setRoles in Schnittstelle DynamicGroup
      Parameter:
      roleSet - a set of roles
    • addRole

      public void addRole(Role role)
      Add a role to this group
      Angegeben von:
      addRole in Schnittstelle DynamicGroup
      Parameter:
      role - the role to add
    • removeRole

      public void removeRole(Role role)
      Remove a role from this group
      Angegeben von:
      removeRole in Schnittstelle DynamicGroup
      Parameter:
      role - the role to remove
    • setRolesAsSet

      public <T extends Role> void setRolesAsSet(Set<T> roles)
      Set the roles that are part of this group as Set
      Angegeben von:
      setRolesAsSet in Schnittstelle DynamicGroup
      Parameter:
      roles - a set of roles
    • getRolesAsSet

      public <T extends Role> Set<T> getRolesAsSet()
      Get the roles that are part of this group as Set
      Angegeben von:
      getRolesAsSet in Schnittstelle DynamicGroup
      Gibt zurück:
      a set of roles