com.atlassian.jira.security.roles
Interface RoleActorFactory

All Known Implementing Classes:
GroupRoleActorFactory, PluginDelegatingRoleActorFactory, UserRoleActorFactory

public interface RoleActorFactory

Create RoleActor instances.


Method Summary
 ProjectRoleActor createRoleActor(Long id, Long projectRoleId, Long projectId, String type, String parameter)
          Create instances of the ProjectRoleActor
 Set optimizeRoleActorSet(Set roleActors)
          if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so we reduce the number of iterations across the set.
 

Method Detail

createRoleActor

ProjectRoleActor createRoleActor(Long id,
                                 Long projectRoleId,
                                 Long projectId,
                                 String type,
                                 String parameter)
Create instances of the ProjectRoleActor

Parameters:
id -
projectRoleId -
projectId -
type -
parameter -
Returns:

optimizeRoleActorSet

Set optimizeRoleActorSet(Set roleActors)
if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so we reduce the number of iterations across the set.

Parameters:
roleActors - a Set of RoleActor instances
Returns:
the optimized Set perhaps containing aggregations that can be queried more efficiently.


Copyright © 2002-2007 Atlassian. All Rights Reserved.