Interface TurbineUserGroupRoleEntity
-
- All Known Subinterfaces:
TurbineGroup
,TurbineRole
,TurbineUser
- All Known Implementing Classes:
AbstractTurbineSecurityEntityImpl
,TurbineGroupImpl
,TurbineRoleImpl
,TurbineUserImpl
public interface 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: TurbineRole.java 535465 2007-05-05 06:58:06Z tv $
- Author:
- Eric Pugh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addUserGroupRole(TurbineUserGroupRole userGroupRole)
Add a User/Group/Role relation to this entity<T extends TurbineUserGroupRole>
Set<T>getUserGroupRoleSet()
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 Detail
-
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
-
-