wt.query
Class LongSearch
java.lang.Object
wt.query.AttributeSearchSpecification
wt.query.LongSearch
- All Implemented Interfaces:
- Serializable
- public class LongSearch
- extends AttributeSearchSpecification
- implements Serializable
Search for a long value.
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Constructor Summary |
LongSearch(String attribute)
Construct a search object for the specified attribute. |
LongSearch(String attribute,
String expression)
Construct a search object for the specified attribute. |
Methods inherited from class wt.query.AttributeSearchSpecification |
appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue, toString |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
LongSearch
public LongSearch(String attribute,
String expression)
- Construct a search object for the specified attribute.
Supported API: false
- Parameters:
attribute
- Attribute name.expression
- Search expression such as equals.
LongSearch
public LongSearch(String attribute)
- Construct a search object for the specified attribute. Search default
to equal.
Supported API: false
- Parameters:
attribute
- Attribute name.
setValue
public void setValue(String attribute_value)
throws WTPropertyVetoException
- Set the desired value for the attribute. The value is validated
based on the rules for attribute type.
Supported API: false
- Overrides:
setValue
in class AttributeSearchSpecification
- Parameters:
attribute_value
- Value to search for.
- Throws:
WTPropertyVetoException
getSearchCondition
public SearchCondition getSearchCondition(Class classname)
throws WTException,
QueryException
- Return a SearchCondition for this search object. If a pre Search
is required, this will be performed automatically. Intended to be
a server side only api.
Supported API: false
- Overrides:
getSearchCondition
in class AttributeSearchSpecification
- Parameters:
classname
- Class to search against.
- Returns:
- SearchCondition
- Throws:
WTException
QueryException