Interface TurbineUserGroupRoleEntity
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
TurbineGroup
,TurbineRole
,TurbineUser
- All Known Implementing Classes:
AbstractTurbineSecurityEntityImpl
,TurbineGroupImpl
,TurbineRoleImpl
,TurbineUserImpl
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 Summary
Modifier and TypeMethodDescriptionvoid
addUserGroupRole
(TurbineUserGroupRole userGroupRole) Add a User/Group/Role relation to this entity<T extends TurbineUserGroupRole>
Set<T> Get the User/Group/Role set associated with this entityvoid
removeUserGroupRole
(TurbineUserGroupRole userGroupRole) Remove a User/Group/Role relation from this entity<T extends TurbineUserGroupRole>
voidsetUserGroupRoleSet
(Set<T> userGroupRoleSet) Set the User/Group/Role set associated with this entity
-
Method Details
-
getUserGroupRoleSet
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
Set the User/Group/Role set associated with this entity- Type Parameters:
T
- TurbineUserGroupRole- Parameters:
userGroupRoleSet
- a set of User/Group/Role relations
-
addUserGroupRole
Add a User/Group/Role relation to this entity- Parameters:
userGroupRole
- a User/Group/Role relation to add- Throws:
DataBackendException
- generic exception
-
removeUserGroupRole
Remove a User/Group/Role relation from this entity- Parameters:
userGroupRole
- a User/Group/Role relation to remove- Throws:
DataBackendException
- generic exception
-