Home > Contents > Index >
Expanded TOC   |    Purpose TOC   |    Annotated TOC   |    Index

 

SearchState

An input to the AssetSet operations.

SearchState methods instantiate the SearchState object and add different search constraints to it. There are corresponding get methods for all the set methods described for this object.

Methods

new SearchState( )
Constructor method that instantiates the SearchState object. Creates an empty SearchState object, and provides methods for creating search constraints. Once the SearchState object is instantiated, you can call associated SearchState methods on it.

setOP (OP)
Specifies the operation to be applied to the SearchState object. Adds a search constraint that will be appended as an AND operation or an OR operation to other constraints contained in the Searchstate instance.

setLikeConstraint(com.divine.LikeConstraint[] likeConstraint)
Passes a LikeConstraint object to a SearchState object. This method has a corresponding get method.

setNestedConstraint(com.divine.NestedConstraint[] nestedConstraint)
Passes a NestedConstraint object to a SearchState object. This method has a corresponding get method.

setRangeConstraint(com.divine.RangeConstraint[] rangeConstraint)
Passes a RangeConstraint object to a SearchState object. This method has a corresponding get method.

setRichTextConstraint(com.divine.RichTextConstraint[] richTextConstraint)
Passes a RichTextConstraint object to a SearchState object. This method has a corresponding get method.

setStandardConstraint(com.divine.StandardConstraint[] standardConstraint)
Passes a StandardConstraint object to a SearchState object. This method has a corresponding get method.

Parameters

OP (optional)
Input parameter for the setOP method. SearchState type, either AND or OR. The default is AND.

Description

Methods update the named object or SearchState to include the new constraint. If the attribute is already in the SearchState, then the new constraint replaces the old constraint.

Example

This code instantiates a SearchState object called SS, specifies an AND operation, and adds a standard constraint:

See Also

Methods for adding the following constraint objects to a SearchState.

LikeConstraint

NestedConstraint

RangeConstraint

RichTextConstraint

StandardConstraint

 

  Home > Contents > Index >

Oracle Web Services Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.