ScheduleDataService

public interface ScheduleDataService extends MotechDataService<Schedule>

Motech Data Service interface class for Schedule entity. The implementation is provided by the Motech Data Servives module.

See also: org.motechproject.scheduletracking.domain.Schedule

Methods

findByName

Schedule findByName(String name)

Returns the schedule for the given schedule name.

Parameters:
  • name – the name of the schedule
Returns:

the schedule