Class BTDataCollectionSheetInstanceReopen
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionSheetInstanceReopenEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionSheetInstanceReopenEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionSheetInstanceReopenEvent>
overit.geocallapp.wfm.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceReopen
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceReopenEvent.class)
public class BTDataCollectionSheetInstanceReopen
extends BTDataCollection<DataCollectionSheetInstanceReopenEvent>
Business task in order to reopen a
When the
DataCollectionSheetInstance. When the
DataCollectionSheetInstanceReopenEvent is launched
the BT notices the call and reopens the DataCollectionSheetInstance basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionSheetInstanceReopenEvent event, PoolKit poolKit) Reopens the required data collection sheet instance.protected BODataCollectionSheetLoads the sheet.protected voidupdateSheet(BODataCollectionSheet sheet, PoolKit poolKit) Updates the sheet.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
-
BTDataCollectionSheetInstanceReopen
public BTDataCollectionSheetInstanceReopen()
-
-
Method Details
-
execute
protected void execute(DataCollectionSheetInstanceReopenEvent event, PoolKit poolKit) throws DAException, DAValidateException Reopens the required data collection sheet instance.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionSheetInstanceReopenEvent>- Parameters:
event- theDataCollectionSheetInstanceReopenEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadSheet
protected BODataCollectionSheet loadSheet(Long sheetId, PoolKit poolKit) throws DAValidateException, DAException Loads the sheet.- Parameters:
sheetId- the sheet idpoolKit- thePoolKit- Returns:
- the BO data collection sheet
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
updateSheet
protected void updateSheet(BODataCollectionSheet sheet, PoolKit poolKit) throws DAValidateException, DAException Updates the sheet.- Parameters:
sheet- theBODataCollectionSheetpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-