Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api
Class CriterionSet

java.lang.Object
  extended by oracle.iam.rm.server_api.CriterionSet

All Implemented Interfaces:
java.io.Serializable

public class CriterionSet
extends java.lang.Object
implements java.io.Serializable

Filters information used for search operations.

See Also:
Serialized Form

Constructor Summary
CriterionSet()
          Creates a CriterionSet instance.

 

Method Summary
 java.util.Map getNamedCriteria()
          Gets the filters that should be applied to the specified subjects.
 PermissionFilter getSubjectPermissionFilter()
          Gets the permission that the user requires on the primary subject of the search.
 void setCriteria(java.lang.String subjectId, FilterCriterion filterCriterion)
          Sets the filter that should be applied to the specified subject.
 void setSubjectPermissionFilter(PermissionFilter permissionFilter)
          Sets the permission that the user requires on the primary subject of the search.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CriterionSet

public CriterionSet()
Creates a CriterionSet instance.

Method Detail

setCriteria

public void setCriteria(java.lang.String subjectId,
                        FilterCriterion filterCriterion)
Sets the filter that should be applied to the specified subject.
Parameters:
subjectId - ID of the subject to be filtered
filterCriterion - filter to apply to the subject

getNamedCriteria

public java.util.Map getNamedCriteria()
Gets the filters that should be applied to the specified subjects.
Returns:
Map of FilterCriterion objects, keyed by the String subject ID.

getSubjectPermissionFilter

public PermissionFilter getSubjectPermissionFilter()
Gets the permission that the user requires on the primary subject of the search.
Returns:
PermissionFilter representing the permission that the user requires on the primary subject of the search.

setSubjectPermissionFilter

public void setSubjectPermissionFilter(PermissionFilter permissionFilter)
Sets the permission that the user requires on the primary subject of the search.
Parameters:
permissionFilter - PermissionFilter representing the permission that the user requires on the primary subject of the search.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.