Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10660-03


oracle.bpel.services.workflow.assignment.dynamic
Interface IDynamicUserAssignmentFunction

All Superinterfaces:
IDynamicAssignmentFunction

public interface IDynamicUserAssignmentFunction
extends IDynamicAssignmentFunction

Classes that implement workflow Dynamic Assignenment Functions that select a user for assignment must implement this interface. Classes can implement the interface IDynamicGroupAssignmentFunction as well, if they also can select a group for assignment. As well as providing a class that implements this interface, you must also provide configuration information for the new function. Please refer to the Workflow Services chapter in the BPEL Process Manager Developer's Guide for more information.


Method Summary
 java.lang.String getUserAssignment(java.util.List usernames, java.lang.String realm, java.lang.String[] parameters)
          This method contains the implementation of the Assignment Function Given an arbitrary list of users, it will return a user in that list, according to the assignment pattern implemented
 java.lang.String getUserAssignment(java.lang.String groupName, java.lang.String realm, java.lang.String[] parameters)
          This method contains the implementation of the Assignment Function Given a group name, it will return a user in that group, according to the assignment pattern implemented

 

Methods inherited from interface oracle.bpel.services.workflow.assignment.dynamic.IDynamicAssignmentFunction
getDescription, getFunctionName, setInitParams

 

Method Detail

getUserAssignment

java.lang.String getUserAssignment(java.lang.String groupName,
                                   java.lang.String realm,
                                   java.lang.String[] parameters)
                                   throws DynamicAssignmentException
This method contains the implementation of the Assignment Function Given a group name, it will return a user in that group, according to the assignment pattern implemented
Parameters:
groupName - String name of group to select user from
realm - String name of Identity Service realm the group belongs to. If realm is null, the default Identity Service realm will be used.
parameters - String[] optional array of parameter values. Use of parameter values is implementation-specific.
Returns:
String username of user
Throws:
DynamicAssignmentException

getUserAssignment

java.lang.String getUserAssignment(java.util.List usernames,
                                   java.lang.String realm,
                                   java.lang.String[] parameters)
                                   throws DynamicAssignmentException
This method contains the implementation of the Assignment Function Given an arbitrary list of users, it will return a user in that list, according to the assignment pattern implemented
Parameters:
usernames - List of usernames to select user from
realm - String name of Identity Service realm the users belong to. If realm is null, the default Identity Service realm will be used.
parameters - String[] optional array of parameter values. Use of parameter values is implementation-specific.
Returns:
String username of user
Throws:
DynamicAssignmentException

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10660-03


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