StreamContentService

public interface StreamContentService extends MotechDataService<StreamContent>

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

Methods

findByLanguageAndName

StreamContent 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 it doesn’t exist