CommcareActionProxyService

public interface CommcareActionProxyService

Proxy, exposing the Commcare services as task actions. It forwards the data to proper service that will handle the execution of the method

Methods

createCase

CaseTask createCase(String configName, String caseType, String ownerId, String caseName, Map<String, Object> fieldValues)

See createCase

importForms

void importForms(String configName, DateTime startDate, DateTime endDate)

See importForms

queryReport

void queryReport(String configName, String reportId, String reportName, String urlParsedFilters)

See org.motechproject.commcare.service.ReportActionService.queryReport(String,String,String,String)

queryStockLedger

void queryStockLedger(String configName, String caseId, String sectionId, DateTime startDate, DateTime endDate, Map<String, Object> extraData)

See queryStockLedger

updateCase

void updateCase(String configName, String caseId, String ownerId, Boolean closeCase, Map<String, Object> fieldValues)

See updateCase