BundlePropertiesService

public interface BundlePropertiesService extends MotechDataService<ModulePropertiesRecord>

This service provides data access for org.motechproject.config.domain.ModulePropertiesRecord. The implementation is generated by Motech Data Services and published as an OSGi service.

Methods

findByBundle

List<ModulePropertiesRecord> findByBundle(String bundle)

Returns list of ModulePropertiesRecords matching given bundle symbolic name.

Parameters:
  • bundle – the bundle symbolic name
Returns:

list of ModulePropertiesRecords

findByBundleAndFileName

List<ModulePropertiesRecord> findByBundleAndFileName(String bundle, String filename)

Returns a list of ModulePropertiesRecords matching given bundle symbolic name and file name.

Parameters:
  • bundle – the bundle symbolic name
  • filename – the name of the file
Returns:

list of ModulePropertiesRecords