com.atlassian.jira.security.roles
Class ProjectRoleActorsImpl
java.lang.Object
   com.atlassian.jira.security.roles.DefaultRoleActorsImpl
com.atlassian.jira.security.roles.DefaultRoleActorsImpl
       com.atlassian.jira.security.roles.ProjectRoleActorsImpl
com.atlassian.jira.security.roles.ProjectRoleActorsImpl
- All Implemented Interfaces: 
- DefaultRoleActors, ProjectRoleActors
- public class ProjectRoleActorsImpl 
- extends DefaultRoleActorsImpl- implements ProjectRoleActors
- See Also:
- ProjectRoleActors
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
ProjectRoleActorsImpl
public ProjectRoleActorsImpl(Long projectId,
                             Long projectRoleId,
                             Set roleActors)
ProjectRoleActorsImpl
public ProjectRoleActorsImpl(Long projectId,
                             Long projectRoleId,
                             RoleActor roleActor)
getProjectId
public Long getProjectId()
- 
- Specified by:
- getProjectIdin interface- ProjectRoleActors
 
- 
 
addRoleActor
public DefaultRoleActors addRoleActor(RoleActor roleActor)
- Description copied from interface: DefaultRoleActors
- Add the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified set
 
- 
- Specified by:
- addRoleActorin interface- DefaultRoleActors
- Overrides:
- addRoleActorin class- DefaultRoleActorsImpl
 
- 
- Parameters:
- roleActor- the RoleActor to add
- Returns:
- a copy of this DefaultRoleActors with the added RoleActor in its set of RoleActors
 
addRoleActors
public DefaultRoleActors addRoleActors(Collection roleActors)
- Description copied from interface: DefaultRoleActors
- Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the
 modified set
 
- 
- Specified by:
- addRoleActorsin interface- DefaultRoleActors
- Overrides:
- addRoleActorsin class- DefaultRoleActorsImpl
 
- 
- Parameters:
- roleActors- the collection RoleActor to add
- Returns:
- a copy of this DefaultRoleActors with the added RoleActors in its set of RoleActors
 
removeRoleActor
public DefaultRoleActors removeRoleActor(RoleActor roleActor)
- Description copied from interface: DefaultRoleActors
- Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified
 set
 
- 
- Specified by:
- removeRoleActorin interface- DefaultRoleActors
- Overrides:
- removeRoleActorin class- DefaultRoleActorsImpl
 
- 
- 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
public DefaultRoleActors removeRoleActors(Collection roleActors)
- Description copied from interface: DefaultRoleActors
- Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified
 set
 
- 
- Specified by:
- removeRoleActorsin interface- DefaultRoleActors
- Overrides:
- removeRoleActorsin class- DefaultRoleActorsImpl
 
- 
- Parameters:
- roleActors- the RoleActor to add
- Returns:
- a copy of this DefaultRoleActors with the removed RoleActors in its set of RoleActors, may be this if
         unchanged.
 
Copyright © 2002-2011 Atlassian. All Rights Reserved.