com.atlassian.jira.security.roles
Interface ProjectRoleActor

All Superinterfaces:
RoleActor
All Known Implementing Classes:
AbstractRoleActor, GroupRoleActorFactory.GroupRoleActor, MockGroupRoleActor, MockProjectRoleManager.MockRoleActor, MockRoleActor, MockUserRoleActor

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.

Please note: implementations must be immutable as caching presumes this.


Field Summary
static String GROUP_ROLE_ACTOR_TYPE
           
static String USER_ROLE_ACTOR_TYPE
           
 
Method Summary
 Long getProjectId()
          Gets the project this is associated with.
 
Methods inherited from interface com.atlassian.jira.security.roles.RoleActor
contains, contains, getDescriptor, getId, getParameter, getProjectRoleId, getType, getUsers, isActive
 

Field Detail

GROUP_ROLE_ACTOR_TYPE

static final String GROUP_ROLE_ACTOR_TYPE
See Also:
Constant Field Values

USER_ROLE_ACTOR_TYPE

static final String USER_ROLE_ACTOR_TYPE
See Also:
Constant Field Values
Method Detail

getProjectId

Long getProjectId()
Gets the project this is associated with.

Returns:
project associated with


Copyright © 2002-2013 Atlassian. All Rights Reserved.