Alle implementierten Schnittstellen:
Serializable, Role, SecurityEntity, TurbineRole, TurbineUserGroupRoleEntity

public class TurbineRoleImpl extends AbstractTurbineSecurityEntityImpl implements TurbineRole
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: TurbineRole.java 437451 2006-08-27 20:20:44Z tv $
Autor:
Eric Pugh
Siehe auch:
  • Konstruktordetails

    • TurbineRoleImpl

      public TurbineRoleImpl()
  • Methodendetails

    • getPermissions

      public PermissionSet getPermissions()
      Get the permission that are part of this role
      Angegeben von:
      getPermissions in Schnittstelle TurbineRole
      Gibt zurück:
      a set of permissions
    • getPermissionsAsSet

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

      public void setPermissions(PermissionSet permissionSet)
      Set the permission that are part of this role
      Angegeben von:
      setPermissions in Schnittstelle TurbineRole
      Parameter:
      permissionSet - a set of permissions
    • setPermissionsAsSet

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

      public void addPermission(Permission permission)
      This method should only be used by a RoleManager. Not directly.
      Angegeben von:
      addPermission in Schnittstelle TurbineRole
      Parameter:
      permission - the permission to add
    • removePermission

      public void removePermission(Permission permission)
      This method should only be used by a RoleManager. Not directly.
      Angegeben von:
      removePermission in Schnittstelle TurbineRole
      Parameter:
      permission - the permission to remove