com.ibm.itim.apps.workflow
Class HumanResourceMO
java.lang.Object
|
+--com.ibm.itim.apps.workflow.HumanResourceMO
- All Implemented Interfaces:
- WorkflowResourceMO
- public class HumanResourceMO
- extends java.lang.Object
- implements WorkflowResourceMO
Class representing a human resource participating in workflow processes.
Constructor Summary |
HumanResourceMO(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the the managed object with a platform context
and the subject representing the human participant. |
HumanResourceMO(PlatformContext platform,
javax.security.auth.Subject subject,
AccountMO account)
Constructs the the managed object with a platform context, a subject,
and the managed object representing the human participant account. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HumanResourceMO
public HumanResourceMO(PlatformContext platform,
javax.security.auth.Subject subject)
- Constructs the the managed object with a platform context
and the subject representing the human participant.
- Parameters:
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.
HumanResourceMO
public HumanResourceMO(PlatformContext platform,
javax.security.auth.Subject subject,
AccountMO account)
- Constructs the the managed object with a platform context, a subject,
and the managed object representing the human participant account.
- Parameters:
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.account
- AccountMO representing the human participant account.
getAssignments
public java.util.Collection getAssignments()
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
- Returns the assignments of the resource.
- Specified by:
getAssignments
in interface WorkflowResourceMO
- Returns:
- Collection of WorkflowAssignmentMOs for the resource.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
obtain the resource's assignments.ApplicationException
- Thrown if unable to retrieve the resource's
assignments.
execute
public void execute(WorkflowSearchResultsMO results,
java.util.Locale locale)
throws java.rmi.RemoteException,
ApplicationException
- Executes the search using the configured parameters. Note, not all
objects that meet the search parameters will be accessible by the
client. Those objects will not placed in the result set and no
AuthorizationException will be thrown.
- Parameters:
results
- WorkflowSearchResultsMO to hold the results of the search. Note,
if the WorkflowSearchResultsMO object was constructed using a
different user context, that context will be changed to
match the context of this object.locale
- User's locale to be sorted with.- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to execute the search.
This is most likely caused by an invalid
parameter in the request.
getAccount
public AccountMO getAccount()
- Returns the human participant account.
- Returns:
- AccountMO representing the human participant account.