org.openmrs.cohort
Class CohortSearchHistory

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.cohort.CohortSearchHistory
All Implemented Interfaces:
OpenmrsObject, ReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class CohortSearchHistory
extends AbstractReportObject


Nested Class Summary
 class CohortSearchHistory.CohortSearchHistoryItemHolder
          Deprecated.  
 
Field Summary
protected static org.apache.commons.logging.Log log
          Deprecated.  
 
Constructor Summary
CohortSearchHistory()
          Deprecated.  
 
Method Summary
 void addSearchItem(PatientSearch ps)
          Deprecated.  
 PatientSearch createCompositionFilter(java.lang.String description)
          Deprecated.  
 PatientFilter ensureCachedFilter(int i)
          Deprecated.  
 java.util.List<PatientFilter> getCachedFilters()
          Deprecated.  
 java.util.List<java.util.Date> getCachedResultDates()
          Deprecated.  
 java.util.List<Cohort> getCachedResults()
          Deprecated.  
 java.util.List<CohortSearchHistory.CohortSearchHistoryItemHolder> getItems()
          Deprecated.  
 Cohort getLastPatientSet(EvaluationContext context)
          Deprecated.  
 Cohort getPatientSet(int i, boolean useCache, EvaluationContext context)
          Deprecated. TODO: Implement CohortServiceImpl.getAllCohorts()
 Cohort getPatientSet(int i, EvaluationContext context)
          Deprecated.  
 Cohort getPatientSetCombineWithAnd(EvaluationContext context)
          Deprecated.  
 Cohort getPatientSetCombineWithOr(EvaluationContext context)
          Deprecated.  
 java.util.List<PatientSearch> getSearchHistory()
          Deprecated.  
 int getSize()
          Deprecated.  
 void removeSearchItem(int i)
          Deprecated.  
 void setSearchHistory(java.util.List<PatientSearch> searchHistory)
          Deprecated.  
 int size()
          Deprecated.  
 
Methods inherited from class org.openmrs.reporting.AbstractReportObject
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Deprecated. 
Constructor Detail

CohortSearchHistory

public CohortSearchHistory()
Deprecated. 
Method Detail

getItems

public java.util.List<CohortSearchHistory.CohortSearchHistoryItemHolder> getItems()
Deprecated. 

getSearchHistory

public java.util.List<PatientSearch> getSearchHistory()
Deprecated. 

setSearchHistory

public void setSearchHistory(java.util.List<PatientSearch> searchHistory)
Deprecated. 

getCachedFilters

public java.util.List<PatientFilter> getCachedFilters()
Deprecated. 

getCachedResultDates

public java.util.List<java.util.Date> getCachedResultDates()
Deprecated. 

getCachedResults

public java.util.List<Cohort> getCachedResults()
Deprecated. 

size

public int size()
Deprecated. 

getSize

public int getSize()
Deprecated. 

addSearchItem

public void addSearchItem(PatientSearch ps)
Deprecated. 

removeSearchItem

public void removeSearchItem(int i)
Deprecated. 

ensureCachedFilter

public PatientFilter ensureCachedFilter(int i)
Deprecated. 

getPatientSet

public Cohort getPatientSet(int i,
                            EvaluationContext context)
Deprecated. 
Parameters:
i -
Returns:
patient set resulting from the i_th filter in the search history. (cached if possible)

getPatientSet

public Cohort getPatientSet(int i,
                            boolean useCache,
                            EvaluationContext context)
Deprecated. 
TODO: Implement CohortServiceImpl.getAllCohorts()

Parameters:
i -
useCache - whether to use a cached result, if available
Returns:
patient set resulting from the i_th filter in the search history

getLastPatientSet

public Cohort getLastPatientSet(EvaluationContext context)
Deprecated. 

getPatientSetCombineWithAnd

public Cohort getPatientSetCombineWithAnd(EvaluationContext context)
Deprecated. 

getPatientSetCombineWithOr

public Cohort getPatientSetCombineWithOr(EvaluationContext context)
Deprecated. 

createCompositionFilter

public PatientSearch createCompositionFilter(java.lang.String description)
Deprecated. 

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change