Class ExecutionEventProvider
java.lang.Object
overit.geocallapp.wfm.execution.integration.ExecutionEventProvider
- All Implemented Interfaces:
ExecutionProvider
Provider for integration with execution fsm module that use the events mechanism.
- Since:
- 17.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteEmptyInterventionResource(Set<Long> agendaIds, Set<Long> currentAssigneesIds) voidgetIntervention(Long interventionId) getInterventionAggregate(Long interventionId) getInterventionOutcome(Long interventionOutcomeId) getOutcomeReason(Long outcomeReasonId) getOutcomeReasonType(Long outcomeReasonTypeId) getOutcomeWorkOrderOrigin(Long originId) voidinsertInterventionOutcome(BOInterventionOutcome interventionOutcome) static ExecutionEventProvidermakeInstance(PoolKit poolKit) voidvoidvoidsearchInterventionAggregate(InterventionAggregateSearchFilter filter, Order order) searchInterventions(Page page, InterventionSearchFilter filter) voidupdateInterventionOutcome(BOInterventionOutcome interventionOutcome) voidupdateInterventionOutcomeValidationStatus(Long interventionOutcomeId) voidupdateInterventionOutcomeValidationStatusByRule(InterventionOutcomeValidationStatusByRuleUpdateInput input) voidupdateInterventionResource(BOInterventionResource interventionResource)
-
Constructor Details
-
ExecutionEventProvider
public ExecutionEventProvider()
-
-
Method Details
-
makeInstance
-
searchInterventionResources
public List<BOInterventionResource> searchInterventionResources(InterventionResourceSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionResourcesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getOutcomeWorkOrderOrigin
public BOOutcomeWorkOrderOrigin getOutcomeWorkOrderOrigin(Long originId) throws DAValidateException, DAException - Specified by:
getOutcomeWorkOrderOriginin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getOutcomeReason
public BOOutcomeReason getOutcomeReason(Long outcomeReasonId) throws DAValidateException, DAException - Specified by:
getOutcomeReasonin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getOutcomeReasonType
public BOOutcomeReasonType getOutcomeReasonType(Long outcomeReasonTypeId) throws DAValidateException, DAException - Specified by:
getOutcomeReasonTypein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getIntervention
- Specified by:
getInterventionin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventions
public PageResponse<BOIntervention> searchInterventions(InterventionSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionsin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventions
public PageResponse<BOIntervention> searchInterventions(Page page, InterventionSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionsin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
deleteInterventionExecution
public void deleteInterventionExecution(InterventionExecutionDeleteInput input) throws DAValidateException, DAException - Specified by:
deleteInterventionExecutionin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getInterventionOutcome
public BOInterventionOutcome getInterventionOutcome(Long interventionOutcomeId) throws DAValidateException, DAException - Specified by:
getInterventionOutcomein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchWorkOrderOperationResources
public PageResponse<BOWorkOrderOperationResource> searchWorkOrderOperationResources(Page page, WorkOrderOperationResourceSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchWorkOrderOperationResourcesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchWorkOrderOperationResources
public PageResponse<BOWorkOrderOperationResource> searchWorkOrderOperationResources(WorkOrderOperationResourceSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchWorkOrderOperationResourcesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
resetInterventionResource
public void resetInterventionResource(InterventionResourceResetInput input) throws DAException, DAValidateException - Specified by:
resetInterventionResourcein interfaceExecutionProvider- Throws:
DAExceptionDAValidateException
-
insertInterventionOutcome
public void insertInterventionOutcome(BOInterventionOutcome interventionOutcome) throws DAValidateException, DAException - Specified by:
insertInterventionOutcomein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
updateInterventionOutcome
public void updateInterventionOutcome(BOInterventionOutcome interventionOutcome) throws DAValidateException, DAException - Specified by:
updateInterventionOutcomein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
notifyInterventionOutcome
public void notifyInterventionOutcome(InterventionOutcomeNotificationInput input) throws DAValidateException, DAException - Specified by:
notifyInterventionOutcomein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
updateInterventionResource
public void updateInterventionResource(BOInterventionResource interventionResource) throws DAValidateException, DAException - Specified by:
updateInterventionResourcein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
notifyInterventionResource
public void notifyInterventionResource(NotificationInput<BOInterventionResource> input) throws DAValidateException, DAException - Specified by:
notifyInterventionResourcein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchOutcomeReasonEncodedNotes
public List<BOOutcomeReasonEncodedNote> searchOutcomeReasonEncodedNotes(OutcomeReasonEncodedNoteSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchOutcomeReasonEncodedNotesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventionAggregate
public List<InterventionAggregate> searchInterventionAggregate(InterventionAggregateSearchFilter filter, Order order) throws DAValidateException, DAException - Specified by:
searchInterventionAggregatein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventionAggregate
public List<InterventionAggregate> searchInterventionAggregate(InterventionAggregateSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionAggregatein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
updateInterventionOutcomeValidationStatusByRule
public void updateInterventionOutcomeValidationStatusByRule(InterventionOutcomeValidationStatusByRuleUpdateInput input) throws DAValidateException, DAException - Specified by:
updateInterventionOutcomeValidationStatusByRulein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
updateInterventionOutcomeValidationStatus
public void updateInterventionOutcomeValidationStatus(Long interventionOutcomeId) throws DAValidateException, DAException - Specified by:
updateInterventionOutcomeValidationStatusin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
getInterventionAggregate
public InterventionAggregate getInterventionAggregate(Long interventionId) throws DAValidateException, DAException - Specified by:
getInterventionAggregatein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
deleteEmptyInterventionResource
public void deleteEmptyInterventionResource(Set<Long> agendaIds, Set<Long> currentAssigneesIds) throws DAValidateException, DAException - Specified by:
deleteEmptyInterventionResourcein interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventionGroupCensusRules
public PageResponse<BOInterventionGroupCensusRule> searchInterventionGroupCensusRules(InterventionGroupCensusRuleSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionGroupCensusRulesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchInterventionCensusRules
public PageResponse<BOCensusRule> searchInterventionCensusRules(InterventionCensusRuleSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchInterventionCensusRulesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-
searchCensusRules
public PageResponse<BOCensusRule> searchCensusRules(CensusRuleSearchFilter filter) throws DAValidateException, DAException - Specified by:
searchCensusRulesin interfaceExecutionProvider- Throws:
DAValidateExceptionDAException
-