com.atlassian.jira.security.roles
Interface ProjectRoleActor

All Superinterfaces:
RoleActor
All Known Implementing Classes:
AbstractRoleActor, GroupRoleActorFactory.GroupRoleActor

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.


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

Method Detail

getProjectId

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

Returns:
project associated with


Copyright © 2002-2007 Atlassian. All Rights Reserved.