TriggerEventsDataService

public interface TriggerEventsDataService extends MotechDataService<TriggerEvent>

Responsible for fetching and counting static triggers.

Fields

MODULE_NAME

String MODULE_NAME

TRIGGER_SUBJECT

String TRIGGER_SUBJECT

Methods

byChannelModuleName

List<TriggerEvent> byChannelModuleName(String moduleName, QueryParams queryParams)

byChannelModuleNameAndSubject

TriggerEvent byChannelModuleNameAndSubject(String moduleName, String subject)

bySubject

TriggerEvent bySubject(String subject)

countByChannelModuleName

long countByChannelModuleName(String moduleName)

countByChannelModuleNameAndSubject

long countByChannelModuleNameAndSubject(String moduleName, String subject)