Class BTFeatureInsert
java.lang.Object
overit.geocall.bl.BusinessTask<FeatureInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<FeatureInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<FeatureInsertEvent>
overit.geocallapp.wfm.core.bl.features.feature.task.BTFeatureInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(FeatureInsertEvent.class)
public class BTFeatureInsert
extends ValidPermissionBusinessTask<FeatureInsertEvent>
Business task in order to insert a
When the
BOFeature. When the
FeatureInsertEvent is launched the BT notices the call and
inserts the BOFeature basing on the event's input. Required fields:
- data type
- description
- feature class
- value type
Permission:
Error Code:
Codes.INVALID_PROPERTY_VALUE: Invalid value for property data type, feature class or value typeCodes.PROPERTY_REQUIRED: Property description is required
Autocomplete: Multilanguage
- Since:
- 9.2
- 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(FeatureInsertEvent event, PoolKit pk) Writes the inserted feature 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
-
BTFeatureInsert
public BTFeatureInsert()
-
-
Method Details
-
execute
protected void execute(FeatureInsertEvent event, PoolKit pk) throws DAException, DAValidateException Writes the inserted feature id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<FeatureInsertEvent>- Parameters:
event- theFeatureInsertEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
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
-
validate
- Throws:
DAValidateExceptionDAException
-