Class BTGoodsGroupLoad
java.lang.Object
overit.geocall.bl.BusinessTask<GoodsGroupLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<GoodsGroupLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<GoodsGroupLoadEvent>
overit.geocallapp.wfm.materials.bl.goodsgroup.task.BTGoodsGroupLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(GoodsGroupLoadEvent.class)
public class BTGoodsGroupLoad
extends ValidPermissionBusinessTask<GoodsGroupLoadEvent>
Business task in order to load a
When the
BOGoodsGroup. When the
GoodsGroupLoadEvent is launched the BT notices the call and loads the BOGoodsGroup basing on
the event's input. - Since:
- 17.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(GoodsGroupLoadEvent event, PoolKit pk) Starting from the given id, it loads the correspondingBOGoodsGroupand writes it into the event journal.booleanChecks if the execution is 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
-
Constructor Details
-
BTGoodsGroupLoad
public BTGoodsGroupLoad()
-
-
Method Details
-
execute
protected void execute(GoodsGroupLoadEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBOGoodsGroupand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<GoodsGroupLoadEvent>- Parameters:
event- theGoodsGroupLoadEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is execution.- Returns:
- true, if successful
-