Home >
Purpose TOC | Annotated TOC |
StandardConstraint
An input to a
SearchStateobject.Methods
new StandardConstraint()- Constructor method that instantiates the
StandardConstraintobject and creates methods that can be called on it. In turn, theStandardConstraintobject can be added to theSearchStateobject.
setBUCKET(java.lang.String BUCKET)- Sets the value for the
BUCKETparameter. This method has a correspondinggetmethod.
setTYPENAME(java.lang.String TYPENAME)- Sets the value for the
TYPENAMEparameter. This method has a correspondinggetmethod.
setATTRIBUTE(java.lang.String ATTRIBUTE)- Sets the value for the
ATTRIBUTEparameter. This method has a correspondinggetmethod.
setIMMEDIATEONLY(java.lang.String IMMEDIATEONLY)- Sets the value for the
IMMEDIATEONLYparameter. This method has a correspondinggetmethod.
setLIST(com.divine.IList LIST)- Sets the value for the
LISTparameter. This method has a correspondinggetmethod.
setCASEINSENSITIVE(java.lang.String CASEINSENSITIVE)- Sets the value specified by the
CASEINSENSITIVEparameter. This method has a correspondinggetmethod.
Parameters
BUCKET (optional)- Input parameter. The bucket name. If not specified, the attribute name is used.
TYPENAME (optional)- Input parameter. The internal asset name for the attribute (either CAttributes for content attribute, or PAttributes for product attribute). If you do not specify TYPENAME, a value is supplied from a property in the gator.ini property file: mwb.defaultattributes=PAttributes. The default is PAttributes and the value may be changed.
ATTRIBUTE (required)- Input parameter. Name of the attribute to constrain.
LIST (optional)- Input parameter. A list of the constrained values for the attribute. If specified, one or more of the values must match the attribute for a product to meet the constraint. The default is that all assets that have any value for the attribute match the constraint. The list has a single column called
value.
IMMEDIATEONLY (optional)- Input parameter. A Boolean value: true indicates that the search is limited to values directly associated with the specified attribute; false (the default) extends the search to include values inherited from a parent.
CASEINSENSITIVE (optional)- Input parameter. A Boolean value: true indicates that the comparison is case-insensitive; false (the default) considers case in the comparison.
Description
Associated methods set parameter values that populate the
StandardConstraintobject. TheStandardConstraintobject can be added to theSearchStateobject with one of the corresponding SearchState methods.Example
This code instantiates a
StandardConstraintobject and sets theTYPENAMEandATTRIBUTEparameters.StandardConstraint stand_cons = new StandardConstraint(); stand_cons.setTYPENAME("PAttributes"); stand_cons.setATTRIBUTE("FundFamily");See Also
Methods for adding various constraint objects to a SearchState. These are available when you instantiate the SearchState object.
IList Objects
The
IListobject is an optional input to any of the AssetSet Operations defined in theAssetSet.wsdlfile. Other supporting objects are inputs to theIListobject. IList methods, which reside inside the IList class generated by your client program, are used to create support objects that populate theIListobject.ILists and the AssetSet Operations apply to flex assets only. AssetSet operations accept either an IList or a SearchState as input, but not both.
IList comprises the following objects:
Home > Contents > Index > ![]()
Oracle Web Services Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.