@PublicApi
public interface DefaultRoleActors
Note: implementations must be immutable.
Modifier and Type | Method and Description |
---|---|
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<? extends RoleActor> roleActors)
Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the
modified set
|
boolean |
contains(ApplicationUser user)
Does the collection of RoleActor instances contain the specified user.
|
Set<ApplicationUser> |
getApplicationUsers() |
Long |
getProjectRoleId() |
Set<RoleActor> |
getRoleActors() |
Set<RoleActor> |
getRoleActorsByType(String type) |
Set<ApplicationUser> |
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<? extends RoleActor> roleActors)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified
set
|
Set<ApplicationUser> getUsers()
Set<ApplicationUser> getApplicationUsers()
Long getProjectRoleId()
boolean contains(ApplicationUser user)
user
- the application user to check if they are containedDefaultRoleActors addRoleActor(RoleActor roleActor)
roleActor
- the RoleActor to addDefaultRoleActors addRoleActors(Collection<? extends RoleActor> roleActors)
roleActors
- the collection RoleActor to addDefaultRoleActors removeRoleActor(RoleActor roleActor)
roleActor
- the RoleActor to removeDefaultRoleActors removeRoleActors(Collection<? extends RoleActor> roleActors)
roleActors
- the RoleActor to removeCopyright © 2002-2015 Atlassian. All Rights Reserved.