Skip navigation links

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


oracle.tip.pc.services.identity.ext.position
Interface IPositionLookupProvider

All Superinterfaces:
IServiceProvider

public interface IPositionLookupProvider
extends IServiceProvider

Implement this Interface to provide positions to users lookup. Users may be in positions. To support task assignments to positions, hierarchy provider that implements position hierarchy and user to position lookup provider is needed. This provider should be configured in the workflow identity configuratiion file to take effect and is required to support position hierarchy.


Method Summary
 java.util.List<java.lang.String> fetchPositionUsers(java.lang.String positionId)
          Returns list of users for a given position id.
 java.util.List<java.lang.String> fetchUserPositions(java.lang.String userId)
          Returns a list of positions for a given user id.

 

Methods inherited from interface oracle.tip.pc.services.identity.ext.IServiceProvider
init

 

Method Detail

fetchPositionUsers

java.util.List<java.lang.String> fetchPositionUsers(java.lang.String positionId)
                                                    throws BPMIdentityException
Returns list of users for a given position id.
Parameters:
positionId - to find the users in that position.
Returns:
List of users in the given position id.
Throws:
java.lang.Exception
BPMIdentityException

fetchUserPositions

java.util.List<java.lang.String> fetchUserPositions(java.lang.String userId)
                                                    throws BPMIdentityException
Returns a list of positions for a given user id.

Note: This method should be performant as this method is called when querying assigned tasks to a user from UI. The task query queries the system to find tasks assigned to the current user. The user's positions are cached in the session.

Parameters:
userId - use whose position need to be found.
Returns:
List of positions for the given user id.
Throws:
BPMIdentityException

Skip navigation links

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


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