CommcareApplicationDataService

public interface CommcareApplicationDataService extends MotechDataService<CommcareApplicationJson>

Data service for the CommcareApplicationJson class. Provides methods for managing instances of said class.

Methods

byApplicationName

CommcareApplicationJson byApplicationName(String applicationName)

Returns application with the given applicationName.

Parameters:
  • applicationName – the name of the application
Returns:

the matching application, null if application with the given applicationName does not exist

bySourceConfiguration

List<CommcareApplicationJson> bySourceConfiguration(String configurationName)

Returns a list of the applications that originate from the configuration with the given configurationName.

Parameters:
  • configurationName – the name of the configuration
Returns:

the list of matching applications