Class ProjectRoleActorsImpl
java.lang.Object
com.atlassian.jira.security.roles.DefaultRoleActorsImpl
com.atlassian.jira.security.roles.ProjectRoleActorsImpl
- All Implemented Interfaces:
DefaultRoleActors,ProjectRoleActors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectRoleActorsImpl(Long projectId, Long projectRoleId, RoleActor roleActor) ProjectRoleActorsImpl(Long projectId, Long projectRoleId, Set<? extends RoleActor> roleActors) -
Method Summary
Modifier and TypeMethodDescriptionaddRoleActor(RoleActor roleActor) Add the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified setaddRoleActors(Collection<? extends RoleActor> roleActors) Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the modified setremoveRoleActor(RoleActor roleActor) Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified setremoveRoleActors(Collection<? extends RoleActor> roleActors) Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified settoString()Methods inherited from class com.atlassian.jira.security.roles.DefaultRoleActorsImpl
contains, getApplicationUsers, getProjectRoleId, getRoleActors, getRoleActorsByType, getUsersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.jira.security.roles.DefaultRoleActors
contains, getApplicationUsers, getProjectRoleId, getRoleActors, getRoleActorsByType, getUsers
-
Constructor Details
-
ProjectRoleActorsImpl
-
ProjectRoleActorsImpl
-
-
Method Details
-
getProjectId
- Specified by:
getProjectIdin interfaceProjectRoleActors
-
addRoleActor
Description copied from interface:DefaultRoleActorsAdd the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified set- Specified by:
addRoleActorin interfaceDefaultRoleActors- Overrides:
addRoleActorin classDefaultRoleActorsImpl- Parameters:
roleActor- the RoleActor to add- Returns:
- a copy of this DefaultRoleActors with the added RoleActor in its set of RoleActors
-
addRoleActors
Description copied from interface:DefaultRoleActorsAdd the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the modified set- Specified by:
addRoleActorsin interfaceDefaultRoleActors- Overrides:
addRoleActorsin classDefaultRoleActorsImpl- Parameters:
roleActors- the collection RoleActor to add- Returns:
- a copy of this DefaultRoleActors with the added RoleActors in its set of RoleActors
-
removeRoleActor
Description copied from interface:DefaultRoleActorsRemove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set- Specified by:
removeRoleActorin interfaceDefaultRoleActors- Overrides:
removeRoleActorin classDefaultRoleActorsImpl- Parameters:
roleActor- the RoleActor to remove- Returns:
- a copy of this DefaultRoleActors with the removed RoleActor in its set of RoleActors, may be this if unchanged
-
removeRoleActors
Description copied from interface:DefaultRoleActorsRemove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set- Specified by:
removeRoleActorsin interfaceDefaultRoleActors- Overrides:
removeRoleActorsin classDefaultRoleActorsImpl- Parameters:
roleActors- the RoleActor to remove- Returns:
- a copy of this DefaultRoleActors with the removed RoleActors in its set of RoleActors, may be this if unchanged.
-
toString
- Overrides:
toStringin classDefaultRoleActorsImpl
-