|
ThinkUI SQL Client 1.1.3 API | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthinkui.db.AbstractDataObject
thinkui.common.SearchCriteriaData
This is the base class for all client search criteria data. It serves as a value object for passing search criteria data to the business tier.
SearchCriteriaData objects are used to passed search criteria and other search parameters from the client to the server to perform searches. The search result is returned in the SearchResultsData objects.
Field Summary | |
static DataClass |
DATA_CLASS
|
static java.lang.String |
INCLUDE_NULLS
|
static java.lang.String |
MAX_OBJECT_COUNT
|
static Attribute |
MAX_OBJECT_COUNT_ATTRIBUTE
|
static java.lang.String |
OBJECT_COUNT
|
static java.lang.String |
ORDER_BY
|
static java.lang.String |
PERFORM_COUNT_ONLY
|
static java.lang.String |
START_INDEX
|
static Attribute |
START_INDEX_ATTRIBUTE
|
static java.lang.String |
TO_UPPER_CASE
|
static java.lang.String |
TRIM_STRINGS
|
static java.lang.String |
USE_LIKE
|
Fields inherited from interface thinkui.db.DataObject |
INDEX_SEPARATOR, NAME_SEPARATOR |
Constructor Summary | |
SearchCriteriaData()
SearchCriteriaData constructor. |
Method Summary | |
DataClass |
getDataClass()
|
int |
getMaxObjectCount()
|
int |
getObjectCount()
|
thinkui.db.OrderBy |
getOrderBy()
|
int |
getStartIndex()
|
boolean |
isIncludeNulls(boolean defaultValue)
|
boolean |
isPerformCountOnly()
|
boolean |
isToUpperCase(boolean defaultValue)
|
boolean |
isTrimStrings(boolean defaultValue)
|
boolean |
isUseLike(boolean defaultValue)
|
void |
setIncludeNulls(boolean includeNulls)
Sets whether or not to use the IS_NULL operator for null values. |
void |
setMaxObjectCount(int maxObjectCount)
Sets the maximum number of objects to be returned from a search. |
void |
setObjectCount(int objectCount)
Sets the maximum number of objects to be returned from a search. |
void |
setOrderBy(thinkui.db.OrderBy orderBy)
Sets the order by for the search criteria data. |
void |
setPerformCountOnly(boolean performCountOnly)
Sets whether or not to perform a count of the search result only. |
void |
setStartIndex(int startIndex)
Sets the start index used for searching. |
void |
setToUpperCase(boolean toUpperCase)
Sets whether or not to convert values to uppercase for STRING attribute type. |
void |
setTrimStrings(boolean trimStrings)
Sets whether or not to trim values to uppercase for STRING attribute type. |
void |
setUseLike(boolean useLike)
Sets whether or not to use the LIKE operator for STRING attribute type. |
Methods inherited from class thinkui.db.AbstractDataObject |
clearValue, clearValues, compareTo, copy, copyFrom, copyFrom, copyFrom, copyNonEmptyValuesFrom, equals, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCaption, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getNumber, getObjectClassName, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DataClass DATA_CLASS
public static final java.lang.String INCLUDE_NULLS
public static final java.lang.String MAX_OBJECT_COUNT
public static final Attribute MAX_OBJECT_COUNT_ATTRIBUTE
public static final java.lang.String OBJECT_COUNT
public static final java.lang.String ORDER_BY
public static final java.lang.String PERFORM_COUNT_ONLY
public static final java.lang.String START_INDEX
public static final Attribute START_INDEX_ATTRIBUTE
public static final java.lang.String TO_UPPER_CASE
public static final java.lang.String TRIM_STRINGS
public static final java.lang.String USE_LIKE
Constructor Detail |
public SearchCriteriaData()
Method Detail |
public DataClass getDataClass()
public final int getMaxObjectCount()
public final int getObjectCount()
public final thinkui.db.OrderBy getOrderBy()
public final int getStartIndex()
public final boolean isIncludeNulls(boolean defaultValue)
public final boolean isPerformCountOnly()
public final boolean isToUpperCase(boolean defaultValue)
public final boolean isTrimStrings(boolean defaultValue)
public final boolean isUseLike(boolean defaultValue)
public final void setIncludeNulls(boolean includeNulls)
public final void setMaxObjectCount(int maxObjectCount)
public final void setObjectCount(int objectCount)
public final void setOrderBy(thinkui.db.OrderBy orderBy)
public final void setPerformCountOnly(boolean performCountOnly)
public final void setStartIndex(int startIndex)
public final void setToUpperCase(boolean toUpperCase)
public final void setTrimStrings(boolean trimStrings)
public final void setUseLike(boolean useLike)
|
ThinkUI SQL Client 1.1.3 API | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |