Package wt.query
Interface PageableSessionQuerySpec
- All Superinterfaces:
StatementSpec
- All Known Implementing Classes:
BasicPageableQuerySpec
This interface specifies the abstractions necessary to establish a persistent
paging session.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLabel for the attribute; Specifies a FromIndex from the snapshor query that will be used to group results for paging.static final StringLabel for the attribute; Specifies threshold at which a paging session will be established.static final StringLabel for the attribute.Fields inherited from interface wt.pds.StatementSpec
ADVANCED_QUERY_ENABLED, USE_BIND -
Method Summary
Modifier and TypeMethodDescriptionintGets the value of the attribute: GROUP_FROM_INDEX.intGets the value of the attribute: PAGE_THRESHOLD.Gets the object for the association that plays role: PRIMARY_STATEMENT.voidsetGroupFromIndex(int a_GroupFromIndex) Sets the value of the attribute: GROUP_FROM_INDEX.voidsetPageThreshold(int a_PageThreshold) Sets the value of the attribute: PAGE_THRESHOLD.voidsetPrimaryStatement(StatementSpec a_PrimaryStatement) Sets the object for the association that plays role: PRIMARY_STATEMENT.Methods inherited from interface wt.pds.StatementSpec
isAdvancedQueryEnabled, isUseBind, setAdvancedQueryEnabled, setLocale, setUseBind
-
Field Details
-
GROUP_FROM_INDEX
Label for the attribute; Specifies a FromIndex from the snapshor query that will be used to group results for paging.
Supported API: true- See Also:
-
PAGE_THRESHOLD
Label for the attribute; Specifies threshold at which a paging session will be established. If the snapshot query contains fewer items than this threshold, then those items will be returned and no paging session will be established. The default value for this attribute is obtained from the system property "wt.pom.paging.threshold".
Supported API: true- See Also:
-
PRIMARY_STATEMENT
Label for the attribute.
Supported API: true- See Also:
-
-
Method Details
-
getGroupFromIndex
int getGroupFromIndex()Gets the value of the attribute: GROUP_FROM_INDEX. Specifies a FromIndex from the snapshor query that will be used to group results for paging.
Supported API: true- Returns:
- int
-
setGroupFromIndex
Sets the value of the attribute: GROUP_FROM_INDEX. Specifies a FromIndex from the snapshor query that will be used to group results for paging.
Supported API: true- Parameters:
a_GroupFromIndex-- Throws:
WTPropertyVetoException
-
getPageThreshold
int getPageThreshold()Gets the value of the attribute: PAGE_THRESHOLD. Specifies threshold at which a paging session will be established. If the snapshot query contains fewer items than this threshold, then those items will be returned and no paging session will be established. The default value for this attribute is obtained from the system property "wt.pom.paging.threshold".
Supported API: true- Returns:
- int
-
setPageThreshold
Sets the value of the attribute: PAGE_THRESHOLD. Specifies threshold at which a paging session will be established. If the snapshot query contains fewer items than this threshold, then those items will be returned and no paging session will be established. The default value for this attribute is obtained from the system property "wt.pom.paging.threshold".
Supported API: true- Parameters:
a_PageThreshold-- Throws:
WTPropertyVetoException
-
getPrimaryStatement
StatementSpec getPrimaryStatement()Gets the object for the association that plays role: PRIMARY_STATEMENT.
Supported API: true- Returns:
- StatementSpec
-
setPrimaryStatement
Sets the object for the association that plays role: PRIMARY_STATEMENT.
Supported API: true- Parameters:
a_PrimaryStatement-- Throws:
WTPropertyVetoException
-