public abstract class XPathSQLKeyProcessor
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
XPathSQLKeyProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List |
getKeys(java.util.List keys,
java.util.Map ahmXPathQueryParameters,
int sqlPagingLimit)
This method returns a list of keys which will be used in subsequence associated sql(s)
|
void |
setNeedPaging(boolean iNeedPaging)
This method sets the flag whether paging is needed.
|
void |
setPageSize(int iPageSize)
This method sets the paging limit.
|
void |
setPagingStartIndex(int iPagingStartIndex)
This method sets the paging start index.
|
public abstract java.util.List getKeys(java.util.List keys, java.util.Map ahmXPathQueryParameters, int sqlPagingLimit)
keys
- a list of the keys from the xpath sql statement.ahmXPathQueryParameters
- The parameters from the XPath query.sqlPagingLimit
- The paging limit of the XPath sql if it is defined in a query template file.String
. The list should not contain duplicate entries.public void setPageSize(int iPageSize)
iPageSize
- The paging limit from client side.public void setPagingStartIndex(int iPagingStartIndex)
iPagingStartIndex
- The paging start index from client side.public void setNeedPaging(boolean iNeedPaging)
iNeedPaging
- boolean value indicating whether paging is needed.