Class BTZoneInsert
java.lang.Object
overit.geocall.bl.BusinessTask<ZoneInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ZoneInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ZoneInsertEvent>
overit.geocallapp.wfm.organizationalstructures.bl.zone.task.BTZoneInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ZoneInsertEvent.class)
public class BTZoneInsert
extends ValidPermissionBusinessTask<ZoneInsertEvent>
Business task in order to insert a
When the
BOZone. When the
ZoneInsertEvent is launched the BT notices the call and inserts the BOZone basing on the event's input.Required fields:
- code
- description
- structure
Permission:
Error Code:
Codes.INVALID_PROPERTY_VALUE: Invalid value for property {0}Codes.MISSING_REQUIRED_MULTILANGUAGE_VALUES: Missing required multilanguage values for the property "code"Codes.PROPERTY_REQUIRED: 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(ZoneInsertEvent event, PoolKit pk) Writes the inserted zone id into the event journal.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
-
BTZoneInsert
public BTZoneInsert()
-
-
Method Details
-
execute
Writes the inserted zone id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ZoneInsertEvent>- Parameters:
event- theZoneInsertEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
- Throws:
DAValidateExceptionDAException
-
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
-