com.sap.mdm.workflow
Class ApprovalWorkflowTask
java.lang.Object
com.sap.mdm.workflow.AbstractWorkflowTask
com.sap.mdm.workflow.ActiveWorkflowTask
com.sap.mdm.workflow.ApprovalWorkflowTask
- All Implemented Interfaces:
- WorkflowTask
- public class ApprovalWorkflowTask
- extends ActiveWorkflowTask
This class represents the approval workflow task and includes results of approval step.
|
Constructor Summary |
ApprovalWorkflowTask(WorkflowJob job,
int status,
String[] userNames,
WorkflowStepId stepId,
String stepName,
String stepDescription,
int stepShapeType,
Date arriveTime,
Date startTime,
Date endTime,
WorkflowApprovalResult[] approvalResult)
Deprecated. Use ApprovalWorkflowTask(WorkflowJob, int, String[], WorkflowStepId, String, String, int, Date, Date, Date, WorkflowApprovalResult[], int) instead. |
ApprovalWorkflowTask(WorkflowJob job,
int status,
String[] userNames,
WorkflowStepId stepId,
String stepName,
String stepDescription,
int stepShapeType,
Date arriveTime,
Date startTime,
Date endTime,
WorkflowApprovalResult[] approvalResult,
int priority)
Constructor |
NONE_STATE
public static final int NONE_STATE
- See Also:
- Constant Field Values
APPROVED_STATE
public static final int APPROVED_STATE
- See Also:
- Constant Field Values
DISAPPROVED_STATE
public static final int DISAPPROVED_STATE
- See Also:
- Constant Field Values
ApprovalWorkflowTask
public ApprovalWorkflowTask(WorkflowJob job,
int status,
String[] userNames,
WorkflowStepId stepId,
String stepName,
String stepDescription,
int stepShapeType,
Date arriveTime,
Date startTime,
Date endTime,
WorkflowApprovalResult[] approvalResult)
- Deprecated. Use
ApprovalWorkflowTask(WorkflowJob, int, String[], WorkflowStepId, String, String, int, Date, Date, Date, WorkflowApprovalResult[], int) instead.
- Constructor
- Parameters:
job - workflow jobstatus - task statususerNames - user namesstepId - step IDstepName - step namestepDescription - step descriptionstepShapeType - step shape typearriveTime - arriving time of the taskstartTime - starting time of the taskendTime - ending time or deadline of the taskapprovalResult - approval result
ApprovalWorkflowTask
public ApprovalWorkflowTask(WorkflowJob job,
int status,
String[] userNames,
WorkflowStepId stepId,
String stepName,
String stepDescription,
int stepShapeType,
Date arriveTime,
Date startTime,
Date endTime,
WorkflowApprovalResult[] approvalResult,
int priority)
- Constructor
- Parameters:
job - workflow jobstatus - task statususerNames - user namesstepId - step IDstepName - step namestepDescription - step descriptionstepShapeType - step shape typearriveTime - arriving time of the taskstartTime - starting time of the taskendTime - ending time or deadline of the taskapprovalResult - approval resultpriority - priority of the task- Since:
- 7.1
getApprovalData
public WorkflowApprovalResult[] getApprovalData()
- Returns the result of approval step
- Returns:
- the approval results
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP
products and services mentioned herein as well as their respective logos
are trademarks or registered trademarks of SAP AG in Germany and in
several other countries all over the world. All other product and
service names mentioned are the trademarks of their respective
companies. Data contained in this document serves informational purposes
only. National product specifications may vary.
These materials are subject to change without notice. These materials
are provided by SAP AG and its affiliated companies (SAP Group) for
informational purposes only, without representation or warranty of any
kind, and SAP Group shall not be liable for errors or omissions with
respect to the materials. The only warranties for SAP Group products and
services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should
be construed as constituting an additional warranty.