Class BTMobileWarehouseSchedulingResourceOCCheck
java.lang.Object
overit.geocall.bl.BusinessTask<MobileWarehouseSchedulingResourceOCCheckEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileWarehouseSchedulingResourceOCCheckEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MobileWarehouseSchedulingResourceOCCheckEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<MobileWarehouseSchedulingResourceOCCheckEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.mobile.task.BTMobileWarehouseSchedulingResourceOCCheck
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileWarehouseSchedulingResourceOCCheckEvent.class)
public class BTMobileWarehouseSchedulingResourceOCCheck
extends BTInventoryManagement<MobileWarehouseSchedulingResourceOCCheckEvent>
Business task in order to performs checks on the association between the
BOSchedulingUser
and the BOWarehouseOperationCenter of the BOCentralWarehouse. - Since:
- 14.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 voidChecks if theBOSchedulingUserand theBOCentralWarehousebelong to the same operation center.booleanChecks if is the execution is valid.Methods inherited from class overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement
checkValidExecutionMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
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
-
BTMobileWarehouseSchedulingResourceOCCheck
public BTMobileWarehouseSchedulingResourceOCCheck()
-
-
Method Details
-
execute
protected void execute(MobileWarehouseSchedulingResourceOCCheckEvent event, PoolKit pk) throws DAException, DAValidateException Checks if theBOSchedulingUserand theBOCentralWarehousebelong to the same operation center.- Specified by:
executein classValidExecutionBusinessTask<MobileWarehouseSchedulingResourceOCCheckEvent>- Parameters:
event- theMobileWarehouseSchedulingResourceOCCheckEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if is the execution is valid.- Returns:
- true, if successful
-