org.rhq.core.domain.criteria
Class ResourceCriteria

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

public class ResourceCriteria
extends TaggedCriteria

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
ResourceCriteria()
           
 
Method Summary
 void addFilterAgentId(Integer filterAgentId)
           
 void addFilterAgentName(String filterAgentName)
           
 void addFilterCurrentAvailability(AvailabilityType filterCurrentAvailability)
           
 void addFilterDescription(String filterDescription)
           
 void addFilterEndItime(long itime)
           
 void addFilterExplicitGroupIds(Integer... filterExplicitGroupIds)
           
 void addFilterId(Integer filterId)
           
 void addFilterIds(Integer... filterIds)
           
 void addFilterImplicitGroupIds(Integer... filterImplicitGroupIds)
           
 void addFilterInventoryStatus(InventoryStatus filterInventoryStatus)
           
 void addFilterName(String filterName)
           
 void addFilterParentResourceId(Integer filterParentResourceId)
           
 void addFilterParentResourceName(String filterParentResourceName)
           
 void addFilterParentResourceTypeId(int filterParentResourceTypeId)
           
 void addFilterPluginName(String filterPluginName)
           
 void addFilterResourceCategories(ResourceCategory... filterResourceCategories)
           
 void addFilterResourceKey(String filterResourceKey)
           
 void addFilterResourceTypeId(Integer filterResourceTypeId)
           
 void addFilterResourceTypeName(String filterResourceTypeName)
           
 void addFilterRootResourceId(Integer filterRootResourceId)
           
 void addFilterStartItime(long itime)
           
 void addFilterVersion(String filterVersion)
           
 void addSortAgentName(PageOrdering sortAgentName)
           
 void addSortCurrentAvailability(PageOrdering sortCurrentAvailability)
           
 void addSortInventoryStatus(PageOrdering sortInventoryStatus)
           
 void addSortName(PageOrdering sortName)
           
 void addSortParentResourceName(PageOrdering sortParentResourceName)
           
 void addSortPluginName(PageOrdering sortPluginName)
           
 void addSortResourceAncestry(PageOrdering sortAncestry)
           
 void addSortResourceCategory(PageOrdering sortResourceCategory)
           
 void addSortResourceTypeName(PageOrdering sortResourceTypeName)
           
 void addSortVersion(PageOrdering sortVersion)
           
 void fetchAgent(boolean fetchAgent)
           
 void fetchAlertDefinitions(boolean fetchAlertDefinitions)
           
 void fetchChildResources(boolean fetchChildResources)
          Requires MANAGE_INVENTORY
 void fetchContentServiceRequests(boolean fetchContentServiceRequests)
           
 void fetchCreateChildResourceRequests(boolean fetchCreateChildResourceRequests)
           
 void fetchCurrentAvailability(boolean fetchCurrentAvailability)
           
 void fetchDeleteResourceRequests(boolean fetchDeleteResourceRequests)
           
 void fetchDriftDefinitions(boolean fetchDriftDefinitions)
           
 void fetchEventSources(boolean fetchEventSources)
           
 void fetchExplicitGroups(boolean fetchExplicitGroups)
           
 void fetchImplicitGroups(boolean fetchImplicitGroups)
           
 void fetchInstalledPackageHistory(boolean fetchInstalledPackageHistory)
           
 void fetchInstalledPackages(boolean fetchInstalledPackages)
           
 void fetchOperationHistories(boolean fetchOperationHistories)
           
 void fetchParentResource(boolean fetchParentResource)
          Requires MANAGE_INVENTORY
 void fetchPluginConfiguration(boolean fetchPluginConfiguration)
           
 void fetchPluginConfigurationUpdates(boolean fetchPluginConfigurationUpdates)
           
 void fetchProductVersion(boolean fetchProductVersion)
           
 void fetchResourceConfiguration(boolean fetchResourceConfiguration)
           
 void fetchResourceConfigurationUpdates(boolean fetchResourceConfigurationUpdates)
           
 void fetchResourceErrors(boolean fetchResourceErrors)
           
 void fetchResourceRepos(boolean fetchResourceRepos)
           
 void fetchResourceType(boolean fetchResourceType)
           
 void fetchSchedules(boolean fetchSchedules)
           
 Class<Resource> getPersistentClass()
           
 boolean isInventoryManagerRequired()
          subclasses should override as necessary
 
Methods inherited from class org.rhq.core.domain.criteria.TaggedCriteria
addFilterTag, addFilterTagName, addFilterTagNamespace, addFilterTagSemantic, fetchTags, isTagFiltered
 
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

ResourceCriteria

public ResourceCriteria()
Method Detail

getPersistentClass

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

addFilterId

public void addFilterId(Integer filterId)

addFilterName

public void addFilterName(String filterName)

addFilterResourceKey

public void addFilterResourceKey(String filterResourceKey)

addFilterInventoryStatus

public void addFilterInventoryStatus(InventoryStatus filterInventoryStatus)

addFilterVersion

public void addFilterVersion(String filterVersion)

addFilterDescription

public void addFilterDescription(String filterDescription)

