Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policymanager
Class SearchCriteria

java.lang.Object
  extended by oracle.wsm.policymanager.SearchCriteria

All Implemented Interfaces:
Serializable

public class SearchCriteria
extends Object
implements Serializable
See Also:
Serialized Form

Constructor Summary
SearchCriteria()
           

 

Method Summary
 void addAndCriteria(IQueryService.Attributes attribute, String value)
          Add an attribute-value pair to the list of attributes to be ANDed with each other
 void addOrCriteria(IQueryService.Attributes attribute, String value)
          Add an attribute-value pair to the list of attributes to be ORed with each other
 Map<IQueryService.Attributes,String> getAndMap()
           
 String getId()
           
 Map<IQueryService.Attributes,String> getOrMap()
           
 String getPath()
           
 boolean isExpandAttachTo()
           
 boolean isfetchSlimPolicies()
          Returns true if light weight PolicyManager artifact is expected to be returned
 boolean isFetchSubjectCount()
          Returns flag that specifies if subject count should be computed and added to the queried policies
 boolean isOrFinalResult()
          The search criteria has two sets of conditions, OR and AND.
 void setExpandAttachTo(boolean expandAttachTo)
          Set flag to specify if the attachTo search needs to be expanded The default value is true
 void setfetchSlimPolicies(boolean fetchSlimPolicies)
           
 void setFetchSubjectCount(boolean fetchSubjectCount)
           
 void setId(String id)
           
 void setOrFinalResult(boolean orFinalResult)
          Sets the behavior of the joining of search attributes.
 void setPath(String path)
           

 

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

 

Constructor Detail

SearchCriteria

public SearchCriteria()

Method Detail

addAndCriteria

public void addAndCriteria(IQueryService.Attributes attribute,
                           String value)
Add an attribute-value pair to the list of attributes to be ANDed with each other
Parameters:
attribute -
value -

addOrCriteria

public void addOrCriteria(IQueryService.Attributes attribute,
                          String value)
Add an attribute-value pair to the list of attributes to be ORed with each other
Parameters:
attribute -
value -

isfetchSlimPolicies

public boolean isfetchSlimPolicies()
Returns true if light weight PolicyManager artifact is expected to be returned
Returns:

setfetchSlimPolicies

public void setfetchSlimPolicies(boolean fetchSlimPolicies)

isFetchSubjectCount

public boolean isFetchSubjectCount()
Returns flag that specifies if subject count should be computed and added to the queried policies
Returns:

setFetchSubjectCount

public void setFetchSubjectCount(boolean fetchSubjectCount)

isOrFinalResult

public boolean isOrFinalResult()
The search criteria has two sets of conditions, OR and AND. This flag indicates how the two are merged with each other.
Returns:
true if the AND and OR conditions will be finally ORed, false otherwise

setOrFinalResult

public void setOrFinalResult(boolean orFinalResult)
Sets the behavior of the joining of search attributes. If set to true, the results from the OR and AND lists will be finally joined by an OR operation e.g. List of attributes to be ORed (attr1, attr2, attr3) List of attributes to be ANDed (attr3, attr4) if orFinalResult is set to true, the result returned will be (attr1 OR attr2 OR attr3) OR (attr4 AND attr5) else the returned search will be (attr1 OR attr2 OR attr3) AND (attr4 AND attr5)
Parameters:
orFinalResult -

getAndMap

public Map<IQueryService.Attributes,String> getAndMap()

getOrMap

public Map<IQueryService.Attributes,String> getOrMap()

getPath

public String getPath()

setPath

public void setPath(String path)

getId

public String getId()

setId

public void setId(String id)

isExpandAttachTo

public boolean isExpandAttachTo()

setExpandAttachTo

public void setExpandAttachTo(boolean expandAttachTo)
Set flag to specify if the attachTo search needs to be expanded The default value is true

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.