Class BOWorkOrderOperation
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.bl.operation.BOWorkOrderOperation
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a work order operation.
- 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 TypeMethodDescriptionvoidaddLinkedOperation(Long linkedOperation) Returns the activity id of the work order operation.Returns the address id of the work order operation address.Returns the work order operation cardinality .getCode()Returns the work order operation code.Returns the current duration of the work order operation.Returns the work order operation default duration.Returns the work order operation description.Returns the work order operation end date.Returns the work order operation execution order.getId()Returns the work order operation id.Returns the immediate scheduling flag.Returns the intervention group id.Returns the last outcome agenda id.Returns the work order operation last outcome date.Returns the last outcome origin id.Returns the last outcome reason id.Returns the last outcome user id.Retrieves the last PDA take in charge dateReturns the list of the linked operations.Returns the linked operations list as a string.getNote()Returns the work order operation note.Returns the outcome count.Returns the outcome end date of the work order operation.Returns the outcome start date of the work order operation.Returns the work order operation parent id.Returns the work order operation pda last arrival date.Returns the progress percentage.Returns the skill override configuration id.Returns the work order operation start date.Returns the work order operation status.getType()Returns the work order operation type.Returns the work center id of the work order operation.Returns the work cycle structure id of the work order operation.Returns the work order header id of the operation.booleanisNew()Checks if is the work order operation is new.voidremoveLinkedOperation(Long linkedOperation) voidsetActivity(Long activity) Sets the activity id of the work order operation.voidsetActivityAddress(Long activityAddress) voidsetAddress(Long address) Sets the address id of the work order operation.voidsetCardinality(Long cardinality) Sets the work order operation cardinality.voidSets the work order operation code.voidsetCurrentDuration(Long currentDuration) Sets the current duration of the work order operation.voidsetDefaultDuration(Long defaultDuration) Sets the work order operation default duration.voidsetDescription(String description) Sets the work order operation description.voidsetEndDate(Date endDate) Sets the work order operation end date.voidsetExecutionOrder(Long executionOrder) Sets the work order operation execution.voidSets the work order operation id.voidsetImmediateScheduling(Boolean immediateScheduling) Sets the immediate scheduling flag.voidsetInterventionGroup(Long interventionGroup) Sets the intervention group id.voidsetLastOutcomeAgenda(Long lastOutcomeAgenda) Sets the last outcome agenda id.voidsetLastOutcomeDate(Date lastOutcomeDate) Sets the work order operation last outcome date.voidsetLastOutcomeOrigin(Long lastOutcomeOrigin) Sets the last outcome origin id.voidsetLastOutcomeReason(Long lastOutcomeReason) Sets the last outcome reason id.voidsetLastOutcomeUser(Long lastOutcomeUser) Sets the last outcome user id.voidsetLastPdaTakeInChargeDate(Date lastPdaTakeInChargeDate) Sets the last PDA take in charge date.voidsetLinkedOperations(List<Long> linkedOperations) Sets the list of the linked operations.voidsetLinkedOperationsString(String linkedOperationString) Sets the linked operations list as a string.voidSets the work order operation note.voidsetOutcomeCount(Long outcomeCount) Sets the outcome count.voidsetOutcomeEndDate(Date outcomeEndDate) Sets the outcome end date of the work order operation.voidsetOutcomeStartDate(Date outcomeStartDate) Sets the outcome start date of the work order operation.voidsetParentOperation(Long parentOperation) Sets the work order operation parent id.voidsetPdaLastArrivalDate(Date pdaLastArrivalDate) Sets the work order operation pda last arrival date.voidsetPreassignedUser(Long preassignedUser) voidsetProgressPercentage(Long progressPercentage) Sets the progress percentage.voidsetSkillOverrideConfiguration(Long skillOverrideConfiguration) Sets the skill override configuration id.voidsetStartDate(Date startDate) Sets the work order operation start date.voidSets the work order operation status.voidSets the work order operation type.voidsetWorkCenter(Long workCenter) Sets the work center id of the work order operation.voidsetWorkCycleStructure(Long workCycleStructure) Sets the work cycle structure id of the work order operation.voidsetWorkOrder(Long workOrder) Sets the work order header id of the operation.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
-
BOWorkOrderOperation
public BOWorkOrderOperation()
-
-
Method Details
-
getParentOperation
Returns the work order operation parent id.- Returns:
- the operation parent id
- See Also:
-
setParentOperation
Sets the work order operation parent id.- Parameters:
parentOperation- the operation parent id- See Also:
-
getStatus
Returns the work order operation status.- Returns:
- the operation state
- See Also:
-
setStatus
Sets the work order operation status.- Parameters:
status- the operation state- See Also:
-
getExecutionOrder
Returns the work order operation execution order.- Returns:
- the execution order
-
setExecutionOrder
Sets the work order operation execution.- Parameters:
executionOrder- the execution order
-
getId
Returns the work order operation id.- Returns:
- the the work order operation id
-
setId
Sets the work order operation id.- Parameters:
id- the work order operation id
-
getType
Returns the work order operation type.- Returns:
- the operation type
- See Also:
-
setType
Sets the work order operation type.- Parameters:
type- the operation type- See Also:
-
getDescription
Returns the work order operation description.- Returns:
- the operation description
-
setDescription
Sets the work order operation description.- Parameters:
description- the operation description
-
getWorkCycleStructure
Returns the work cycle structure id of the work order operation.- Returns:
- the work cycle structure id
-
setWorkCycleStructure
Sets the work cycle structure id of the work order operation.- Parameters:
workCycleStructure- the work cycle structure id
-
getAddress
Returns the address id of the work order operation address.- Returns:
- the operation address id
-
setAddress
Sets the address id of the work order operation.- Parameters:
address- the operation address id
-
getDefaultDuration
Returns the work order operation default duration.- Returns:
- the operation default duration
-
setDefaultDuration
Sets the work order operation default duration.- Parameters:
defaultDuration- the operation default duration
-
getCode
Returns the work order operation code.- Returns:
- the operation code
-
setCode
Sets the work order operation code.- Parameters:
code- the operation code
-
getCurrentDuration
Returns the current duration of the work order operation.- Returns:
- the operation current duration
-
setCurrentDuration
Sets the current duration of the work order operation.- Parameters:
currentDuration- the operation current duration
-
getCardinality
Returns the work order operation cardinality .- Returns:
- the operation cardinality
-
setCardinality
Sets the work order operation cardinality.- Parameters:
cardinality- the operation cardinality
-
getNote
Returns the work order operation note.- Returns:
- the operation note
-
setNote
Sets the work order operation note.- Parameters:
note- the operation note
-
getStartDate
Returns the work order operation start date.- Returns:
- the operation start date
-
setStartDate
Sets the work order operation start date.- Parameters:
startDate- the operation start date
-
getEndDate
Returns the work order operation end date.- Returns:
- the operation end date
-
setEndDate
Sets the work order operation end date.- Parameters:
endDate- the operation end date
-
isNew
public boolean isNew()Checks if is the work order operation is new.- Returns:
- true, if the operation is new
-
getOutcomeStartDate
Returns the outcome start date of the work order operation.- Returns:
- the outcome start date
-
setOutcomeStartDate
Sets the outcome start date of the work order operation.- Parameters:
outcomeStartDate- the outcome start date
-
getOutcomeEndDate
Returns the outcome end date of the work order operation.- Returns:
- the outcome end date
-
setOutcomeEndDate
Sets the outcome end date of the work order operation.- Parameters:
outcomeEndDate- the outcome end date
-
getWorkCenter
Returns the work center id of the work order operation.- Returns:
- the operation work center id
-
setWorkCenter
Sets the work center id of the work order operation.- Parameters:
workCenter- the operation work center id
-
getActivity
Returns the activity id of the work order operation.- Returns:
- the operation activity id
-
setActivity
Sets the activity id of the work order operation.- Parameters:
activity- the operation activity id
-
getWorkOrder
Returns the work order header id of the operation.- Returns:
- the work order id
- See Also:
-
setWorkOrder
Sets the work order header id of the operation.- Parameters:
workOrder- the work order id- See Also:
-
getOutcomeCount
Returns the outcome count.- Returns:
- the outcome count
-
setOutcomeCount
Sets the outcome count.- Parameters:
outcomeCount- the outcome count
-
getLinkedOperations
Returns the list of the linked operations.- Returns:
- the linked operations ids
-
getLinkedOperationsString
Returns the linked operations list as a string.- Returns:
- the linked operations status list as a string
-
setLinkedOperations
Sets the list of the linked operations.- Parameters:
linkedOperations- the linked operations ids
-
setLinkedOperationsString
Sets the linked operations list as a string.- Parameters:
linkedOperationString- the linked operations list as a string
-
addLinkedOperation
-
removeLinkedOperation
-
getProgressPercentage
Returns the progress percentage.- Returns:
- the progress percentage
-
setProgressPercentage
Sets the progress percentage.- Parameters:
progressPercentage- the progress percentage id
-
calculateProgressPercentage
-
getLastOutcomeAgenda
Returns the last outcome agenda id.- Returns:
- the last outcome agenda id
-
setLastOutcomeAgenda
Sets the last outcome agenda id.- Parameters:
lastOutcomeAgenda- the last outcome agenda id
-
getLastOutcomeReason
Returns the last outcome reason id.- Returns:
- the last outcome reason id
-
setLastOutcomeReason
Sets the last outcome reason id.- Parameters:
lastOutcomeReason- the last outcome reason id
-
getLastOutcomeUser
Returns the last outcome user id.- Returns:
- the last outcome user id
-
setLastOutcomeUser
Sets the last outcome user id.- Parameters:
lastOutcomeUser- the last outcome user id
-
getLastOutcomeOrigin
Returns the last outcome origin id.- Returns:
- the last outcome origin id
-
setLastOutcomeOrigin
Sets the last outcome origin id.- Parameters:
lastOutcomeOrigin- the last outcome origin id
-
getLastOutcomeDate
Returns the work order operation last outcome date.- Returns:
- the work order operation last outcome date
-
setLastOutcomeDate
Sets the work order operation last outcome date.- Parameters:
lastOutcomeDate- the work order operation last outcome date
-
getLastPdaTakeInChargeDate
Retrieves the last PDA take in charge date- Returns:
- the last PDA take in charge date
-
setLastPdaTakeInChargeDate
Sets the last PDA take in charge date.- Parameters:
lastPdaTakeInChargeDate- the last date to set as the PDA take in charge date
-
getPdaLastArrivalDate
Returns the work order operation pda last arrival date.- Returns:
- the work order operation pda last arrival date
-
setPdaLastArrivalDate
Sets the work order operation pda last arrival date.- Parameters:
pdaLastArrivalDate- the work order operation pda last arrival date
-
getInterventionGroup
Returns the intervention group id.- Returns:
- the intervention group id
-
setInterventionGroup
Sets the intervention group id.- Parameters:
interventionGroup- the intervention group id
-
getSkillOverrideConfiguration
Returns the skill override configuration id.- Returns:
- the skill override configuration id
-
setSkillOverrideConfiguration
Sets the skill override configuration id.- Parameters:
skillOverrideConfiguration- the skill override configuration id
-
getPreassignedUser
- Returns:
- the preassignedUser
-
setPreassignedUser
- Parameters:
preassignedUser- the preassignedUser to set
-
setActivityAddress
- Parameters:
activityAddress- the schedulingAddress to set
-
getActivityAddress
- Returns:
- the schedulingAddress
-
getImmediateScheduling
Returns the immediate scheduling flag.- Returns:
- true if the operation requires immediate scheduling, false otherwise
-
setImmediateScheduling
Sets the immediate scheduling flag.- Parameters:
immediateScheduling- true if the operation requires immediate scheduling, false otherwise
-