AifQueryBuilder.getOutputPaging Method [AX 2012]

Constructs the output paging parameters to be returned to the query service client.

public AifQueryPaging getOutputPaging(boolean _moreDataExists)

Run On

Called

Parameters

_moreDataExists
Type: boolean

Return Value

Type: AifQueryPaging Class
true if all records returned by the query run fit into the outgoing data set; otherwise, false.

This method is called only if the query builder implements paging internally. The isPagingOverriden method retrieves true.

Query builders that rely on the Query Service to handle paging can use the default implemenation provided by the AifQueryBuilder class.

Query builders that implement paging internally must override this method and construct a paging parameters object of the same type as the input paging parameters object. The content of the output paging parameters object must allow for the retrieval of the next page of the query results when it is used as returned without any modifications.

Community Additions

ADD
Show: