Interface TurbineUserGroupRoleEntity

All Superinterfaces:
Serializable
All Known Subinterfaces:
TurbineGroup, TurbineRole, TurbineUser
All Known Implementing Classes:
AbstractTurbineSecurityEntityImpl, TurbineGroupImpl, TurbineRoleImpl, TurbineUserImpl

public interface TurbineUserGroupRoleEntity extends Serializable
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 535465 2007-05-05 06:58:06Z tv $
Author:
Eric Pugh
  • Method Details

    • getUserGroupRoleSet

      <T extends TurbineUserGroupRole> Set<T> getUserGroupRoleSet() throws DataBackendException
      Get the User/Group/Role set associated with this entity
      Type Parameters:
      T - TurbineUserGroupRole
      Returns:
      a set of User/Group/Role relations
      Throws:
      DataBackendException - generic exception
    • setUserGroupRoleSet

      <T extends TurbineUserGroupRole> void setUserGroupRoleSet(Set<T> userGroupRoleSet)
      Set the User/Group/Role set associated with this entity
      Type Parameters:
      T - TurbineUserGroupRole
      Parameters:
      userGroupRoleSet - a set of User/Group/Role relations
    • addUserGroupRole

      void addUserGroupRole(TurbineUserGroupRole userGroupRole) throws DataBackendException
      Add a User/Group/Role relation to this entity
      Parameters:
      userGroupRole - a User/Group/Role relation to add
      Throws:
      DataBackendException - generic exception
    • removeUserGroupRole

      void removeUserGroupRole(TurbineUserGroupRole userGroupRole) throws DataBackendException
      Remove a User/Group/Role relation from this entity
      Parameters:
      userGroupRole - a User/Group/Role relation to remove
      Throws:
      DataBackendException - generic exception