|
||||||||||
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(ApplicationUser user)
Does this RoleActor contain the specified user. |
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Deprecated. Use this.contains instead. Since v6.0. |
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. |
boolean |
isActive()
Whether this Role Actor entity is active or not; |
Method Detail |
---|
Long getId()
Long getProjectRoleId()
String getDescriptor()
String getType()
String getParameter()
Set<com.atlassian.crowd.embedded.api.User> getUsers()
boolean contains(ApplicationUser user)
user
- the user to check if they are contained
boolean contains(com.atlassian.crowd.embedded.api.User user)
this.contains
instead. Since v6.0.
user
- the user to check if they are contained
boolean isActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |