| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WorkflowResourceMO
Interface for obtaining the assignments of a resource participating in workflow processes. It's for the clients of API to use this but not to implement.
| Method Summary | |
|---|---|
 void | 
getAssignmentGroups(WorkflowSearchResultsMO results,
                    java.util.Locale locale)
Retrieves groups of assignments for the participant involved.  | 
 java.util.Collection | 
getAssignments()
Returns the assignments representing the human participant account.  | 
 void | 
getAssignments(WorkflowSearchResultsMO results,
               java.util.Locale locale)
Retrieves the assignments for the participant involved.  | 
 void | 
getAssignments(WorkflowSearchResultsMO results,
               java.lang.String processDesignId,
               java.lang.String activityDesignId,
               java.util.Locale locale)
Retrieves the assignments for the participant with the given process design id and activity design id.  | 
| Method Detail | 
|---|
java.util.Collection getAssignments()
                                    throws java.rmi.RemoteException,
                                           AuthorizationException,
                                           ApplicationException
WorkflowAssignmentMO for the human resource.
- Throws:
 java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if subject is not a System       Administrator
                                         and try to obtain assignments representing the human participant
                                         account other than himself.
ApplicationException - Thrown if unable to retrieve the resource's
            assignments.- See Also:
 WorkflowAssignmentMO
void getAssignments(WorkflowSearchResultsMO results,
                    java.util.Locale locale)
                    throws java.rmi.RemoteException,
                           ApplicationException
results - WorkflowSearchResultsMO provides accessor methods to
                                        retrieve results (Collection of Assignment)
                                        of the search.locale - User's locale to sort with. null value defaults
                                                to Locale.US
- Throws:
 java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to retrieve the resource's
            assignments.- See Also:
 Assignment
void getAssignments(WorkflowSearchResultsMO results,
                    java.lang.String processDesignId,
                    java.lang.String activityDesignId,
                    java.util.Locale locale)
                    throws java.rmi.RemoteException,
                           AuthorizationException,
                           ApplicationException
results - WorkflowSearchResultsMO provides accessor methods to
                                        retrieve results (Collection of Assignment)
                                        of the search.processDesignId - Design Id of the process definition to query for 
                                                        AssignmentGroup.getProcessDesignId().activityDesignId - Design Id of the activity definition to query for
                                                        AssignmentGroup.getActivityDesignId().locale - User's locale to sort with. null value defaults
                                                to Locale.US
- Throws:
 java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if subject is not a System       Administrator
                                         and try to obtain assignments representing the human participant
                                         account other than himself.
ApplicationException - Thrown if unable to retrieve the resource's
            assignments.- See Also:
 Assignment
void getAssignmentGroups(WorkflowSearchResultsMO results,
                         java.util.Locale locale)
                         throws java.rmi.RemoteException,
                                AuthorizationException,
                                ApplicationException
results - WorkflowSearchResultsMO provides accessor methods to
                                        retrieve results (Collection of AssignmentGroup)
                                        of the search.locale - User's locale to sort with. null value defaults
                                                to Locale.US
- Throws:
 java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if subject is not a System       Administrator
                                         and try to obtain assignments representing the human participant
                                         account other than himself.
ApplicationException - Thrown if unable to retrieve the resource's
            assignments.- See Also:
 AssignmentGroup
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||