|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleActor
This is an abstraction that allows us to associate users with ProjectRoles.
Please note: implementations must be immutable as caching presumes this.
| Method Summary | |
|---|---|
boolean |
contains(User user)
Deprecated. This method will be changed to take a User. |
String |
getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g. |
Long |
getId()
Returns the id for the Role Actor |
String |
getParameter()
Returns the string that identifies the target of this role actor (ex. |
Long |
getProjectRoleId()
This will get the ProjectRole that this RoleActor belongs to. |
String |
getType()
Returns a string that identifies the implementation type. |
Set<User> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor. |
| Method Detail |
|---|
Long getId()
Long getProjectRoleId()
String getDescriptor()
RoleActorComparator for sorting.
String getType()
String getParameter()
Set<User> getUsers()
Warning This method will be changed to return a User in a future release.
boolean contains(User user)
User.
user - the user to check if they are contained
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||