Class BTOperationCenterAssignmentCriteriaLoad
java.lang.Object
overit.geocall.bl.BusinessTask<OperationCenterAssignmentCriteriaLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<OperationCenterAssignmentCriteriaLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<OperationCenterAssignmentCriteriaLoadEvent>
overit.geocallapp.wfm.organizationalstructures.bl.operationcenter.assignmentcriteria.task.BTOperationCenterAssignmentCriteriaLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(OperationCenterAssignmentCriteriaLoadEvent.class)
public class BTOperationCenterAssignmentCriteriaLoad
extends ValidPermissionBusinessTask<OperationCenterAssignmentCriteriaLoadEvent>
Business task in order to load a
When the
BOOperationCenterAssignmentCriteria. When the
OperationCenterAssignmentCriteriaLoadEvent is launched the BT notices the call and loads
the BOZone basing on the event's input. Required fields:
- ID
- Since:
- 18.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(OperationCenterAssignmentCriteriaLoadEvent event, PoolKit poolKit) Writes the loaded assignment criteria into the event journal.booleanDetermines whether the current state is valid for execution.protected voidvalidation(Long id) Checks if the id is nullMethods 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
-
BTOperationCenterAssignmentCriteriaLoad
public BTOperationCenterAssignmentCriteriaLoad()
-
-
Method Details
-
execute
protected void execute(OperationCenterAssignmentCriteriaLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the loaded assignment criteria into the event journal.- Specified by:
executein classValidExecutionBusinessTask<OperationCenterAssignmentCriteriaLoadEvent>- Parameters:
event- theOperationCenterAssignmentCriteriaLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validation
Checks if the id is null- Parameters:
id-- Throws:
DAValidateException
-
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
-