Class BTRoughPlanningCreate
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningCreateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningCreateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningCreateEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement<RoughPlanningCreateEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningCreate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningCreateEvent.class)
public class BTRoughPlanningCreate
extends BTRoughPlanningManagement<RoughPlanningCreateEvent>
Business task in order to create a rough planning.
When the
When the
RoughPlanningCreateEvent is launched the BT notices the
call and tries to insert a new rough planning entity and to create its bucket configuration. Required fields:
- A valid
BORoughPlanning
Permission:
Error Code:
- Since:
- 18.0
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement
CODE_LENGTH, DESCRIPTION_LENGTH, OVERSIZED_LIMIT, TIME_SIZE_LOWER_LIMITFields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(RoughPlanningCreateEvent event, PoolKit pk) CallsRoughPlanningInsertEventpassing the givenBORoughPlanningand callsRoughPlanningConfigurationBucketSaveEventpassing the newly generated rough planning id.Methods inherited from class overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement
isValidExecution, searchRoughPlanningByCode, validateCodeDuplication, validateDateSpan, validateFieldsLength, validateOversizedLimit, validateTimeSize, validateTimeUnitMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTRoughPlanningCreate
public BTRoughPlanningCreate()
-
-
Method Details
-
execute
protected void execute(RoughPlanningCreateEvent event, PoolKit pk) throws DAException, DAValidateException CallsRoughPlanningInsertEventpassing the givenBORoughPlanningand callsRoughPlanningConfigurationBucketSaveEventpassing the newly generated rough planning id. Then it returns the id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningCreateEvent>- Parameters:
event- theRoughPlanningCreateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-