AifQueryBuilder.getOutputPaging Method [AX 2012]

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

Syntax

public AifQueryPaging getOutputPaging(boolean _moreDataExists)

Run On

Called

Parameters

Return Value

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

Remarks

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.

See Also

Reference

AifQueryBuilder Class