org.rhq.core.domain.criteria
Class RoleCriteria

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

public class RoleCriteria
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
RoleCriteria()
           
 
Method Summary
 void addFilterDescription(String filterDescription)
           
 void addFilterId(Integer filterId)
           
 void addFilterIds(Integer... filterIds)
           
 void addFilterLdapSubjectId(Integer filterLdapSubjectId)
           
 void addFilterName(String filterName)
           
 void addFilterSubjectId(Integer filterSubjectId)
           
 void addSortName(PageOrdering sortName)
           
 void fetchLdapGroups(boolean fetchLdapGroups)
          Specify whether or not LDAP groups should be fetched.
 void fetchPermissions(boolean fetchPermissions)
           
 void fetchResourceGroups(boolean fetchResourceGroups)
          Requires MANAGE_SECURITY
 void fetchRoleNotifications(boolean fetchRoleNotifications)
           
 void fetchSubjects(boolean fetchSubjects)
          Requires MANAGE_SECURITY
 Class<Role> getPersistentClass()
           
 boolean isSecurityManagerRequired()
          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, 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
 

Constructor Detail

RoleCriteria

public RoleCriteria()
Method Detail

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.