org.rhq.core.domain.criteria
Class PackageVersionCriteria

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

public class PackageVersionCriteria
extends Criteria

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
PackageVersionCriteria()
           
 
Method Summary
 void addFilterDisplayName(String filterDisplayName)
           
 void addFilterFileName(String filterFileName)
           
 void addFilterFileSizeMaximum(Long filterFileSizeMaximum)
           
 void addFilterFileSizeMinimum(Long filterFileSizeMinimum)
           
 void addFilterId(Integer filterId)
           
 void addFilterLicenseName(String filterLicenseName)
           
 void addFilterLicenseVersion(String filterLicenseVersion)
           
 void addFilterPackageId(Integer filterPackageId)
           
 void addFilterPackageTypeId(Integer filterPackageTypeId)
           
 void addFilterRepoId(Integer filterRepoId)
           
 void addFilterResourceId(Integer filterResourceId)
           
 void addFilterVersion(String filterVersion)
           
 void addSortDisplayName(PageOrdering sortDisplayName)
           
 void fetchArchitecture(boolean fetchArchitecture)
           
 void fetchExtraProperties(boolean fetchExtraProperties)
           
 void fetchGeneralPackage(boolean fetchGeneralPackage)
           
 void fetchInstalledPackageHistory(boolean fetchInstalledPackageHistory)
          Requires MANAGE_INVENTORY permission.
 void fetchInstalledPackages(boolean fetchInstalledPackages)
          Requires MANAGE_INVENTORY permission.
 void fetchProductVersionPackageVersions(boolean fetchProductVersionPackageVersions)
           
 void fetchRepoPackageVersions(boolean fetchRepoPackageVersions)
           
 Integer getFilterRepoId()
           
 Integer getFilterResourceId()
           
 Class<PackageVersion> getPersistentClass()
           
 boolean isInventoryManagerRequired()
          subclasses should override as necessary
 
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, 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
 

Constructor Detail

PackageVersionCriteria

public PackageVersionCriteria()
Method Detail

getPersistentClass

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

addFilterId

public void addFilterId(Integer filterId)

addFilterRepoId

public void addFilterRepoId(Integer filterRepoId)

getFilterRepoId

public Integer getFilterRepoId()

addFilterResourceId

public void addFilterResourceId(Integer filterResourceId)

getFilterResourceId

public Integer getFilterResourceId()

addFilterPackageId

public void addFilterPackageId(Integer filterPackageId)

addFilterPackageTypeId

public void addFilterPackageTypeId(Integer filterPackageTypeId)

addFilterDisplayName

public void addFilterDisplayName(String filterDisplayName)

addFilterVersion

public void addFilterVersion(String filterVersion)

addFilterFileName

public void addFilterFileName(String filterFileName)

addFilterFileSizeMinimum

public void addFilterFileSizeMinimum(Long filterFileSizeMinimum)

addFilterFileSizeMaximum

public void addFilterFileSizeMaximum(Long filterFileSizeMaximum)

addFilterLicenseName

public void addFilterLicenseName(String filterLicenseName)

addFilterLicenseVersion

public void addFilterLicenseVersion(String filterLicenseVersion)

fetchGeneralPackage

public void fetchGeneralPackage(boolean fetchGeneralPackage)

fetchArchitecture

public void fetchArchitecture(boolean fetchArchitecture)

fetchExtraProperties

public void fetchExtraProperties(boolean fetchExtraProperties)

fetchRepoPackageVersions

public void fetchRepoPackageVersions(boolean fetchRepoPackageVersions)

fetchInstalledPackages

public void fetchInstalledPackages(boolean fetchInstalledPackages)
Requires MANAGE_INVENTORY permission.

Parameters:
fetchInstalledPackages -

fetchInstalledPackageHistory

public void fetchInstalledPackageHistory(boolean fetchInstalledPackageHistory)
Requires MANAGE_INVENTORY permission.

Parameters:
fetchInstalledPackages -

fetchProductVersionPackageVersions

public void fetchProductVersionPackageVersions(boolean fetchProductVersionPackageVersions)

addSortDisplayName

public void addSortDisplayName(PageOrdering sortDisplayName)

isInventoryManagerRequired

public boolean isInventoryManagerRequired()
subclasses should override as necessary

Overrides:
isInventoryManagerRequired in class Criteria


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