org.domain.rhims.dao
Interface GuidelineDAO

All Known Implementing Classes:
GuidelineDAOMySQL

public interface GuidelineDAO

The GuidelineDAO is responsible for interacting with the persistence of the guidelines for Patients. It is a component of the Persistance layer of the application. It contains a method to save a new DataGuideline, and a method to retrieve a List of all the DataGuidelines for a given Patient. In the future, it will contain methods to update a specific guideline and to retrieve guidelines based on their type (i.e. pulse, glucose, etc.)

Author:
Mitch Williams

Method Summary
 void createGuideline(DataGuideline dataGuideline)
          Save the supplied DataGuideline
 java.util.List<DataGuideline> getGuidelines(CaseFile caseFile, java.lang.String dataType)
          Retrieve all the DataGuidelines for the supplied CaseFile
 

Method Detail

createGuideline

void createGuideline(DataGuideline dataGuideline)
Save the supplied DataGuideline

Parameters:
dataGuideline - the DataGuideline to save

getGuidelines

java.util.List<DataGuideline> getGuidelines(CaseFile caseFile,
                                            java.lang.String dataType)
Retrieve all the DataGuidelines for the supplied CaseFile

Parameters:
caseFile - the CaseFile to get the DataGuidelines for
Returns:
a List of the DataGuidelines associated with the CaseFile