org.rhq.core.domain.criteria
Class GenericDriftCriteria

java.lang.Object
  extended by org.rhq.core.domain.criteria.GenericDriftCriteria
All Implemented Interfaces:
Serializable, BaseCriteria, DriftCriteria

public class GenericDriftCriteria
extends Object
implements Serializable, DriftCriteria

The generic implementation of DriftCriteria makes no assumptions about the actual drift server plugin that will service the relevant requests. It is a simple impl of the interface and is suitable for use by any component that can not assume a backend implmentation, like a GUI client. Server side implementations will use this to populate the plugin-specific implementation of the interface.

See Also:
Serialized Form

Constructor Summary
GenericDriftCriteria()
           
 
Method Summary
 void addFilterCategories(DriftCategory... filterCategories)
           
 void addFilterChangeSetEndVersion(Integer filterChangeSetEndVersion)
           
 void addFilterChangeSetId(String filterChangeSetId)
           
 void addFilterChangeSetStartVersion(Integer filterChangeSetStartVersion)
           
 void addFilterDirectory(String filterDirectory)
           
 void addFilterDriftDefinitionId(Integer filterDriftDefinitionId)
           
 void addFilterDriftHandlingModes(DriftConfigurationDefinition.DriftHandlingMode... filterDriftHandlingModes)
           
 void addFilterEndTime(Long filterEndTime)
           
 void addFilterId(String filterId)
           
 void addFilterPath(String filterPath)
           
 void addFilterResourceIds(Integer... filterResourceIds)
           
 void addFilterStartTime(Long filterStartTime)
           
 void addSortCtime(PageOrdering sortCtime)
           
 void fetchChangeSet(boolean fetchChangeSet)
           
 DriftCategory[] getFilterCategories()
           
 Integer getFilterChangeSetEndVersion()
           
 String getFilterChangeSetId()
           
 Integer getFilterChangeSetStartVersion()
           
 String getFilterDirectory()
           
 Integer getFilterDriftDefinitionId()
           
 DriftConfigurationDefinition.DriftHandlingMode[] getFilterDriftHandlingModes()
           
 Long getFilterEndTime()
           
 String getFilterId()
           
 String getFilterPath()
           
 Integer[] getFilterResourceIds()
           
 Long getFilterStartTime()
           
 PageControl getPageControlOverrides()
           
 PageOrdering getSortCtime()
           
 boolean isFetchChangeSet()
           
 boolean isStrict()
           
 void setPageControl(PageControl pageControl)
           
 void setStrict(boolean strict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDriftCriteria

public GenericDriftCriteria()
Method Detail

addFilterId

public void addFilterId(String filterId)
Specified by:
addFilterId in interface DriftCriteria

getFilterId

public String getFilterId()
Specified by:
getFilterId in interface DriftCriteria

addFilterCategories

public void addFilterCategories(DriftCategory... filterCategories)
Specified by:
addFilterCategories in interface DriftCriteria

getFilterCategories

public DriftCategory[] getFilterCategories()
Specified by:
getFilterCategories in interface DriftCriteria

addFilterChangeSetId

public void addFilterChangeSetId(String filterChangeSetId)
Specified by:
addFilterChangeSetId in interface DriftCriteria

getFilterChangeSetId

public String getFilterChangeSetId()
Specified by:
getFilterChangeSetId in interface DriftCriteria

addFilterChangeSetStartVersion

public void addFilterChangeSetStartVersion(Integer filterChangeSetStartVersion)
Specified by:
addFilterChangeSetStartVersion in interface DriftCriteria

getFilterChangeSetStartVersion

public Integer getFilterChangeSetStartVersion()
Specified by:
getFilterChangeSetStartVersion in interface DriftCriteria

addFilterChangeSetEndVersion

public void addFilterChangeSetEndVersion(Integer filterChangeSetEndVersion)
Specified by:
addFilterChangeSetEndVersion in interface DriftCriteria

addFilterDriftDefinitionId

public void addFilterDriftDefinitionId(Integer filterDriftDefinitionId)
Specified by:
addFilterDriftDefinitionId in interface DriftCriteria

getFilterDriftDefinitionId

public Integer getFilterDriftDefinitionId()
Specified by:
getFilterDriftDefinitionId in interface DriftCriteria

addFilterDriftHandlingModes

public void addFilterDriftHandlingModes(DriftConfigurationDefinition.DriftHandlingMode... filterDriftHandlingModes)
Specified by:
addFilterDriftHandlingModes in interface DriftCriteria

getFilterDriftHandlingModes

public DriftConfigurationDefinition.DriftHandlingMode[] getFilterDriftHandlingModes()
Specified by:
getFilterDriftHandlingModes in interface DriftCriteria

getFilterChangeSetEndVersion

public Integer getFilterChangeSetEndVersion()
Specified by:
getFilterChangeSetEndVersion in interface DriftCriteria

addFilterPath

public void addFilterPath(String filterPath)
Specified by:
addFilterPath in interface DriftCriteria

getFilterPath

public String getFilterPath()
Specified by:
getFilterPath in interface DriftCriteria

addFilterDirectory

public void addFilterDirectory(String filterDirectory)
Specified by:
addFilterDirectory in interface DriftCriteria

getFilterDirectory

public String getFilterDirectory()
Specified by:
getFilterDirectory in interface DriftCriteria

addFilterResourceIds

public void addFilterResourceIds(Integer... filterResourceIds)
Specified by:
addFilterResourceIds in interface DriftCriteria

getFilterResourceIds

public Integer[] getFilterResourceIds()
Specified by:
getFilterResourceIds in interface DriftCriteria

addFilterStartTime

public void addFilterStartTime(Long filterStartTime)
Specified by:
addFilterStartTime in interface DriftCriteria

getFilterStartTime

public Long getFilterStartTime()
Specified by:
getFilterStartTime in interface DriftCriteria

addFilterEndTime

public void addFilterEndTime(Long filterEndTime)
Specified by:
addFilterEndTime in interface DriftCriteria

getFilterEndTime

public Long getFilterEndTime()
Specified by:
getFilterEndTime in interface DriftCriteria

fetchChangeSet

public void fetchChangeSet(boolean fetchChangeSet)
Specified by:
fetchChangeSet in interface DriftCriteria

isFetchChangeSet

public boolean isFetchChangeSet()
Specified by:
isFetchChangeSet in interface DriftCriteria

addSortCtime

public void addSortCtime(PageOrdering sortCtime)
Specified by:
addSortCtime in interface DriftCriteria

getSortCtime

public PageOrdering getSortCtime()
Specified by:
getSortCtime in interface DriftCriteria

getPageControlOverrides

public PageControl getPageControlOverrides()
Specified by:
getPageControlOverrides in interface BaseCriteria

setPageControl

public void setPageControl(PageControl pageControl)
Specified by:
setPageControl in interface BaseCriteria

setStrict

public void setStrict(boolean strict)
Specified by:
setStrict in interface BaseCriteria

isStrict

public boolean isStrict()
Specified by:
isStrict in interface BaseCriteria


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.