org.obe.spi.runtime
Interface AssignmentStrategy


public interface AssignmentStrategy

Work item assignment strategy.

Author:
Adrian Price

Method Summary
 java.security.Principal[] apply(java.security.Principal[] candidates, boolean expandGroups, WorkflowContext ctx)
          Applies the work item assignment strategy to the specified candidates.
 

Method Detail

apply

public java.security.Principal[] apply(java.security.Principal[] candidates,
                                       boolean expandGroups,
                                       WorkflowContext ctx)
                                throws WMWorkflowException
Applies the work item assignment strategy to the specified candidates.

Parameters:
candidates - The principals to whom work items could be assigned, based on the Performer specified in the Activity definition.
expandGroups - If true, recursively expand groups into their constituent members. If false, permits a work item to be assigned to a Group rather than individual users.
ctx - The workflow context.
Returns:
The principals to whom work items should be assigned. It must be a subset of candidates.
Throws:
WMWorkflowException


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.