|
||||||||||
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(com.atlassian.crowd.embedded.api.User user)
Does this RoleActor contain the specified 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<com.atlassian.crowd.embedded.api.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<com.atlassian.crowd.embedded.api.User> getUsers()
boolean contains(com.atlassian.crowd.embedded.api.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 |