Schnittstelle TurbineRole

Alle Superschnittstellen:
Role, SecurityEntity, Serializable, TurbineUserGroupRoleEntity
Alle bekannten Implementierungsklassen:
TurbineRoleImpl

public interface TurbineRole extends Role, TurbineUserGroupRoleEntity
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.
Version:
$Id$
Autor:
Eric Pugh
  • Methodendetails

    • getPermissions

      PermissionSet getPermissions()
      Get the permission that are part of this role
      Gibt zurück:
      a set of permissions
    • getPermissionsAsSet

      <T extends Permission> Set<T> getPermissionsAsSet()
      Get the permission that are part of this role as Set
      Gibt zurück:
      a set of permissions
    • setPermissions

      void setPermissions(PermissionSet permissionSet)
      Set the permission that are part of this role
      Parameter:
      permissionSet - a set of permissions
    • setPermissionsAsSet

      <T extends Permission> void setPermissionsAsSet(Set<T> permissions)
      Set the permission that are part of this role as Set
      Typparameter:
      T - Permission
      Parameter:
      permissions - a set of permissions
    • addPermission

      void addPermission(Permission permission)
      This method should only be used by a RoleManager. Not directly.
      Parameter:
      permission - perm to add
    • removePermission

      void removePermission(Permission permission)
      This method should only be used by a RoleManager. Not directly.
      Parameter:
      permission - perm to remove