Class BTRoughPlanningOrderMovementMassiveInsert
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningOrderMovementMassiveInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningOrderMovementMassiveInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningOrderMovementMassiveInsertEvent>
overit.geocallapp.wfm.roughplanning.bl.roughplanningordermovement.task.BTRoughPlanningOrderMovementMassiveInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningOrderMovementMassiveInsertEvent.class)
public class BTRoughPlanningOrderMovementMassiveInsert
extends ValidPermissionBusinessTask<RoughPlanningOrderMovementMassiveInsertEvent>
Business task to insert a list of
BORoughPlanningOrderMovement in a single batch operation.
This task is optimized for inserting a large number of records efficiently.- Since:
- 20.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(RoughPlanningOrderMovementMassiveInsertEvent event, PoolKit poolKit) Executes the massive insert operation for rough planning order movements.booleanDetermines whether the current state is valid for execution.Methods 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
-
Field Details
-
LOG
-
-
Constructor Details
-
BTRoughPlanningOrderMovementMassiveInsert
public BTRoughPlanningOrderMovementMassiveInsert()
-
-
Method Details
-
execute
protected void execute(RoughPlanningOrderMovementMassiveInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Executes the massive insert operation for rough planning order movements. This method uses batch processing for improved performance when inserting large numbers of records.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningOrderMovementMassiveInsertEvent>- Parameters:
event- the event containing the list of details to insertpoolKit- the pool kit for database operations- Throws:
DAException- if a data access error occursDAValidateException- if validation fails
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-