org.rhq.core.domain.criteria
Class ResourceCriteria
java.lang.Object
org.rhq.core.domain.criteria.Criteria
org.rhq.core.domain.criteria.TaggedCriteria
org.rhq.core.domain.criteria.ResourceCriteria
- All Implemented Interfaces:
- Serializable, BaseCriteria
public class ResourceCriteria
- extends TaggedCriteria
- See Also:
- Serialized Form
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 |
ResourceCriteria
public ResourceCriteria()
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.