CommcareApplicationDataService¶
-
public interface
CommcareApplicationDataServiceextends MotechDataService<CommcareApplicationJson>¶ Data service for the
CommcareApplicationJsonclass. 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
applicationNamedoes 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