Class ActivityHistoryRecord

java.lang.Object
com.ptc.projectmanagement.history.ActivityHistoryRecord
All Implemented Interfaces:
Serializable

public class ActivityHistoryRecord extends Object implements Serializable
This class object holds that dates fetched from history records for a 'Scheduleable'. This 'Scheduleable' object should have implemented 'HistoryRecordable' so that its history would have recorded.

Supported API: true Following methods return real-time dates for the events. getRealstart() - returns the date when the 'Scheduleable' has actually been started. getRealFinish() - returns the date when the 'Scheduleable' has actually been completed. refresh() - This method should be called when we want to re-fetch the dates from history records. It will be useful if 'Scheduleable' is updated and we want to get the values updated into 'ActivityHistoryRecord'
See Also:
  • Method Details

    • refresh

      public void refresh() throws WTException
      This method should be called when we want to re-fetch the dates from history records. It will be useful if 'Scheduleable' is updated and we want to get the values updated into 'ActivityHistoryRecord'

      Supported API: true
      Throws:
      WTException
    • getRealstart

      public Timestamp getRealstart()
      Returns the date when the 'Scheduleable' has actually been started.

      Supported API: true
      Returns:
      Timestamp
    • getRealFinish

      public Timestamp getRealFinish()
      Returns the date when the 'Scheduleable' has actually been completed.

      Supported API: true
      Returns:
      Timestamp