org.rhq.core.domain.criteria
Class JPADriftCriteria

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

public class JPADriftCriteria
extends Criteria
implements DriftCriteria

The JPA Drift Server plugin (the RHQ default) implementation of DriftCriteria.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.core.domain.criteria.Criteria
Criteria.NonBindingOverrideFilter, Criteria.Restriction, Criteria.Type
 
Field Summary
 
Fields inherited from class org.rhq.core.domain.criteria.Criteria
filterOverrides, pageControlOverrides, sortOverrides
 
Constructor Summary
JPADriftCriteria()
           
JPADriftCriteria(DriftCriteria driftCriteria)
           
 
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()
           
 Class<JPADrift> getPersistentClass()
           
 PageOrdering getSortCtime()
           
 boolean isFetchChangeSet()
           
 
Methods inherited from class org.rhq.core.domain.criteria.Criteria
addRequiredPermissions, addSortField, clearPaging, getAlias, getJPQLFilterOverride, getJPQLSortOverride, getOrderingFieldNames, getPageControlOverrides, getPageNumber, getPageSize, getRequiredPermissions, getRestriction, getSearchExpression, hasCustomizedSorting, isCaseSensitive, isFiltersOptional, isInventoryManagerRequired, isSecurityManagerRequired, isStrict, setCaseSensitive, setFiltersOptional, setPageControl, setPaging, setRestriction, setSearchExpression, setStrict
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rhq.core.domain.criteria.BaseCriteria
getPageControlOverrides, isStrict, setPageControl, setStrict
 

Constructor Detail

JPADriftCriteria

public JPADriftCriteria()

JPADriftCriteria

public JPADriftCriteria(DriftCriteria driftCriteria)
Method Detail

getPersistentClass

public Class<JPADrift> getPersistentClass()
Specified by:
getPersistentClass in class Criteria

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

getFilterChangeSetStartVersion

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

addFilterChangeSetStartVersion

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

getFilterChangeSetEndVersion

public Integer getFilterChangeSetEndVersion()
Specified by:
getFilterChangeSetEndVersion 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

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


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