CallDetailRecordDataService

public interface CallDetailRecordDataService extends MotechDataService<CallDetailRecord>

MDS generated CallDetailRecord database queries

Fields

CALL_STATUS

String CALL_STATUS

PROVIDER_CALL_ID

String PROVIDER_CALL_ID

Methods

findByCallStatus

List<CallDetailRecord> findByCallStatus(String callStatus)

findByExactCallStatus

List<CallDetailRecord> findByExactCallStatus(String callStatus)

findByExactProviderCallId

List<CallDetailRecord> findByExactProviderCallId(String providerCallId)

findByExactProviderCallId

List<CallDetailRecord> findByExactProviderCallId(String providerCallId, QueryParams queryParams)

findByMotechCallId

List<CallDetailRecord> findByMotechCallId(String motechCallId)

findByMotechCallIds

List<CallDetailRecord> findByMotechCallIds(Set<String> motechCallId)

findByMotechTimestamp

List<CallDetailRecord> findByMotechTimestamp(String motechTimestamp)

findByMotechTimestampAndCallStatus

List<CallDetailRecord> findByMotechTimestampAndCallStatus(String motechTimestamp, String callStatus)

findByPhoneNumber

List<CallDetailRecord> findByPhoneNumber(String to)

findByProviderCallId

List<CallDetailRecord> findByProviderCallId(String providerCallId)

findByProviderCallIdAndCallStatus

List<CallDetailRecord> findByProviderCallIdAndCallStatus(String providerCallId, String callStatus)