com.atlassian.jira.security.roles
Interface ProjectRoleActor

All Superinterfaces:
RoleActor
All Known Implementing Classes:
AbstractRoleActor, MockProjectRoleManager.MockRoleActor

public interface ProjectRoleActor
extends RoleActor

This is an abstraction that allows us to associate users with ProjectRoles for a project. Implementations can make this association indirectly like a GroupActor or more directly via something like a UserActor.


Method Summary
 Project getProject()
          Gets the project this is associated with.
 void setProject(Project project)
          Sets the project.
 
Methods inherited from interface com.atlassian.jira.security.roles.RoleActor
getDescriptor, getId, getParameter, getPrettyName, getProjectRole, getType, getUsers, setId, setParameter, setProjectRole
 

Method Detail

getProject

public Project getProject()
Gets the project this is associated with.

Returns:
project associated with

setProject

public void setProject(Project project)
Sets the project.

Parameters:
project - to set


Copyright © 2002-2007 Atlassian. All Rights Reserved.