Class BTWorkloadAnalysisCopy
java.lang.Object
overit.geocall.bl.BusinessTask<WorkloadAnalysisCopyEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WorkloadAnalysisCopyEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WorkloadAnalysisCopyEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement<WorkloadAnalysisCopyEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTWorkloadAnalysisCopy
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WorkloadAnalysisCopyEvent.class)
public class BTWorkloadAnalysisCopy
extends BTRoughPlanningManagement<WorkloadAnalysisCopyEvent>
Business task in order to copy a workload analysis.
When the
When the
WorkloadAnalysisCopyEvent is launched the BT notices the
call and tries to copy the workload analysis entity, and it's configuration entities. Required fields:
- A valid id for an existing
BORoughPlanning
Permission:
Error Code:
- Since:
- 19.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(WorkloadAnalysisCopyEvent event, PoolKit pk) CallsRoughPlanningInsertEventpassing the givenBORoughPlanning.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
-
BTWorkloadAnalysisCopy
public BTWorkloadAnalysisCopy()
-
-
Method Details
-
execute
protected void execute(WorkloadAnalysisCopyEvent event, PoolKit pk) throws DAException, DAValidateException CallsRoughPlanningInsertEventpassing the givenBORoughPlanning. And callsRoughPlanningBucketInsertEventpassing the newly generated rough planning id. And callsRoughPlanningResourceInsertEventpassing the newly generated rough planning id. Then it returns the id from the new workload analysis into the event journal.- Specified by:
executein classValidExecutionBusinessTask<WorkloadAnalysisCopyEvent>- Parameters:
event- theWorkloadAnalysisCopyEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-