Home > Contents > 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 theset
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 theSearchState
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 anAND
operation or anOR
operation to other constraints contained in the Searchstate instance.
setLikeConstraint(com.divine.LikeConstraint[] likeConstraint)
- Passes a
LikeConstraint
object to aSearchState
object. This method has a correspondingget
method.
setNestedConstraint(com.divine.NestedConstraint[] nestedConstraint)
- Passes a
NestedConstraint
object to aSearchState
object. This method has a correspondingget
method.
setRangeConstraint(com.divine.RangeConstraint[] rangeConstraint)
- Passes a
RangeConstraint
object to aSearchState
object. This method has a correspondingget
method.
setRichTextConstraint(com.divine.RichTextConstraint[] richTextConstraint)
- Passes a
RichTextConstraint
object to aSearchState
object. This method has a correspondingget
method.
setStandardConstraint(com.divine.StandardConstraint[] standardConstraint)
- Passes a
StandardConstraint
object to aSearchState
object. This method has a correspondingget
method.
Parameters
OP (optional)
- Input parameter for the
setOP
method. SearchState type, eitherAND
orOR
. The default isAND
.
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 calledSS
, specifies anAND
operation, and adds a standard constraint:Searchstate ss = new Searchstate(); ss.setOP("and"); ss.setStandardConstraint(stand_cons);See Also
Methods for adding the following constraint objects to a SearchState.
Home > Contents > Index > ![]()
Oracle Web Services Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.