com.atlassian.jira.security.roles
Class ProjectRoleActorsImpl
java.lang.Object
com.atlassian.jira.security.roles.DefaultRoleActorsImpl
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:
getProjectId in 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:
addRoleActor in interface DefaultRoleActors- Overrides:
addRoleActor in 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:
addRoleActors in interface DefaultRoleActors- Overrides:
addRoleActors in 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:
removeRoleActor in interface DefaultRoleActors- Overrides:
removeRoleActor in 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:
removeRoleActors in interface DefaultRoleActors- Overrides:
removeRoleActors in 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.