|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.criteria.Criteria org.rhq.core.domain.criteria.JPADriftChangeSetCriteria
public class JPADriftChangeSetCriteria
The JPA Drift Server plugin (the RHQ default) implementation of DriftChangeSetCriteria.
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 | |
---|---|
JPADriftChangeSetCriteria()
|
|
JPADriftChangeSetCriteria(DriftChangeSetCriteria changeSetCriteria)
|
Method Summary | |
---|---|
void |
addFilterCategory(DriftChangeSetCategory filterCategory)
Allows for filtering on change set type. |
void |
addFilterCreatedAfter(Long filterCreatedAfter)
Allows for searching change sets by timestamp range where the timestamp corresponds to the creation time of the change set. |
void |
addFilterCreatedBefore(Long filterCreatedBefore)
Allows for searching change sets by timestamp range where the timestamp corresponds to the creation time of the change set. |
void |
addFilterDriftCategories(DriftCategory... filterDriftCategories)
Allows for filtering on the type of drift contained in the change sets. |
void |
addFilterDriftCategories(List<DriftCategory> filterDriftCategories)
|
void |
addFilterDriftDefinitionId(Integer filterDriftDefId)
|
void |
addFilterDriftDirectory(String filterDriftDirectory)
Allows for filtering on a specific directory. |
void |
addFilterDriftPath(String filterDriftPath)
Allows for filtering on a specific path. |
void |
addFilterEndVersion(Integer filterEndVersion)
|
void |
addFilterEndVersion(String filterEndVersion)
Allows for searching for change sets by version range. |
void |
addFilterId(String filterId)
|
void |
addFilterResourceId(Integer filterResourceId)
|
void |
addFilterStartVersion(Integer filterStartVersion)
|
void |
addFilterStartVersion(String filterStartVersion)
Allows for searching for change sets by version range. |
void |
addFilterVersion(Integer filterVersion)
|
void |
addFilterVersion(String filterVersion)
|
void |
addSortVersion(PageOrdering sortVersion)
Allows for sorting on change set version |
void |
fetchDriftDefinition(boolean fetchDriftDefinition)
|
void |
fetchDrifts(boolean fetchDrifts)
|
void |
fetchInitialDriftSet(boolean fetchInitialDriftSet)
|
DriftChangeSetCategory |
getFilterCategory()
|
Long |
getFilterCreatedAfter()
|
Long |
getFilterCreatedBefore()
|
List<DriftCategory> |
getFilterDriftCategories()
|
Integer |
getFilterDriftDefinitionId()
|
String |
getFilterDriftDirectory()
|
String |
getFilterDriftPath()
|
String |
getFilterEndVersion()
|
String |
getFilterId()
|
Integer |
getFilterResourceId()
|
String |
getFilterStartVersion()
|
String |
getFilterVersion()
|
Class<JPADriftChangeSet> |
getPersistentClass()
|
PageOrdering |
getSortVersion()
|
boolean |
isFetchDrifts()
|
boolean |
isFetchInitialDriftSet()
|
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 |
---|
public JPADriftChangeSetCriteria()
public JPADriftChangeSetCriteria(DriftChangeSetCriteria changeSetCriteria)
Method Detail |
---|
public Class<JPADriftChangeSet> getPersistentClass()
getPersistentClass
in class Criteria
public void addFilterId(String filterId)
addFilterId
in interface DriftChangeSetCriteria
filterId
- The change set idpublic String getFilterId()
getFilterId
in interface DriftChangeSetCriteria
public void addFilterVersion(Integer filterVersion)
public void addFilterVersion(String filterVersion)
addFilterVersion
in interface DriftChangeSetCriteria
filterVersion
- The change set version.public String getFilterVersion()
getFilterVersion
in interface DriftChangeSetCriteria
public void addFilterStartVersion(Integer filterStartVersion)
public void addFilterStartVersion(String filterStartVersion)
DriftChangeSetCriteria
addFilterStartVersion
in interface DriftChangeSetCriteria
filterStartVersion
- The starting version of the change set(s). This should be
inclusive.public String getFilterStartVersion()
getFilterStartVersion
in interface DriftChangeSetCriteria
public void addFilterEndVersion(Integer filterEndVersion)
public void addFilterEndVersion(String filterEndVersion)
DriftChangeSetCriteria
addFilterEndVersion
in interface DriftChangeSetCriteria
filterEndVersion
- The ending version of the change set(s). This should be
inclusive.public String getFilterEndVersion()
getFilterEndVersion
in interface DriftChangeSetCriteria
public void addFilterCreatedAfter(Long filterCreatedAfter)
DriftChangeSetCriteria
addFilterCreatedAfter
in interface DriftChangeSetCriteria
filterCreatedAfter
- The starting time of the range. This should be inclusive.public Long getFilterCreatedAfter()
getFilterCreatedAfter
in interface DriftChangeSetCriteria
public void addFilterCreatedBefore(Long filterCreatedBefore)
DriftChangeSetCriteria
addFilterCreatedBefore
in interface DriftChangeSetCriteria
filterCreatedBefore
- The ending time of the range. This should be inclusive.public Long getFilterCreatedBefore()
getFilterCreatedBefore
in interface DriftChangeSetCriteria
public void addFilterResourceId(Integer filterResourceId)
addFilterResourceId
in interface DriftChangeSetCriteria
filterResourceId
- The id which uniquely identifies the resource to which the
change set(s) belong. Note that persistence of resources is managed by the RHQ core
server so it assumed that no other resource-specific information other than the id
is maintained/tracked by drift server plugin implementations.public Integer getFilterResourceId()
getFilterResourceId
in interface DriftChangeSetCriteria
public void addFilterDriftDefinitionId(Integer filterDriftDefId)
addFilterDriftDefinitionId
in interface DriftChangeSetCriteria
filterDriftDefId
- The id which uniquely identifies the drift definition to
which the change set(s) belong. Note that persistence of resources is managed by the
RHQ core server so it assumed that no other resource-specific information other than
the id is maintained/tracked by drift server plugin implementations.public Integer getFilterDriftDefinitionId()
getFilterDriftDefinitionId
in interface DriftChangeSetCriteria
public void addFilterCategory(DriftChangeSetCategory filterCategory)
DriftChangeSetCriteria
DriftChangeSetCategory.DRIFT
which means that the query results
should only include delta change sets.
addFilterCategory
in interface DriftChangeSetCriteria
filterCategory
- The change set type filterpublic DriftChangeSetCategory getFilterCategory()
getFilterCategory
in interface DriftChangeSetCriteria
public void addFilterDriftCategories(List<DriftCategory> filterDriftCategories)
public void addFilterDriftCategories(DriftCategory... filterDriftCategories)
DriftChangeSetCriteria
addFilterDriftCategories
in interface DriftChangeSetCriteria
filterDriftCategories
- Drift type or categories on which to filter.DriftCategory
public List<DriftCategory> getFilterDriftCategories()
getFilterDriftCategories
in interface DriftChangeSetCriteria
DriftCategory
filters or an empty list if not set.public void addFilterDriftDirectory(String filterDriftDirectory)
DriftChangeSetCriteria
Drift
with a directory that
IS CASE SENSITIVE EQUAL TO the specified string. All substring matching should use the
DriftChangeSetCriteria.addFilterDriftPath(String)
. Setting this filter non-null will force
BaseCriteria.setStrict(boolean)
to true.
addFilterDriftDirectory
in interface DriftChangeSetCriteria
filterDriftDirectory
- A directory substring on which to filterpublic String getFilterDriftDirectory()
getFilterDriftDirectory
in interface DriftChangeSetCriteria
public void addFilterDriftPath(String filterDriftPath)
DriftChangeSetCriteria
Drift
with a path that
contains the specified substring.
addFilterDriftPath
in interface DriftChangeSetCriteria
filterDriftPath
- A path substring on which to filterpublic String getFilterDriftPath()
getFilterDriftPath
in interface DriftChangeSetCriteria
public void fetchDrifts(boolean fetchDrifts)
fetchDrifts
in interface DriftChangeSetCriteria
fetchDrifts
- set to true if the drifts that make up the change set should be
loaded and returned with the change set.public boolean isFetchDrifts()
isFetchDrifts
in interface DriftChangeSetCriteria
public void fetchDriftDefinition(boolean fetchDriftDefinition)
public boolean isFetchInitialDriftSet()
public void fetchInitialDriftSet(boolean fetchInitialDriftSet)
public void addSortVersion(PageOrdering sortVersion)
DriftChangeSetCriteria
addSortVersion
in interface DriftChangeSetCriteria
sortVersion
- Specifies whether the sort is ascending or descendingpublic PageOrdering getSortVersion()
getSortVersion
in interface DriftChangeSetCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |