StringContentService

public interface StringContentService extends MotechDataService<StringContent>

Data Service interface for StringContents. The implementation is provided by the Motech Data Services module.

Methods

findByLanguageAndName

StringContent findByLanguageAndName(String language, String name)

Finds content by language and name.

Parameters:
  • language – the language of the content
  • name – the name of content
Returns:

the matching content or null if doesn’t exist