|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addRuntimeDefinedUserToRole(IGPProcessInstance processInstance,
String roleName,
IUser runtimeUser,
IGPUserContext userContext)
This method adds an user to a process role instance during runtime |
void |
completeAction(IGPActionCompletionData actionCompletionData)
|
IGPActionCompletionData |
createActionCompletionData(String processInstanceID,
String actionInstanceID,
IGPUserContext userContext)
|
IGPActionCompletionData |
createActionCompletionData(String processInstanceID,
String actionInstanceID,
IUser user)
Deprecated. |
IGPProcessRoleInstanceList |
createProcesRoleInstanceList()
Deprecated. This method creates an initial IGPProcessRoleInstanceList needed for starting a process. |
IGPProcessRoleInstanceList |
createProcessRoleInstanceList()
This method creates an initial IGPProcessRoleInstanceList needed for starting a process. |
IGPActionInstance |
getActionInstance(String processId,
String actionId,
IGPUserContext userContext)
Returns the action instance information for the given parameters. |
IGPActionInstance |
getActionInstance(String processId,
String actionId,
IUser user)
Deprecated. Returns the action instance information for the given parameters. |
IGPProcessInfo[] |
getActiveProcessTemplatesByCategory(String categoryId,
IUser user)
Deprecated. Returns information for all active process templates. |
IGPRuntimeAttachmentList |
getAttachmentList(String processInstanceID,
String activityInstanceID,
IUser user)
Returns the list of attachments associated with a given activity in a given process instance. |
IGPBlockInstance |
getBlockInstance(String processId,
String blockId,
IGPUserContext userContext)
Returns the block instance information for the given parameters. |
IGPBlockInstance |
getBlockInstance(String processId,
String blockId,
IUser user)
Deprecated. Returns the block instance information for the given parameters. |
IGPProcessInstanceInfo[] |
getCompletedInstances(GPSearchRole searchRole,
Date startDate,
Date endDate,
IGPUserContext userContext)
Returns information for completed process instances for the specified parameters. |
IGPProcessInstanceInfo[] |
getCompletedInstances(int searchRole,
Date startDate,
Date endDate,
IUser user)
Deprecated. Returns information for completed process instances for the specified parameters. |
IGPProcessInstance |
getProcessInstance(IGPProcessInstanceInfo processInstanceInfo,
IGPUserContext userContext)
Returns the process instance for a process instance info object (e.g. click on list of processes to jump into one special process) |
IGPProcessInstance |
getProcessInstance(IGPProcessInstanceInfo processInstanceInfo,
IUser user)
Deprecated. Returns the process instance for a process instance info object (e.g. click on list of processes to jump into one special process) |
IGPProcessInstance |
getProcessInstance(String processId,
IGPUserContext userContext)
Returns the process instance information for the given parameters. |
IGPProcessInstance |
getProcessInstance(String processId,
IUser user)
Deprecated. Returns the process instance information for the given parameters. |
IGPProcessInstanceInfo[] |
getRunningInstances(GPSearchRole searchRole,
Date startDate,
Date endDate,
IGPUserContext userContext)
Returns information for running process instances for the specified parameters. |
IGPProcessInstanceInfo[] |
getRunningInstances(int searchRole,
Date startDate,
Date endDate,
IUser user)
Deprecated. Returns information for running process instances for the specified parameters. |
IGPWorkItem[] |
getWorkItems(GPWorkItemStatus status,
IGPUserContext userContext)
Returns the workitems with a given status for a given user. |
IGPWorkItem[] |
getWorkItems(int status,
IUser user)
Deprecated. Returns information for workitems with a given status for a given user. |
void |
persistAttachmentList(String processInstanceID,
String activityInstanceID,
IGPRuntimeAttachmentList attachments,
IUser user)
Saves the given list of attachments for the given activity and process instance and returns it. |
void |
setCustomProcessTitle(String processInstanceID,
String title)
The custom process title of a running process can be reset. |
IGPProcessInstance |
startProcess(IGPProcess processTemplate,
String userProvidedName,
String userProvidedDescription,
IUser initiator,
IGPProcessRoleInstanceList processRoleInstanceList,
IGPStructure startStructure,
IUser user)
|
IGPProcessInstance |
stopProcess(IGPProcessInstance processInstance,
IGPUserContext userContext)
Stops a running process. |
IGPProcessInstance |
stopProcess(IGPProcessInstance processInstance,
IUser user)
Deprecated. Stops a running process. |
| Method Detail |
public IGPProcessRoleInstanceList createProcesRoleInstanceList()
public IGPProcessRoleInstanceList createProcessRoleInstanceList()
public IGPProcessInstance startProcess(IGPProcess processTemplate,
String userProvidedName,
String userProvidedDescription,
IUser initiator,
IGPProcessRoleInstanceList processRoleInstanceList,
IGPStructure startStructure,
IUser user)
throws GPEngineException,
GPInvocationException
processTemplate - userProvidedName - userProvidedDescription - initiator - processRoleInstanceList - startStructure - user -
GPEngineException
GPInvocationException
public IGPProcessInstance stopProcess(IGPProcessInstance processInstance,
IUser user)
throws GPEngineException,
GPInvocationException
processInstance - NOT NULLuser - NOT NULL
GPEngineException
GPInvocationException
public IGPProcessInstance stopProcess(IGPProcessInstance processInstance,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processInstance - NOT NULLuserContext - NOT NULL
GPEngineException
GPInvocationException
public void addRuntimeDefinedUserToRole(IGPProcessInstance processInstance,
String roleName,
IUser runtimeUser,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processInstance - NOT NULLroleName - NOT NULLruntimeUser - NOT NULLuserContext - NOT NULL
GPEngineException
GPInvocationException
public void setCustomProcessTitle(String processInstanceID,
String title)
throws GPEngineException,
GPInvocationException
processInstanceID - NOT NULLtitle -
GPEngineException
GPInvocationException
public void completeAction(IGPActionCompletionData actionCompletionData)
throws GPEngineException,
GPInvocationException
actionCompletionData -
GPEngineException
GPInvocationException
public IGPActionCompletionData createActionCompletionData(String processInstanceID,
String actionInstanceID,
IUser user)
throws GPEngineException,
GPInvocationException
processInstanceID - NOT NULLactionInstanceID - NOT NULLuser - NOT NULL
GPEngineException
GPInvocationException
public IGPActionCompletionData createActionCompletionData(String processInstanceID,
String actionInstanceID,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processInstanceID - NOT NULLactionInstanceID - NOT NULLuserContext - NOT NULL
GPEngineException
GPInvocationException
public IGPProcessInstance getProcessInstance(IGPProcessInstanceInfo processInstanceInfo,
IUser user)
throws GPEngineException,
GPInvocationException
processInstanceInfo - NOT NULLuser - NOT NULL
GPEngineException
GPInvocationException
public IGPProcessInstance getProcessInstance(IGPProcessInstanceInfo processInstanceInfo,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processInstanceInfo - NOT NULLuserContext - NOT NULL
GPEngineException
GPInvocationException
public IGPActionInstance getActionInstance(String processId,
String actionId,
IUser user)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLactionId - String NOT NULLuser - IUser NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPActionInstance getActionInstance(String processId,
String actionId,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLactionId - String NOT NULLuserContext - IGPUserContext NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPBlockInstance getBlockInstance(String processId,
String blockId,
IUser user)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLblockId - String NOT NULLuser - IUser NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPBlockInstance getBlockInstance(String processId,
String blockId,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLblockId - String NOT NULLuserContext - IGPUserContext NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPProcessInstance getProcessInstance(String processId,
IUser user)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLuser - IUser NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPProcessInstance getProcessInstance(String processId,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
processId - String NOT NULLuserContext - IGPUserContext NOT NULL
ProcessInformationException
GPEngineException
GPInvocationException
public IGPProcessInfo[] getActiveProcessTemplatesByCategory(String categoryId,
IUser user)
throws GPEngineException,
GPInvocationException
categoryId - user - IUser NOT NULL
ProcessReportingException
GPEngineException
GPInvocationException
public IGPProcessInstanceInfo[] getRunningInstances(int searchRole,
Date startDate,
Date endDate,
IUser user)
throws GPEngineException,
GPInvocationException
searchRole - - one of the constants in com.sap.caf.eu.gp.process.api.ISearchRolesInformationstartDate - endDate - user - IUser NOT NULL
ProcessReportingException
GPEngineException
GPInvocationException
public IGPProcessInstanceInfo[] getRunningInstances(GPSearchRole searchRole,
Date startDate,
Date endDate,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
searchRole - - one of the constants of GPSearchRole.SEARCH_ROLE_*startDate - - NOT NULL or endDate is NOT NULLendDate - - NOT NULL or startDate is NOT NULLuserContext - IGPUserContext NOT NULL
ProcessReportingException - - You will get a ProcessReportingException, if startDate and endDate is NULL or user is null
GPEngineException
GPInvocationException
public IGPProcessInstanceInfo[] getCompletedInstances(int searchRole,
Date startDate,
Date endDate,
IUser user)
throws GPEngineException,
GPInvocationException
searchRole - - one of the constants in com.sap.caf.eu.gp.process.api.ISearchRolesInformationstartDate - endDate - user - IUser NOT NULL
ProcessReportingException
GPEngineException
GPInvocationException
public IGPProcessInstanceInfo[] getCompletedInstances(GPSearchRole searchRole,
Date startDate,
Date endDate,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
searchRole - - one of the constants of GPSearchRole.SEARCH_ROLE_*startDate - - NOT NULL or endDate is NOT NULLendDate - - NOT NULL or startDate is NOT NULLuserContext - IGPUserContext NOT NULL
ProcessReportingException - - You will get a ProcessReportingException, if startDate and endDate is NULL or user is null
GPEngineException
GPInvocationException
public IGPWorkItem[] getWorkItems(int status,
IUser user)
throws GPEngineException,
GPInvocationException
status - user - IUser NOT NULL
ProcessReportingException
GPEngineException
GPInvocationException
public IGPWorkItem[] getWorkItems(GPWorkItemStatus status,
IGPUserContext userContext)
throws GPEngineException,
GPInvocationException
status - NOT NULL - one of the constants in com.sap.caf.eu.gp.process.api.GPWorkItemStatususerContext - IGPUserContext NOT NULL
ProcessReportingException
GPEngineException
GPInvocationException
public IGPRuntimeAttachmentList getAttachmentList(String processInstanceID,
String activityInstanceID,
IUser user)
throws GPEngineException,
GPInvocationException
If the activityInstanceID is null, retrieve the attachments of
the process instance only. Otherwise, retrieve the attachment list of the activity instance.
processInstanceID - process instance idactivityInstanceID - activity instance id, can be nulluser - user
GPEngineException - in case of internal error
GPInvocationException - in case of invalid arguments
public void persistAttachmentList(String processInstanceID,
String activityInstanceID,
IGPRuntimeAttachmentList attachments,
IUser user)
throws GPEngineException,
GPInvocationException
If the activityInstanceID is null, persist the attachments of
the process instance only. Otherwise, persist the attachment list of the activity instance.
processInstanceID - process instance idactivityInstanceID - activity instance id, can be null in case ofattachments - modified run time attachment listuser - user
GPEngineException - in case of internal error
GPInvocationException - in case of invalid arguments
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||