addFilterResourceTypeId

public void addFilterResourceTypeId(Integer filterResourceTypeId)

addFilterResourceTypeName

public void addFilterResourceTypeName(String filterResourceTypeName)

addFilterResourceCategories

public void addFilterResourceCategories(ResourceCategory... filterResourceCategories)

addFilterPluginName

public void addFilterPluginName(String filterPluginName)

addFilterParentResourceId

public void addFilterParentResourceId(Integer filterParentResourceId)

addFilterParentResourceName

public void addFilterParentResourceName(String filterParentResourceName)

addFilterParentResourceTypeId

public void addFilterParentResourceTypeId(int filterParentResourceTypeId)

addFilterAgentName

public void addFilterAgentName(String filterAgentName)

addFilterAgentId

public void addFilterAgentId(Integer filterAgentId)

addFilterCurrentAvailability

public void addFilterCurrentAvailability(AvailabilityType filterCurrentAvailability)

addFilterStartItime

public void addFilterStartItime(long itime)

addFilterEndItime

public void addFilterEndItime(long itime)

addFilterIds

public void addFilterIds(Integer... filterIds)

addFilterExplicitGroupIds

public void addFilterExplicitGroupIds(Integer... filterExplicitGroupIds)

addFilterImplicitGroupIds

public void addFilterImplicitGroupIds(Integer... filterImplicitGroupIds)

addFilterRootResourceId

public void addFilterRootResourceId(Integer filterRootResourceId)

fetchResourceType

public void fetchResourceType(boolean fetchResourceType)

fetchChildResources

public void fetchChildResources(boolean fetchChildResources)
Requires MANAGE_INVENTORY

Parameters:
fetchChildResources -

fetchParentResource

public void fetchParentResource(boolean fetchParentResource)
Requires MANAGE_INVENTORY

Parameters:
fetchParentResource -

fetchResourceConfiguration

public void fetchResourceConfiguration(boolean fetchResourceConfiguration)

fetchPluginConfiguration

public void fetchPluginConfiguration(boolean fetchPluginConfiguration)

fetchAgent

public void fetchAgent(boolean fetchAgent)

fetchAlertDefinitions

public void fetchAlertDefinitions(boolean fetchAlertDefinitions)

fetchResourceConfigurationUpdates

public void fetchResourceConfigurationUpdates(boolean fetchResourceConfigurationUpdates)

fetchPluginConfigurationUpdates

public void fetchPluginConfigurationUpdates(boolean fetchPluginConfigurationUpdates)

fetchImplicitGroups

public void fetchImplicitGroups(boolean fetchImplicitGroups)

fetchExplicitGroups

public void fetchExplicitGroups(boolean fetchExplicitGroups)

fetchContentServiceRequests

public void fetchContentServiceRequests(boolean fetchContentServiceRequests)

fetchCreateChildResourceRequests

public void fetchCreateChildResourceRequests(boolean fetchCreateChildResourceRequests)

fetchDeleteResourceRequests

public void fetchDeleteResourceRequests(boolean fetchDeleteResourceRequests)

fetchOperationHistories

public void fetchOperationHistories(boolean fetchOperationHistories)

fetchInstalledPackages

public void fetchInstalledPackages(boolean fetchInstalledPackages)

fetchInstalledPackageHistory

public void fetchInstalledPackageHistory(boolean fetchInstalledPackageHistory)

fetchResourceRepos

public void fetchResourceRepos(boolean fetchResourceRepos)

fetchSchedules

public void fetchSchedules(boolean fetchSchedules)

fetchCurrentAvailability

public void fetchCurrentAvailability(boolean fetchCurrentAvailability)

fetchResourceErrors

public void fetchResourceErrors(boolean fetchResourceErrors)

fetchEventSources

public void fetchEventSources(boolean fetchEventSources)

fetchProductVersion

public void fetchProductVersion(boolean fetchProductVersion)

fetchDriftDefinitions

public void fetchDriftDefinitions(boolean fetchDriftDefinitions)

addSortName

public void addSortName(PageOrdering sortName)

addSortInventoryStatus

public void addSortInventoryStatus(PageOrdering sortInventoryStatus)

addSortVersion

public void addSortVersion(PageOrdering sortVersion)

addSortResourceTypeName

public void addSortResourceTypeName(PageOrdering sortResourceTypeName)

addSortResourceCategory

public void addSortResourceCategory(PageOrdering sortResourceCategory)

addSortPluginName

public void addSortPluginName(PageOrdering sortPluginName)

addSortParentResourceName

public void addSortParentResourceName(PageOrdering sortParentResourceName)

addSortAgentName

public void addSortAgentName(PageOrdering sortAgentName)

addSortCurrentAvailability

public void addSortCurrentAvailability(PageOrdering sortCurrentAvailability)

addSortResourceAncestry

public void addSortResourceAncestry(PageOrdering sortAncestry)

isInventoryManagerRequired

public boolean isInventoryManagerRequired()
subclasses should override as necessary

Overrides:
isInventoryManagerRequired in class Criteria


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