Class BTBundleRequirementLoad
java.lang.Object
overit.geocall.bl.BusinessTask<BundleRequirementLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<BundleRequirementLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<BundleRequirementLoadEvent>
overit.geocallapp.wfm.bundler.bl.bundleRequirement.task.BTBundleRequirementLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(BundleRequirementLoadEvent.class)
public class BTBundleRequirementLoad
extends ValidPermissionBusinessTask<BundleRequirementLoadEvent>
Business task in order to load a
When the
BOBundleRequirement. When the
BundleRequirementLoadEvent is launched the BT notices the call and
loads the BOBundleRequirement basing on the event's input.- Since:
- 22.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(BundleRequirementLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingBOBundleRequirementand writes it into the event journal.booleanDetermines if the execution of this task is valid.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
-
Constructor Details
-
BTBundleRequirementLoad
public BTBundleRequirementLoad()
-
-
Method Details
-
execute
protected void execute(BundleRequirementLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBOBundleRequirementand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<BundleRequirementLoadEvent>- Parameters:
event- theBundleRequirementLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Determines if the execution of this task is valid.- Returns:
- true, indicating that the task execution is always valid
-