public class SearchCriteria
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String | DEFAULT_MAX_THRESHOLD
The constant for the search result's maximum threshold.
|
static java.lang.String | DEFAULT_START_INDEX
The default start index for the search result.
|
Constructor and Description |
---|
SearchCriteria()
Default Construct
|
Modifier and Type | Method and Description |
---|---|
void | addSelectExpression(SelectExpression aSelectExpression)
Adds a select expression to the search criteria.
|
void | addSelectExpression(java.lang.String astrFieldName, java.lang.String astrFieldValue, java.lang.String astrSearchType)
Adds a select expression to the search criteria.
|
java.lang.String | getCacheKey()
Returns a suitable cache key for the search criteria found in this object.
|
java.lang.String | getMaxThresHold()
Gets the maximum threshold returned from the search.
|
java.lang.String | getOrderBy()
Gets the search order by field.
|
SelectExpression | getSelectExpression(java.lang.String astrFieldName)
Gets the select expression.
|
java.util.ArrayList | getSelectExpressions(java.lang.String astrFieldName)
Gets the list of select expressions with the same search field name.
|
java.lang.String | getStartIndex()
Gets the start index of the search result.
|
void | setMaxThresHold(java.lang.String astrValue)
Sets the maximum threshold returned from the search.
|
void | setOrderBy(java.lang.String astrValue)
Sets the search order by field value.
|
void | setStartIndex(java.lang.String astrValue)
Sets the start index of the search result returned.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_MAX_THRESHOLD
Value is "50".
public static final java.lang.String DEFAULT_START_INDEX
Value is "0".
public void addSelectExpression(java.lang.String astrFieldName, java.lang.String astrFieldValue, java.lang.String astrSearchType)
public void addSelectExpression(SelectExpression aSelectExpression)
public SelectExpression getSelectExpression(java.lang.String astrFieldName)
public java.util.ArrayList getSelectExpressions(java.lang.String astrFieldName)
public java.lang.String getMaxThresHold()
public java.lang.String getOrderBy()
public java.lang.String getStartIndex()
public void setMaxThresHold(java.lang.String astrValue)
public void setOrderBy(java.lang.String astrValue)
public void setStartIndex(java.lang.String astrValue)
public java.lang.String getCacheKey()