CampaignRecordService

public interface CampaignRecordService extends MotechDataService<CampaignRecord>

Data Service interface for CampaignRecords. The implementation is generated by the Motech Data Services module.

Methods

findByName

CampaignRecord findByName(String name)

Finds the CampaignRecord by its name.

Parameters:
  • name – unique name of the campaign record
Returns:

campaign record of the given name