Class BTPermitsLoad
java.lang.Object
overit.geocall.bl.BusinessTask<PermitLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<PermitLoadEvent>
overit.geocallapp.wfm.core.bl.permits.task.BTPermit<PermitLoadEvent>
overit.geocallapp.wfm.core.bl.permits.workorder.task.BTPermitsLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
Business task in order to load a
Permit.
When the WorkCycleStructurePermitsLoadEvent is launched
the BT notices the call and loads the WorkCycleStructurePermits basing on the event's input.
Required fields:
- Permit Type id
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.core.bl.permits.task.BTPermit
WORKORDER_NOVALID_STATES, WORKORDER_OPERATION_VALID_STATES, WORKORDER_VALID_STATES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(PermitLoadEvent event, PoolKit poolKit) Executes the actual business logic after validation has passed.Methods inherited from class overit.geocallapp.wfm.core.bl.permits.task.BTPermit
checkWorkCycleId, checkWorkOrderId, getException, insertObtained, insertRequired, isValidExecution, isWOInBundle, throwExceptionIfInvalid, updateObtained, validateObtained, validateRequiredMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPermitsLoad
public BTPermitsLoad()
-
-
Method Details
-
execute
protected void execute(PermitLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:ValidExecutionBusinessTaskExecutes the actual business logic after validation has passed.- Specified by:
executein classValidExecutionBusinessTask<PermitLoadEvent>- Parameters:
event- the input event to processpoolKit- thePoolKit- Throws:
DAException- if a data access error occurs during executionDAValidateException- if validation fails during execution
-