Class BTZoneUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<ZoneUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ZoneUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ZoneUpdateEvent>
overit.geocallapp.wfm.organizationalstructures.bl.zone.task.BTZoneUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ZoneUpdateEvent.class)
public class BTZoneUpdate
extends ValidPermissionBusinessTask<ZoneUpdateEvent>
Business task in order to update a
When the
BOZone. When the
OperationCenterUpdateEvent is launched the BT notices the call and updates the BOZone basing on the event's input.
Required fields:
- Operation Center ID
Permission:
Error Code:
Codes.INVALID_PROPERTY_VALUE: Invalid value for property {0}Codes.MISSING_REQUIRED_MULTILANGUAGE_VALUES: Property {0} is required
- Since:
- 16.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(ZoneUpdateEvent event, PoolKit pk) Updates aBOZone.protected Collection<String> booleanDetermines whether the current state is valid for execution.protected voidMethods 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
-
BTZoneUpdate
public BTZoneUpdate()
-
-
Method Details
-
execute
Updates aBOZone.- Specified by:
executein classValidExecutionBusinessTask<ZoneUpdateEvent>- Parameters:
event- the eventpk- the pool kit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
- Throws:
DAValidateException
-
getUnmodifiableFields
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-