|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface DefaultRoleActors
This interface defines the association between a ProjectRole and a collection of default Actors. Actors associated with a ProjectRole in this way will be used to populate the ProjectRoleActors association when a new project is created within JIRA.
Note: implementations must be immutable.
Method Summary | |
---|---|
DefaultRoleActors |
addRoleActor(RoleActor roleActor)
Add the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
DefaultRoleActors |
addRoleActors(Collection<RoleActor> roleActors)
Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does the collection of RoleActor instances contain the specified user. |
Long |
getProjectRoleId()
|
Set<RoleActor> |
getRoleActors()
|
Set<RoleActor> |
getRoleActorsByType(String type)
|
Set<com.atlassian.crowd.embedded.api.User> |
getUsers()
|
DefaultRoleActors |
removeRoleActor(RoleActor roleActor)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
DefaultRoleActors |
removeRoleActors(Collection<RoleActor> roleActors)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
Method Detail |
---|
Set<com.atlassian.crowd.embedded.api.User> getUsers()
Set<RoleActor> getRoleActors()
Long getProjectRoleId()
Set<RoleActor> getRoleActorsByType(String type)
boolean contains(com.atlassian.crowd.embedded.api.User user)
user
- the user to check if they are contained
DefaultRoleActors addRoleActor(RoleActor roleActor)
roleActor
- the RoleActor to add
DefaultRoleActors addRoleActors(Collection<RoleActor> roleActors)
roleActors
- the collection RoleActor to add
DefaultRoleActors removeRoleActor(RoleActor roleActor)
roleActor
- the RoleActor to remove
DefaultRoleActors removeRoleActors(Collection<RoleActor> roleActors)
roleActors
- the RoleActor to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |