Class BTBundler<I>
java.lang.Object
overit.geocall.bl.BusinessTask<I>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<I>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<I>
- Type Parameters:
I- the generic type
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
- Direct Known Subclasses:
BTAutomaticBundling,BTBundleAppointmentsUpdate,BTBundleAttributesCalculate,BTBundleCreate,BTBundleCreateFromPartialOperations,BTBundleCriterionInsert,BTBundleCriterionLoad,BTBundleCriterionSearch,BTBundleCriterionUpdate,BTBundleEntitiesAggregateLoad,BTBundleHeaderInsert,BTBundleHeaderLoad,BTBundleHeaderLockedUpdate,BTBundleHeaderSearch,BTBundleHeaderStatusUpdate,BTBundleHeaderUpdate,BTBundleLoad,BTBundleLoadByAppointment,BTBundleLoadByWorkOrderOperation,BTBundleLock,BTBundleOperationAdd,BTBundleOperationAppointmentUpdate,BTBundleOperationCancel,BTBundleOperationInsert,BTBundleOperationLoad,BTBundleOperationOrderingLoad,BTBundleOperationOrderingSearch,BTBundleOperationSearch,BTBundleOperationsLoad,BTBundleOperationStatusChange,BTBundleOperationStatusLoad,BTBundleOperationStatusSearch,BTBundleOperationStatusUpdate,BTBundleOperationUpdate,BTBundleOperationWoOperationSearch,BTBundleReorder,BTBundleSchedulingRecalculation,BTBundleSearch,BTBundleSkillDivisionInsert,BTBundleSkillDivisionLoad,BTBundleSkillDivisionsDelete,BTBundleSkillDivisionSearch,BTBundleSkillDivisionsLoad,BTBundleSkillDivisionUpdate,BTBundleSkillInsert,BTBundleSkillLoad,BTBundleSkillsDelete,BTBundleSkillSearch,BTBundleSkillsLoad,BTBundleSkillUpdate,BTBundleStatusLoad,BTBundleStatusSearch,BTBundleUnlock,BTBundleWorkOrderOperationStateChange,BTBundling,BTBundlingCriteriaApply,BTBundlingOperationSelect,BTBundlingOperationSort,BTBundlingRuleFilterInsert,BTBundlingRuleFilterLoad,BTBundlingRuleFiltersDelete,BTBundlingRuleFilterSearch,BTBundlingRuleFiltersLoad,BTBundlingRuleFilterUpdate,BTBundlingRuleHeaderInsert,BTBundlingRuleHeaderLoad,BTBundlingRuleHeaderSearch,BTBundlingRuleHeaderUpdate,BTBundlingRuleHeaderValidate,BTBundlingRuleLoad,BTBundlingRuleOrderingInsert,BTBundlingRuleOrderingLoad,BTBundlingRuleOrderingsDelete,BTBundlingRuleOrderingSearch,BTBundlingRuleOrderingsLoad,BTBundlingRuleOrderingUpdate,BTBundlingRuleSave,BTBundlingRuleSearch,BTElaborationUnbundling,BTMobileBundleAccept,BTMobileBundleAcceptInCharge,BTSchedulableBundleUpdate,BTSchedulingAreaMicroclusterSearch,BTTopologicalSort,BTUnbundling
Generic business task for the bundler entities.
Before executing its purpose, the task checks whether the bundler module is active or not.
Before executing its purpose, the task checks whether the bundler module is active or not.
- Since:
- 10.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the exception that describes why execution is invalid.booleanChecks whether the bundler is activated or not.booleanControls whether an exception should be thrown when execution is invalid.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, execute, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTBundler
public BTBundler()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Checks whether the bundler is activated or not.- Returns:
- true, if the bundler module is active, false otherwise
-
getException
Description copied from interface:ValidExecutionReturns the exception that describes why execution is invalid. This method provides detailed information about validation failures whenValidExecution.isValidExecution()returns false. The returned exception can be thrown by callers ifValidExecution.throwExceptionIfInvalid()returns true.- Returns:
- a
DAValidateExceptiondescribing the validation failure, or null if execution is valid or no specific exception is available
-
throwExceptionIfInvalid
public boolean throwExceptionIfInvalid()Description copied from interface:ValidExecutionControls whether an exception should be thrown when execution is invalid. This method allows implementing classes to specify their exception-throwing behavior whenValidExecution.isValidExecution()returns false. If this method returns true, callers should throw the exception returned byValidExecution.getException().- Returns:
- true if an exception should be thrown for invalid execution, false otherwise
-