public class PaginatedSearch extends IterablePagingProvider<NetSuiteSoapConnection,org.mule.runtime.extension.api.runtime.operation.Result<String,NetsuiteSoapAttributes>>
bodyFieldsOnly, limit, pageSize, returnSearchColumns| Constructor and Description |
|---|
PaginatedSearch(NetSuiteSoapConfig config,
InputStream searchQuery,
int limit,
int pageSize,
boolean bodyFieldsOnly,
boolean returnSearchColumns) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractResultFields(Document resultDocument) |
protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> |
getFirstPage(NetSuiteSoapConnection connection) |
protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> |
getNextPage(NetSuiteSoapConnection connection) |
protected String |
getXPathForResultNodeList() |
protected String |
getXPathSearchIdExpression() |
close, getConfig, getPage, getTotalResults, getXPathPageIndexExpression, getXPathPageSizeExpression, getXPathStatusExpression, getXPathTotalPagesExpression, getXPathTotalRecordsExpression, isStartPageIndex, iteratorpublic PaginatedSearch(NetSuiteSoapConfig config, InputStream searchQuery, int limit, int pageSize, boolean bodyFieldsOnly, boolean returnSearchColumns)
searchQuery - the message containing the search body sent to the systemlimit - limits the amount of results produced. limit less than 0 meaning no limitpageSize - the size of each page requestconfig - Netsuite soap configurationbodyFieldsOnly - Defaults to TRUE and indicates that the information in the body fields of the record are returned
significantly improving performance. Any fields in associated lists or sublists are not returned. If the
bodyFieldsOnly field is set to FALSE, all fields associated with the record are returned.returnSearchColumns - Defaults to TRUE, meaning that only search columns will be returned in your search.protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> getFirstPage(NetSuiteSoapConnection connection)
getFirstPage in class IterablePagingProvider<NetSuiteSoapConnection,org.mule.runtime.extension.api.runtime.operation.Result<String,NetsuiteSoapAttributes>>protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> getNextPage(NetSuiteSoapConnection connection)
getNextPage in class IterablePagingProvider<NetSuiteSoapConnection,org.mule.runtime.extension.api.runtime.operation.Result<String,NetsuiteSoapAttributes>>protected void extractResultFields(Document resultDocument) throws XPathExpressionException
extractResultFields in class IterablePagingProvider<NetSuiteSoapConnection,org.mule.runtime.extension.api.runtime.operation.Result<String,NetsuiteSoapAttributes>>XPathExpressionExceptionprotected String getXPathForResultNodeList()
getXPathForResultNodeList in class IterablePagingProvider<NetSuiteSoapConnection,org.mule.runtime.extension.api.runtime.operation.Result<String,NetsuiteSoapAttributes>>protected String getXPathSearchIdExpression()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.