Class BTDataCollectionSheetInstanceCheckNodesConstraintsThreshold
java.lang.Object
overit.geocall.bl.BusinessTask<CheckerEvent<TreeModel<DataCollectionNode>>>
overit.geocallapp.utilities.core.bl.common.check.checker.task.AbstractCheckerBusinessTask<TreeModel<DataCollectionNode>>
overit.geocallapp.utilities.core.bl.common.check.checker.task.ValidExecutionAbstractCheckerBusinessTask<TreeModel<DataCollectionNode>>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollectionChecker<TreeModel<DataCollectionNode>>
overit.geocallapp.wfm.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceCheckNodesConstraintsThreshold
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceCheckNodesConstraintsThresholdEvent.class)
public class BTDataCollectionSheetInstanceCheckNodesConstraintsThreshold
extends BTDataCollectionChecker<TreeModel<DataCollectionNode>>
Business task in order to check the threshold constraints of a
When the
DataCollectionSheetInstance. When the
DataCollectionSheetInstanceCheckNodesConstraintsThresholdEvent is launched
the BT notices the call and checks all the threshold constraints of the DataCollectionSheetInstance basing on the event's input. - Since:
- 22.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CheckIssue> computeCheckIssues(TreeModel<DataCollectionNode> treeModel, PoolKit poolKit) Computes the check issues.protected List<CheckIssue> Returns the node threshold issues.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollectionChecker
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.check.checker.task.ValidExecutionAbstractCheckerBusinessTask
body, checkValidExecutionMethods inherited from class overit.geocallapp.utilities.core.bl.common.check.checker.task.AbstractCheckerBusinessTask
addCheckIssuesToCheckResult, initCheckResultMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionSheetInstanceCheckNodesConstraintsThreshold
public BTDataCollectionSheetInstanceCheckNodesConstraintsThreshold()
-
-
Method Details
-
computeCheckIssues
protected List<CheckIssue> computeCheckIssues(TreeModel<DataCollectionNode> treeModel, PoolKit poolKit) throws DAException, DAValidateException Computes the check issues.- Specified by:
computeCheckIssuesin classAbstractCheckerBusinessTask<TreeModel<DataCollectionNode>>- Parameters:
treeModel- theTreeModelpoolKit- thePoolKit- Returns:
- a list of check issue elements of type CheckIssue
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception- See Also:
-
getNodeThresholdIssues
Returns the node threshold issues.- Parameters:
node- theDataCollectionNode- Returns:
- a list of check issue elements of type CheckIssue
- See Also:
-