java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.timesheet.timesheettask.history.BOTaskHistory
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOTaskHistory extends DynO
Business object representing a timesheet task history.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOTaskHistory

      public BOTaskHistory()
  • Method Details

    • getId

      public Long getId()
      Returns the task history id.
      Returns:
      the the task history id
    • setId

      public void setId(Long id)
      Sets the task history id.
      Parameters:
      id - the task history id
    • getTask

      public Long getTask()
      Returns the task id related to this history.
      Returns:
      the task id
      See Also:
    • setTask

      public void setTask(Long task)
      Sets the task related to this history.
      Parameters:
      task - the task id
      See Also:
    • getTimesheet

      public Long getTimesheet()
      Returns the id of the timesheet associated to the task.
      Returns:
      the timesheet id
      See Also:
    • setTimesheet

      public void setTimesheet(Long timesheet)
      Sets the the id of the timesheet associated to the task.
      Parameters:
      timesheet - the timesheet id
      See Also:
    • getCategory

      public Long getCategory()
      Returns the task category id.
      Returns:
      the category id
      See Also:
    • setCategory

      public void setCategory(Long category)
      Sets the task category id.
      Parameters:
      category - the category id
      See Also:
    • getState

      public Long getState()
      Returns the task state id.
      Returns:
      the state id
      See Also:
    • setState

      public void setState(Long state)
      Sets the task state id.
      Parameters:
      state - the state id
      See Also:
    • getShift

      public Long getShift()
      Returns the id of the shift to which the task refers.
      Returns:
      the shift id
      See Also:
    • setShift

      public void setShift(Long shift)
      Sets the id of the shift to which the task refers.
      Parameters:
      shift - the shift id
      See Also:
    • getOnCallShift

      public Long getOnCallShift()
      Returns the id of the "on call" shift to which the task refers.
      Returns:
      the on call shift id
      See Also:
    • setOnCallShift

      public void setOnCallShift(Long onCallShift)
      Sets the id of the "on call" shift to which the task refers.
      Parameters:
      onCallShift - the on call shift id
      See Also:
    • getStartDate

      public Date getStartDate()
      Returns the task start date.
      Returns:
      the start date
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the task start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public Date getEndDate()
      Returns the task end date.
      Returns:
      the end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the task end date.
      Parameters:
      endDate - the end date
    • getDuration

      public Long getDuration()
      Returns the task duration (mins).
      Returns:
      the duration
    • setDuration

      public void setDuration(Long duration)
      Sets the task duration (mins).
      Parameters:
      duration - the duration
    • getActualDuration

      public Long getActualDuration()
      Returns the actual duration (mins) of the task.
      Returns:
      the actual duration
    • setActualDuration

      public void setActualDuration(Long actualDuration)
      Sets the actual duration (mins) of the task.
      Parameters:
      actualDuration - the actual duration
    • getStartEventType

      public Long getStartEventType()
      Returns the start event type id of the task.
      Returns:
      the start event type id
      See Also:
    • setStartEventType

      public void setStartEventType(Long startEventType)
      Sets the start event type id of the task.
      Parameters:
      startEventType - the start event type id
      See Also:
    • getStartEventEntity

      public Long getStartEventEntity()
      Returns the start event entity id of the task.
      Returns:
      the start event entity id
      See Also:
    • setStartEventEntity

      public void setStartEventEntity(Long startEventEntity)
      Sets the start event entity id of the task.
      Parameters:
      startEventEntity - the start event entity id
      See Also:
    • getEndEventType

      public Long getEndEventType()
      Returns the end event type id of the task.
      Returns:
      the end event type id
      See Also:
    • setEndEventType

      public void setEndEventType(Long endEventType)
      Sets the end event type id of the task.
      Parameters:
      endEventType - the end event type id
      See Also:
    • getEndEventEntity

      public Long getEndEventEntity()
      Returns the end event entity id of the task.
      Returns:
      the end event entity id
      See Also:
    • setEndEventEntity

      public void setEndEventEntity(Long endEventEntity)
      Sets the end event entity id of the task.
      Parameters:
      endEventEntity - the end event entity id
      See Also:
    • getUnavailabilityReason

      public Long getUnavailabilityReason()
      Returns the unavailability reason of the task.
      Returns:
      the unavailability reason id
    • setUnavailabilityReason

      public void setUnavailabilityReason(Long unavailabilityReason)
      Sets the unavailability reason of the task.
      Parameters:
      unavailabilityReason - the unavailability reason id
    • getNote

      public String getNote()
      Returns the note of the task.
      Returns:
      the note
    • setNote

      public void setNote(String note)
      Sets the note of the task.
      Parameters:
      note - the note
    • getUpdatedByUser

      public Boolean getUpdatedByUser()
      Checks if the task has been manually edited by the user.
      Returns:
      true if the task has been manually edited by the user, false otherwise
    • setUpdatedByUser

      public void setUpdatedByUser(Boolean updatedByUser)
      Sets the the task as updated by user.
      Parameters:
      updatedByUser - true if the task has been manually edited by the user, false otherwise
    • getPreviousTask

      public Long getPreviousTask()
      If the original task was split into other tasks, this represents the id of the related previous task.
      Returns:
      the previous task id
    • setPreviousTask

      public void setPreviousTask(Long previousTask)
      If the original task was split into other tasks, this sets the id of the related previous task.
      Parameters:
      previousTask - the previous task id
    • getNextTask

      public Long getNextTask()
      If the original task was split into other tasks, this represents the id of the related next task.
      Returns:
      the next task id
    • setNextTask

      public void setNextTask(Long nextTask)
      If the original task was split into other tasks, this sets the id of the related next task.
      Parameters:
      nextTask - the next task id
    • getHistoryUser

      public Long getHistoryUser()
      Returns the id of the user who created this historical record.
      Returns:
      the user id who created the history entry
    • setHistoryUser

      public void setHistoryUser(Long historyUser)
      Sets the id of the user who created this historical record.
      Parameters:
      historyUser - the user id who created the history entry