org.rhq.core.domain.criteria
Class RoleCriteria
java.lang.Object
org.rhq.core.domain.criteria.Criteria
org.rhq.core.domain.criteria.RoleCriteria
- All Implemented Interfaces:
- Serializable, BaseCriteria
public class RoleCriteria
- extends Criteria
- 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, isInventoryManagerRequired, 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 |
RoleCriteria
public RoleCriteria()
getPersistentClass
public Class<Role> getPersistentClass()
- Specified by:
getPersistentClass
in class Criteria
addFilterId
public void addFilterId(Integer filterId)
addFilterName
public void addFilterName(String filterName)
addFilterDescription
public void addFilterDescription(String filterDescription)
addFilterSubjectId
public void addFilterSubjectId(Integer filterSubjectId)
addFilterLdapSubjectId
public void addFilterLdapSubjectId(Integer filterLdapSubjectId)
addFilterIds
public void addFilterIds(Integer... filterIds)
fetchSubjects
public void fetchSubjects(boolean fetchSubjects)
- Requires MANAGE_SECURITY
- Parameters:
fetchSubjects
-
fetchLdapGroups
public void fetchLdapGroups(boolean fetchLdapGroups)
- Specify whether or not LDAP groups should be fetched. Requires MANAGE_SECURITY.
- Parameters:
fetchLdapGroups
- true if LDAP groups should be fetched
fetchResourceGroups
public void fetchResourceGroups(boolean fetchResourceGroups)
- Requires MANAGE_SECURITY
- Parameters:
fetchResourceGroups
-
fetchPermissions
public void fetchPermissions(boolean fetchPermissions)
fetchRoleNotifications
public void fetchRoleNotifications(boolean fetchRoleNotifications)
addSortName
public void addSortName(PageOrdering sortName)
isSecurityManagerRequired
public boolean isSecurityManagerRequired()
- subclasses should override as necessary
- Overrides:
isSecurityManagerRequired
in class Criteria
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.