Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.7.0)
E25378-07

oracle.bpel.services.workflow.task
Interface IRestrictedAssignmentCallback


public interface IRestrictedAssignmentCallback

An interface that describes the callback to restrict assignment and routing.


Nested Class Summary
static class IRestrictedAssignmentCallback.OperationType
           
 
Method Summary
 oracle.bpel.services.workflow.task.IRestrictedAssignees getPermittedAssignees(Task task, java.util.Map propertyMap, java.lang.String currentUser, java.lang.String identityContext, java.lang.String operation)
          Api that returns the list of permitted assignees given the task, currentUser and the operation.
 java.util.List<IRestrictedAssignmentCallback.OperationType> getRestrictedOperations(Task task, java.util.Map propertyMap, java.lang.String currentUser, java.lang.String identityContext)
          Api that returns the list of operations restricted by the callback.
 

Method Detail

getPermittedAssignees

oracle.bpel.services.workflow.task.IRestrictedAssignees getPermittedAssignees(Task task,
                                                                              java.util.Map propertyMap,
                                                                              java.lang.String currentUser,
                                                                              java.lang.String identityContext,
                                                                              java.lang.String operation)
Api that returns the list of permitted assignees given the task, currentUser and the operation.

Parameters:
task - The task under consideration
propertyMap - custom propertied for the call back
currentUser - the user who is trying to perform the operation
operation - The operation. One of the constants above.
Returns:
A IRestrictedAssignees object containing a list of permitted Task Assignees.

getRestrictedOperations

java.util.List<IRestrictedAssignmentCallback.OperationType> getRestrictedOperations(Task task,
                                                                                    java.util.Map propertyMap,
                                                                                    java.lang.String currentUser,
                                                                                    java.lang.String identityContext)
Api that returns the list of operations restricted by the callback.

Parameters:
task - The task under consideration
propertyMap - custom propertied for the call back
currentUser - the user who is trying to perform the operation
Returns:
A list of restricted operations as Strings.

Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.7.0)
E25378-07

Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.