com.sap.mdm.workflow
Class ApprovalWorkflowTask

java.lang.Object
  extended bycom.sap.mdm.workflow.AbstractWorkflowTask
      extended bycom.sap.mdm.workflow.ActiveWorkflowTask
          extended bycom.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.


Nested Class Summary
 
Nested classes inherited from class com.sap.mdm.workflow.WorkflowTask
WorkflowTask.Priority, WorkflowTask.ShapeType, WorkflowTask.Status, WorkflowTask.Type
 
Field Summary
static int APPROVED_STATE
           
static int DISAPPROVED_STATE
           
static int NONE_STATE
           
 
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
 
Method Summary
 WorkflowApprovalResult[] getApprovalData()
          Returns the result of approval step
 
Methods inherited from class com.sap.mdm.workflow.ActiveWorkflowTask
getArriveTime, getEndTime, getPriority, getStartTime, getStepDescription, getStepId, getStepName, getStepShapeType
 
Methods inherited from class com.sap.mdm.workflow.AbstractWorkflowTask
getJob, getStatus, getStatusName, getStatusName, getUserNames
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 job
status - task status
userNames - user names
stepId - step ID
stepName - step name
stepDescription - step description
stepShapeType - step shape type
arriveTime - arriving time of the task
startTime - starting time of the task
endTime - ending time or deadline of the task
approvalResult - 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 job
status - task status
userNames - user names
stepId - step ID
stepName - step name
stepDescription - step description
stepShapeType - step shape type
arriveTime - arriving time of the task
startTime - starting time of the task
endTime - ending time or deadline of the task
approvalResult - approval result
priority - priority of the task
Since:
7.1
Method Detail

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.