Schnittstelle DynamicGroup

Alle Superschnittstellen:
BasicGroup, Group, SecurityEntity, Serializable
Alle bekannten Implementierungsklassen:
DynamicGroupImpl

public interface DynamicGroup extends BasicGroup
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$
Autor:
Eric Pugh
  • Methodendetails

    • getRoles

      RoleSet getRoles()
      Get the roles that are part of this group
      Gibt zurück:
      a set of roles
    • setRoles

      void setRoles(RoleSet roleSet)
      Set the roles that are part of this group
      Parameter:
      roleSet - a set of roles
    • addRole

      void addRole(Role role)
      Add a role to this group
      Parameter:
      role - the role to add
    • removeRole

      void removeRole(Role role)
      Remove a role from this group
      Parameter:
      role - the role to remove
    • setRolesAsSet

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

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