Class BTDataCollectionTemplateEmptyWorkingCopy
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateEmptyWorkingCopyEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateEmptyWorkingCopyEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateEmptyWorkingCopyEvent>
overit.geocallapp.wfm.mobileforms.bl.template.task.BTDataCollectionTemplateEmptyWorkingCopy
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateEmptyWorkingCopyEvent.class)
public class BTDataCollectionTemplateEmptyWorkingCopy
extends BTDataCollection<DataCollectionTemplateEmptyWorkingCopyEvent>
Business task in order to create an empty
When the
DataCollectionTemplateWorkingCopy. When the
DataCollectionTemplateEmptyWorkingCopyEvent is launched
the BT notices the call and creates an the DataCollectionTemplateWorkingCopy basing on the event's input. Visibility:
- working copies that belong to the same current user's operation center
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateEmptyWorkingCopyEvent event, PoolKit poolKit) Creates a new empty data collection template working copy.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionTemplateEmptyWorkingCopy
public BTDataCollectionTemplateEmptyWorkingCopy()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateEmptyWorkingCopyEvent event, PoolKit poolKit) throws DAException, DAValidateException Creates a new empty data collection template working copy.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateEmptyWorkingCopyEvent>- Parameters:
event- theDataCollectionTemplateEmptyWorkingCopyEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-