Class NSFindResults

Result carrier for the Find operation. It contains a set of column specifications, and a set of row, where each row contains the columns. The row set is the result of carrying out some search operation.

Constructors

NSFindResults()

Initializes a new instance of the NSFindResults class.

Declaration

NSFindResults

Methods

GetArchiveColumns()

Declaration

NSArchiveColumnInfo[] GetArchiveColumns()

Examples

NSFindResults thing;
NSArchiveColumnInfo[] archiveColumns = thing.GetArchiveColumns();

Returns

Type Description
NSArchiveColumnInfo[] Array of ColumnInfo column specifications.

GetArchiveRows()

Declaration

NSArchiveListItem[] GetArchiveRows()

Examples

NSFindResults thing;
NSArchiveListItem[] archiveRows = thing.GetArchiveRows();

Returns

Type Description
NSArchiveListItem[] Array of archive list items, i.e., the service layer carrier for archive rows. These are the find results, represented as archive rows.

GetRowCount()

Declaration

Integer GetRowCount()

Examples

NSFindResults thing;
Integer rowCount = thing.GetRowCount();

Returns

Type Description
Integer Count of rows, independent of paging. If you order up page 1 with page size 50, the row count may still be 279, that being the number of rows that would have been returned in a paging-off situation.

SetArchiveColumns(NSArchiveColumnInfo[])

Declaration

Void SetArchiveColumns(NSArchiveColumnInfo[] archiveColumns)

Examples

NSFindResults thing;
NSArchiveColumnInfo[] archiveColumns;
thing.SetArchiveColumns(archiveColumns);

Parameters

Type Name Description
archiveColumns Array of ColumnInfo column specifications.

Returns

Type Description
NSArchiveColumnInfo[]

SetArchiveRows(NSArchiveListItem[])

Declaration

Void SetArchiveRows(NSArchiveListItem[] archiveRows)

Examples

NSFindResults thing;
NSArchiveListItem[] archiveRows;
thing.SetArchiveRows(archiveRows);

Parameters

Type Name Description
NSArchiveListItem[] archiveRows Array of archive list items, i.e., the service layer carrier for archive rows. These are the find results, represented as archive rows.

Returns

Type Description
Void

SetRowCount(Integer)

Declaration

Void SetRowCount(Integer rowCount)

Examples

NSFindResults thing;
Integer rowCount;
thing.SetRowCount(rowCount);

Parameters

Type Name Description
Integer rowCount Count of rows, independent of paging. If you order up page 1 with page size 50, the row count may still be 279, that being the number of rows that would have been returned in a paging-off situation.

Returns

Type Description
Void