com.sap.mdm.workflow
Interface WorkflowTask

All Known Implementing Classes:
AbstractWorkflowTask

public interface WorkflowTask

This interface represents all workflow tasks (active and inactive)

See Also:
AbstractWorkflowTask, ActiveWorkflowTask, InactiveWorkflowTask

Nested Class Summary
static interface WorkflowTask.Priority
           
static interface WorkflowTask.ShapeType
           
static interface WorkflowTask.Status
           
static interface WorkflowTask.Type
           
 
Method Summary
 Date getArriveTime()
          Returns arriving time of this workflow task
 Date getEndTime()
          Returns the ending time or deadline for a workflow task.
 WorkflowJob getJob()
          Returns the workflow job the current task belongs to.
 Date getStartTime()
          Returns the starting time for a workflow task.
 int getStatus()
          Returns the workflow task status.
 String getStatusName()
          Returns the status name correspondent to the default Locale
 String getStatusName(Locale locale)
          Returns the language specific status name
 String getStepDescription()
          Returns the description of workflow step that is going to be evaluated in this task
 WorkflowStepId getStepId()
          Returns the ID of workflow step that is going to be evaluated in this task
 String getStepName()
          Returns the name of workflow step that is going to be evaluated in this task
 int getStepShapeType()
          Returns the shape type of workflow step that is going to be evaluated in this task
 String[] getUserNames()
          Returns names of users the current task is assigned to.
 

Method Detail

getJob

public WorkflowJob getJob()
Returns the workflow job the current task belongs to.

Returns:
the workflow job

getStatus

public int getStatus()
Returns the workflow task status.

Returns:
the status.

getUserNames

public String[] getUserNames()
Returns names of users the current task is assigned to.

Returns:
array of user names.

getArriveTime

public Date getArriveTime()
Returns arriving time of this workflow task

Returns:
the arrive time

getEndTime

public Date getEndTime()
Returns the ending time or deadline for a workflow task.

Returns:
the end time

getStartTime

public Date getStartTime()
Returns the starting time for a workflow task.

Returns:
the start time

getStepDescription

public String getStepDescription()
Returns the description of workflow step that is going to be evaluated in this task

Returns:
the step description

getStepId

public WorkflowStepId getStepId()
Returns the ID of workflow step that is going to be evaluated in this task

Returns:
the step ID

getStepName

public String getStepName()
Returns the name of workflow step that is going to be evaluated in this task

Returns:
the step name

getStepShapeType

public int getStepShapeType()
Returns the shape type of workflow step that is going to be evaluated in this task

Returns:
the step shape type

getStatusName

public String getStatusName()
Returns the status name correspondent to the default Locale

Returns:
default language status name

getStatusName

public String getStatusName(Locale locale)
Returns the language specific status name

Parameters:
locale - the Locale defining the language for status name
Returns:
the language specific status name


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.