com.sap.netweaver.bc.uwl

Class WorkLog

java.lang.Object
  extended bycom.sap.netweaver.bc.uwl.WorkLog

public class WorkLog
extends Object

The WorkLog class defines the structure to hold status data for a workflow. It contains a list of StepLog that describe the executed and/or pending actions carried out of the workflow
Main data includes the name of the overall workflow, time started, initiated by who, and the current status...

See Also:
IProviderConnector, com.sap.netweaver.bc.uwl.connect.PriorityEnum, com.sap.netweaver.bc.uwl.connect.StatusEnum, com.sap.netweaver.bc.uwl.connect.StepLog

Constructor Summary
WorkLog(List stepsProcessed)
          For log data with single step only withOUT workflow instance
WorkLog(String instanceId, String title, Date createdTime, String initiator, StatusEnum status, PriorityEnum priority, Date completedTime, Date dueDate, List stepsProcessed)
           
WorkLog(String instanceId, String title, Date createdTime, String initiator, StatusEnum status, PriorityEnum priority, Date dueDate, List stepsProcessed)
          Mainly for unfinished workflow with due date
WorkLog(String instanceId, String title, Date createdTime, String initiator, StatusEnum status, PriorityEnum priority, List stepsProcessed)
          Mainly for unfinished workflow
 
Method Summary
 Date getCompletedTime()
           
 Date getCreatedTime()
           
 Date getDueDate()
           
 String getInitiator()
           
 PriorityEnum getPriority()
           
 StatusEnum getStatus()
           
 List getStepsProcessed()
           
 String getTitle()
           
 String getWorkflowInstanceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkLog

public WorkLog(List stepsProcessed)
For log data with single step only withOUT workflow instance

Parameters:
stepsProcessed -

WorkLog

public WorkLog(String instanceId,
               String title,
               Date createdTime,
               String initiator,
               StatusEnum status,
               PriorityEnum priority,
               List stepsProcessed)
Mainly for unfinished workflow

Parameters:
instanceId - Can be null
title -
createdTime -
initiator -
status -
priority -
stepsProcessed -

WorkLog

public WorkLog(String instanceId,
               String title,
               Date createdTime,
               String initiator,
               StatusEnum status,
               PriorityEnum priority,
               Date dueDate,
               List stepsProcessed)
Mainly for unfinished workflow with due date

Parameters:
instanceId - Can be null
title -
createdTime -
initiator -
status -
priority -
dueDate - Can be null
stepsProcessed -

WorkLog

public WorkLog(String instanceId,
               String title,
               Date createdTime,
               String initiator,
               StatusEnum status,
               PriorityEnum priority,
               Date completedTime,
               Date dueDate,
               List stepsProcessed)
Parameters:
instanceId - Can be null
title -
createdTime -
initiator -
status -
priority -
completedTime - Can be null for unfinished workflow. Required for completed workflow.
dueDate - Can be null
stepsProcessed -
Method Detail

getWorkflowInstanceId

public String getWorkflowInstanceId()

getTitle

public String getTitle()

getCreatedTime

public Date getCreatedTime()

getInitiator

public String getInitiator()

getStatus

public StatusEnum getStatus()

getPriority

public PriorityEnum getPriority()

getCompletedTime

public Date getCompletedTime()

getDueDate

public Date getDueDate()

getStepsProcessed

public List getStepsProcessed()


Copyright 2006 SAP AG Complete Copyright Notice