Class BTGoodsGroupSearch
java.lang.Object
overit.geocall.bl.BusinessTask<GoodsGroupSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<GoodsGroupSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<GoodsGroupSearchEvent>
overit.geocallapp.wfm.core.bl.material.goodsgroup.task.BTGoodsGroupSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(GoodsGroupSearchEvent.class)
public class BTGoodsGroupSearch
extends ValidPermissionBusinessTask<GoodsGroupSearchEvent>
Business task in order to search a
When the
BOGoodsGroup. When the
GoodsGroupSearchEvent is launched
the BT notices the call and searches the BOGoodsGroup basing on the event's input. - Since:
- 13.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(GoodsGroupSearchEvent event, PoolKit pk) Starting from the givenGoodsGroupSearchFilter, it searches the corresponding list ofBOGoodsGroupand presents them as aPageResponsewhich is then written 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
-
BTGoodsGroupSearch
public BTGoodsGroupSearch()
-
-
Method Details
-
execute
protected void execute(GoodsGroupSearchEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the givenGoodsGroupSearchFilter, it searches the corresponding list ofBOGoodsGroupand presents them as aPageResponsewhich is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<GoodsGroupSearchEvent>- Parameters:
event- theGoodsGroupSearchEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is execution.- Returns:
- true, if successful
-