Class WorkOrderHeaderUpdateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.bl.SimpleBusinessEvent<BOWorkOrderHeader,Void>
overit.geocall.bl.UpdateEvent<BOWorkOrderHeader>
overit.geocallapp.wfm.workorders.bl.header.event.WorkOrderHeaderUpdateEvent
Event to update a
BOWorkOrderHeader.
The launcher must provide a valid work order header in order to successfully call this event.
The listener update the BOWorkOrderHeader excluding the fields that must be updated
via specific event
- Since:
- 16.0
- GCApi:
- event
- Reactors:
- No Spouts
BTWorkOrderHeaderUpdate(0)-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
FieldsFields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionWorkOrderHeaderUpdateEvent(BOWorkOrderHeader workOrderHeader) Update the work order header. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the update process must also call the history one.voidsetHistory(boolean history) Sets the history process.Methods inherited from class overit.geocall.bl.UpdateEvent
getEventOptionsMethods inherited from class overit.geocall.bl.SimpleBusinessEvent
getInputMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Field Details
-
history
protected boolean history
-
-
Constructor Details
-
WorkOrderHeaderUpdateEvent
Update the work order header.- Parameters:
workOrderHeader- the work order header to update
-
-
Method Details
-
isHistory
public boolean isHistory()Checks if the update process must also call the history one.- Returns:
- true if the history process is called, false otherwise
-
setHistory
public void setHistory(boolean history) Sets the history process.- Parameters:
history- true if the history process must be called, false otherwise
-