|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.query.PageableQuerySpec
public abstract class PageableQuerySpec
This abstract class provides common APIs and functionality for queries
that support paging. The primary statement is the source of the results
that can be paged. The offset and range values specify the page offset
and size.
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface wt.pds.StatementSpec |
|---|
ADVANCED_QUERY_ENABLED, USE_BIND |
| Method Summary | |
|---|---|
int |
getOffset()
Gets the value of the attribute: offset; Paging offset into the original result set. |
int |
getRange()
Gets the value of the attribute: range; Paging range that specifies the number of requested elements. |
boolean |
isAdvancedQueryEnabled()
Gets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled. |
boolean |
isUseBind()
Gets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement. |
void |
setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
Sets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled. |
void |
setLocale(Locale a_locale)
Set the client locale. |
void |
setOffset(int a_Offset)
Sets the value of the attribute: offset; Paging offset into the original result set. |
void |
setRange(int a_Range)
Sets the value of the attribute: range; Paging range that specifies the number of requested elements. |
void |
setUseBind(boolean a_UseBind)
Sets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getOffset()
public void setOffset(int a_Offset)
throws WTPropertyVetoException
a_Offset -
WTPropertyVetoExceptionpublic int getRange()
public void setRange(int a_Range)
throws WTPropertyVetoException
a_Range -
WTPropertyVetoExceptionpublic boolean isAdvancedQueryEnabled()
isAdvancedQueryEnabled in interface StatementSpecpublic void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
setAdvancedQueryEnabled in interface StatementSpeca_AdvancedQueryEnabled -
public void setLocale(Locale a_locale)
throws WTException
setLocale in interface StatementSpeca_locale -
WTExceptionpublic boolean isUseBind()
isUseBind in interface StatementSpec
public void setUseBind(boolean a_UseBind)
throws WTPropertyVetoException
setUseBind in interface StatementSpeca_UseBind -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||