|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowContext
Allows a WorkPoint workflow script to approve or reject a
workflow process. Also allows a script to retrieve
the list of approvers for a workflow activity.
This interface also provides access to:
IMContext
information about the current task.
EventContext
information (read/write) about managed
objects associated with the current event.
IMPersistentContext
methods for
passing user-defined data between scripts in a given workflow process.
The persisted data is not written to the data store.
ProviderAccessor
methods for accessing
managed objects in the data store.
generateWorkflowContext()
.
Method Summary | |
---|---|
void |
approve(java.util.Hashtable userData)
Approves the workflow process. |
AdminRole |
getAdminRole(java.lang.String roleName,
java.util.Vector attributes)
|
Group |
getGroup(java.lang.String groupName,
java.util.Vector attributes)
|
Organization |
getOrganization(java.lang.String orgName,
java.util.Vector attributes)
|
java.lang.Object |
getParticipants(java.util.Hashtable userData,
java.lang.String wfApprovalTaskName,
IWFObjectId workItemId)
Retrieves the participants who are authorized to approve or reject the specified workflow activity. |
int |
getTimeout(java.util.Hashtable metaData,
java.lang.String activityName,
IWFObjectId workItemId)
|
User |
getUser(java.lang.String userName,
java.util.Vector attributes)
|
java.lang.Object |
getUserAccounts(java.lang.String username)
|
java.lang.Object |
getUserAdminRolesAdministrators(java.lang.String username)
|
java.lang.Object |
getUserAdminRolesMembership(java.lang.String username)
|
java.lang.Object |
getUserGroups(java.lang.String username)
|
java.lang.Object |
getUserProvisioningRolesAdministrators(java.lang.String username)
|
java.lang.Object |
getUserProvisioningRolesMembership(java.lang.String username)
|
void |
reject(java.util.Hashtable userData)
Rejects the workflow process. |
Methods inherited from interface com.netegrity.imapi.EventContext |
---|
generateEvent, getEvent, getEventDescription, getEventName |
Methods inherited from interface com.netegrity.imapi.IMPersistentContext |
---|
getPersistentData, setPersistentData |
Methods inherited from interface com.netegrity.imapi.IMContext |
---|
getAuxDataRoot, getLocalizer, getLocalizer, getSessionAttribute, removeSessionAttribute, setSessionAttribute |
Methods inherited from interface com.netegrity.imapi.Logger |
---|
logDebugMessage, logErrorMessage, logInfoMessage, logWarningMessage |
Method Detail |
---|
void approve(java.util.Hashtable userData) throws java.lang.Exception
userData
- Information defined in the User Data tab of the
WorkPoint Activity Properties dialog box.
This information includes the identifier of
the participant resolver and any user-defined data.
java.lang.Exception
java.lang.Object getParticipants(java.util.Hashtable userData, java.lang.String wfApprovalTaskName, IWFObjectId workItemId) throws java.lang.Exception
IM Approvers
, which is specified
in the Select Resources dialog box for the activity's properties.
This script should not be modified. However, you can customize the
participant list using this method.
userData
- Information defined in the User Data tab of the
WorkPoint Activity Properties dialog box.
This information includes the identifier of
the participant resolver and any user-defined data.wfApprovalTaskName
- The name of the Identity Manager workflow approval task
associated with this activity. The task name is the
same as the activity name.workItemId
- The workitem Id this request is related to, for audit.
java.lang.Exception
void reject(java.util.Hashtable userData) throws java.lang.Exception
userData
- Information defined in the User Data tab of the
WorkPoint Activity Properties dialog box.
This information includes the identifier of
the participant resolver and any user-defined data.
java.lang.Exception
User getUser(java.lang.String userName, java.util.Vector attributes)
Group getGroup(java.lang.String groupName, java.util.Vector attributes)
Organization getOrganization(java.lang.String orgName, java.util.Vector attributes)
AdminRole getAdminRole(java.lang.String roleName, java.util.Vector attributes)
java.lang.Object getUserAdminRolesMembership(java.lang.String username) throws java.lang.Exception
java.lang.Exception
java.lang.Object getUserAdminRolesAdministrators(java.lang.String username) throws java.lang.Exception
java.lang.Exception
java.lang.Object getUserProvisioningRolesMembership(java.lang.String username) throws java.lang.Exception
java.lang.Exception
java.lang.Object getUserProvisioningRolesAdministrators(java.lang.String username) throws java.lang.Exception
java.lang.Exception
java.lang.Object getUserGroups(java.lang.String username) throws java.lang.Exception
java.lang.Exception
java.lang.Object getUserAccounts(java.lang.String username) throws java.lang.Exception
java.lang.Exception
int getTimeout(java.util.Hashtable metaData, java.lang.String activityName, IWFObjectId workItemId) throws java.lang.Exception
java.lang.Exception
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |