public class

ProjectRoleActorsImpl

extends DefaultRoleActorsImpl
implements ProjectRoleActors
java.lang.Object
   ↳ com.atlassian.jira.security.roles.DefaultRoleActorsImpl
     ↳ com.atlassian.jira.security.roles.ProjectRoleActorsImpl

Summary

Public Constructors
ProjectRoleActorsImpl(Long projectId, Long projectRoleId, Set<? extends RoleActor> roleActors)
ProjectRoleActorsImpl(Long projectId, Long projectRoleId, RoleActor roleActor)
Public Methods
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
Long getProjectId()
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
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.security.roles.DefaultRoleActorsImpl
From class java.lang.Object
From interface com.atlassian.jira.security.roles.DefaultRoleActors
From interface com.atlassian.jira.security.roles.ProjectRoleActors

Public Constructors

public ProjectRoleActorsImpl (Long projectId, Long projectRoleId, Set<? extends RoleActor> roleActors)

public ProjectRoleActorsImpl (Long projectId, Long projectRoleId, RoleActor roleActor)

Public Methods

public DefaultRoleActors addRoleActor (RoleActor roleActor)

Add the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified set

Parameters
roleActor the RoleActor to add
Returns
  • a copy of this DefaultRoleActors with the added RoleActor in its set of RoleActors

public 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

Parameters
roleActors the collection RoleActor to add
Returns
  • a copy of this DefaultRoleActors with the added RoleActors in its set of RoleActors

public Long getProjectId ()

public DefaultRoleActors removeRoleActor (RoleActor roleActor)

Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set

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

public DefaultRoleActors removeRoleActors (Collection<? extends RoleActor> roleActors)

Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set

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.

public String toString ()