Class BOTaskHistory
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
Business object representing a timesheet task history.
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the actual duration (mins) of the task.Returns the task category id.Returns the task duration (mins).Returns the task end date.Returns the end event entity id of the task.Returns the end event type id of the task.Returns the id of the user who created this historical record.getId()Returns the task history id.If the original task was split into other tasks, this represents the id of the related next task.getNote()Returns the note of the task.Returns the id of the "on call" shift to which the task refers.If the original task was split into other tasks, this represents the id of the related previous task.getShift()Returns the id of the shift to which the task refers.Returns the task start date.Returns the start event entity id of the task.Returns the start event type id of the task.getState()Returns the task state id.getTask()Returns the task id related to this history.Returns the id of the timesheet associated to the task.Returns the unavailability reason of the task.Checks if the task has been manually edited by the user.voidsetActualDuration(Long actualDuration) Sets the actual duration (mins) of the task.voidsetCategory(Long category) Sets the task category id.voidsetDuration(Long duration) Sets the task duration (mins).voidsetEndDate(Date endDate) Sets the task end date.voidsetEndEventEntity(Long endEventEntity) Sets the end event entity id of the task.voidsetEndEventType(Long endEventType) Sets the end event type id of the task.voidsetHistoryUser(Long historyUser) Sets the id of the user who created this historical record.voidSets the task history id.voidsetNextTask(Long nextTask) If the original task was split into other tasks, this sets the id of the related next task.voidSets the note of the task.voidsetOnCallShift(Long onCallShift) Sets the id of the "on call" shift to which the task refers.voidsetPreviousTask(Long previousTask) If the original task was split into other tasks, this sets the id of the related previous task.voidSets the id of the shift to which the task refers.voidsetStartDate(Date startDate) Sets the task start date.voidsetStartEventEntity(Long startEventEntity) Sets the start event entity id of the task.voidsetStartEventType(Long startEventType) Sets the start event type id of the task.voidSets the task state id.voidSets the task related to this history.voidsetTimesheet(Long timesheet) Sets the the id of the timesheet associated to the task.voidsetUnavailabilityReason(Long unavailabilityReason) Sets the unavailability reason of the task.voidsetUpdatedByUser(Boolean updatedByUser) Sets the the task as updated by user.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOTaskHistory
public BOTaskHistory()
-
-
Method Details
-
getId
Returns the task history id.- Returns:
- the the task history id
-
setId
Sets the task history id.- Parameters:
id- the task history id
-
getTask
Returns the task id related to this history.- Returns:
- the task id
- See Also:
-
setTask
Sets the task related to this history.- Parameters:
task- the task id- See Also:
-
getTimesheet
Returns the id of the timesheet associated to the task.- Returns:
- the timesheet id
- See Also:
-
setTimesheet
Sets the the id of the timesheet associated to the task.- Parameters:
timesheet- the timesheet id- See Also:
-
getCategory
Returns the task category id.- Returns:
- the category id
- See Also:
-
setCategory
Sets the task category id.- Parameters:
category- the category id- See Also:
-
getState
Returns the task state id.- Returns:
- the state id
- See Also:
-
setState
Sets the task state id.- Parameters:
state- the state id- See Also:
-
getShift
Returns the id of the shift to which the task refers.- Returns:
- the shift id
- See Also:
-
setShift
Sets the id of the shift to which the task refers.- Parameters:
shift- the shift id- See Also:
-
getOnCallShift
Returns the id of the "on call" shift to which the task refers.- Returns:
- the on call shift id
- See Also:
-
setOnCallShift
Sets the id of the "on call" shift to which the task refers.- Parameters:
onCallShift- the on call shift id- See Also:
-
getStartDate
Returns the task start date.- Returns:
- the start date
-
setStartDate
Sets the task start date.- Parameters:
startDate- the start date
-
getEndDate
Returns the task end date.- Returns:
- the end date
-
setEndDate
Sets the task end date.- Parameters:
endDate- the end date
-
getDuration
Returns the task duration (mins).- Returns:
- the duration
-
setDuration
Sets the task duration (mins).- Parameters:
duration- the duration
-
getActualDuration
Returns the actual duration (mins) of the task.- Returns:
- the actual duration
-
setActualDuration
Sets the actual duration (mins) of the task.- Parameters:
actualDuration- the actual duration
-
getStartEventType
Returns the start event type id of the task.- Returns:
- the start event type id
- See Also:
-
setStartEventType
Sets the start event type id of the task.- Parameters:
startEventType- the start event type id- See Also:
-
getStartEventEntity
Returns the start event entity id of the task.- Returns:
- the start event entity id
- See Also:
-
setStartEventEntity
Sets the start event entity id of the task.- Parameters:
startEventEntity- the start event entity id- See Also:
-
getEndEventType
Returns the end event type id of the task.- Returns:
- the end event type id
- See Also:
-
setEndEventType
Sets the end event type id of the task.- Parameters:
endEventType- the end event type id- See Also:
-
getEndEventEntity
Returns the end event entity id of the task.- Returns:
- the end event entity id
- See Also:
-
setEndEventEntity
Sets the end event entity id of the task.- Parameters:
endEventEntity- the end event entity id- See Also:
-
getNote
Returns the note of the task.- Returns:
- the note
-
setNote
Sets the note of the task.- Parameters:
note- the note
-
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
Sets the the task as updated by user.- Parameters:
updatedByUser- true if the task has been manually edited by the user, false otherwise
-
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
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
If the original task was split into other tasks, this represents the id of the related next task.- Returns:
- the next task id
-
setNextTask
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
Returns the id of the user who created this historical record.- Returns:
- the user id who created the history entry
-
setHistoryUser
Sets the id of the user who created this historical record.- Parameters:
historyUser- the user id who created the history entry
-