Class WorkOrderInsertEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Long>
overit.geocall.bl.BusinessEvent<Long>
overit.geocall.bl.SimpleBusinessEvent<WorkOrder,Long>
overit.geocallapp.wfm.core.bl.workorder.event.WorkOrderInsertEvent
Event to save a
WorkOrder.
The launcher must provide both a valid WorkOrder and valid WorkOrderSaveEventOptions
in order to successfully call this event.
The listener saves all the WorkOrder components starting from the event input,
i.e. the given WorkOrder and the WorkOrderSaveEventOptions.- Since:
- 9.2
- GCApi:
- event
- Reactors:
- No Spouts
BTWorkOrderInsert(0)-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
Fields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionWorkOrderInsertEvent(WorkOrder workOrder, WorkOrderSaveEventOptions options) Instantiates a new work order save event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the options used to guide the saving process behavior .Methods 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
-
Constructor Details
-
WorkOrderInsertEvent
Instantiates a new work order save event.- Parameters:
workOrder- the work orderoptions- the saving options
-
-
Method Details
-
getOptions
Returns the options used to guide the saving process behavior .- Returns:
- the options
-