PortalQueryParameters class final

Defines a query on a portal.

To query a portal for items or groups, use Portal.findItems or Portal.findGroups.

Constructors

PortalQueryParameters({required String query, String filter = '', int limit = limitDefault, bool searchPublic = true, String sortField = '', PortalQuerySortOrder sortOrder = PortalQuerySortOrder.ascending, int startIndex = 1})

Properties

filter String
Structured filtering is accomplished by specifying a field name followed by a colon and the term you are searching for with double quotation marks.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int
The maximum number of results to be returned in each result set. Defaults to 10. The maximum allowed value is 100. Use along with startIndex to paginate the results.
getter/setter pair
query String
The query string specified for the search.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchPublic bool
Whether public items outside the organization may be included in the search results. Defaults to true.
getter/setter pair
sortField String
A string containing one or more fields names, comma separated, specifying the field(s) to sort the results by.
getter/setter pair
sortOrder PortalQuerySortOrder
The order of osrting. Defaults to PortalQuerySortOrder.ascending.
getter/setter pair
startIndex int
The result number of the first entry in the result set response. The index number is 1-based. Defaults to 1. Use along with limit to paginate the results.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withNextStartIndex(int nextStartIndex) PortalQueryParameters
Returns a copy of this PortalQueryParameters with startIndex replaced by nextStartIndex.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

limitDefault → const int
The default limit for the number of results to be returned in each result set.
limitMaximum → const int
The maximum limit for the number of results to be returned in each result set.