Class BTMobileWarehouseSchedulingResourceRemove
java.lang.Object
overit.geocall.bl.BusinessTask<MobileWarehouseSchedulingResourceRemoveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileWarehouseSchedulingResourceRemoveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MobileWarehouseSchedulingResourceRemoveEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<MobileWarehouseSchedulingResourceRemoveEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.mobile.task.BTMobileWarehouseSchedulingResourceRemove
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileWarehouseSchedulingResourceRemoveEvent.class)
public class BTMobileWarehouseSchedulingResourceRemove
extends BTInventoryManagement<MobileWarehouseSchedulingResourceRemoveEvent>
Business task in order remove the association between a
When the
BOSchedulingUser and a BOMobileWarehouse. When the
MobileWarehouseSchedulingResourceRemoveEvent is launched
the BT notices the call and removes the association basing on the event's input. Required fields:
- Scheduling user id
Permission:
Error Code:
Codes.Inventory.SCHEDULING_RESOURCE_NOT_ASSOCIATED: Selected scheduling resource has not any association related.
- 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 voidRemoves the association between aBOSchedulingUserand aBOOperationCenter.booleanChecks if 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
-
BTMobileWarehouseSchedulingResourceRemove
public BTMobileWarehouseSchedulingResourceRemove()
-
-
Method Details
-
execute
protected void execute(MobileWarehouseSchedulingResourceRemoveEvent event, PoolKit pk) throws DAException, DAValidateException Removes the association between aBOSchedulingUserand aBOOperationCenter.- Specified by:
executein classValidExecutionBusinessTask<MobileWarehouseSchedulingResourceRemoveEvent>- Parameters:
event- theMobileWarehouseSchedulingResourceRemoveEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-