com.sap.mdm.workflow
Class WorkflowJob

java.lang.Object
  extended bycom.sap.mdm.workflow.WorkflowJob

public class WorkflowJob
extends Object

The class represents Workflow Job


Constructor Summary
WorkflowJob(WorkflowJobId id, String name, String description, TableId tableId, RecordId[] recordIds, Date createTime, String owner)
          Constructor
WorkflowJob(WorkflowJobId id, String name, String description, TableId tableId, RecordId[] recordIds, Date createTime, String owner, int taskPriority)
          Deprecated. use WorkflowJob(WorkflowJobId, String, String, TableId, RecordId[], Date, String) instead.
 
Method Summary
 Date getCreateTime()
          Returns the time the workflow job created.
 String getDescription()
          Returns the workflow job description.
 WorkflowJobId getId()
          Returns the workflow job ID.
 String getJobOwner()
          Returns the owner of the workflow job.
 String getName()
          Returns the workflow job name.
 int getPriority()
          Deprecated. by ActiveWorkflowTask.getPriority()
 RecordId[] getRecords()
          Returns the array of record IDs for the workflow job.
 TableId getTableId()
          Returns the table ID which records are operated by this workflow job.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowJob

public WorkflowJob(WorkflowJobId id,
                   String name,
                   String description,
                   TableId tableId,
                   RecordId[] recordIds,
                   Date createTime,
                   String owner,
                   int taskPriority)
Deprecated. use WorkflowJob(WorkflowJobId, String, String, TableId, RecordId[], Date, String) instead.

Constructor

Parameters:
id - the job ID
name - the job name
description - the job description
tableId - the table ID
recordIds - the list of record IDs
createTime - the time the workflow job created
owner - the owner of the workflow job
taskPriority - the priority

WorkflowJob

public WorkflowJob(WorkflowJobId id,
                   String name,
                   String description,
                   TableId tableId,
                   RecordId[] recordIds,
                   Date createTime,
                   String owner)
Constructor

Parameters:
id - the job ID
name - the job name
description - the job description
tableId - the table ID
recordIds - the list of record IDs
createTime - the time the workflow job created
owner - the owner of the workflow job
Method Detail

getId

public WorkflowJobId getId()
Returns the workflow job ID.

Returns:
the workflow job ID.

getName

public String getName()
Returns the workflow job name.

Returns:
the workflow job name.

getDescription

public String getDescription()
Returns the workflow job description.

Returns:
the workflow job description.

getTableId

public TableId getTableId()
Returns the table ID which records are operated by this workflow job.

Returns:
the table ID

getRecords

public RecordId[] getRecords()
Returns the array of record IDs for the workflow job.

Returns:
the array of records for the workflow job.

getCreateTime

public Date getCreateTime()
Returns the time the workflow job created.

Returns:
the time the workflow job created.

getJobOwner

public String getJobOwner()
Returns the owner of the workflow job.

Returns:
the owner of the workflow job.

getPriority

public int getPriority()
Deprecated. by ActiveWorkflowTask.getPriority()

Returns the priority of the workflow task.

Returns:
the priority of the workflow task.


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.