Class BTWorkCyclePermitsSearch
java.lang.Object
overit.geocall.bl.BusinessTask<WorkCyclePermitsSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WorkCyclePermitsSearchEvent>
overit.geocallapp.wfm.core.bl.permits.task.BTPermit<WorkCyclePermitsSearchEvent>
overit.geocallapp.wfm.core.bl.permits.workcycle.task.BTWorkCyclePermitsSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WorkCyclePermitsSearchEvent.class)
public class BTWorkCyclePermitsSearch
extends BTPermit<WorkCyclePermitsSearchEvent>
Business task in order to search
WorkCyclePermits.
When the WorkCyclePermitsSearchEvent is launched
the BT notices the call and search the WorkCyclePermits basing on the event's input.
- 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(WorkCyclePermitsSearchEvent 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
-
BTWorkCyclePermitsSearch
public BTWorkCyclePermitsSearch()
-
-
Method Details
-
execute
protected void execute(WorkCyclePermitsSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:ValidExecutionBusinessTaskExecutes the actual business logic after validation has passed.- Specified by:
executein classValidExecutionBusinessTask<WorkCyclePermitsSearchEvent>- Parameters:
event- the input event to processpoolKit- thePoolKit- Throws:
DAException- if a data access error occurs during executionDAValidateException- if validation fails during execution
-