PortalGroupContentSearchParameters class final

Contains search parameters suitable for finding portal items that belong to a portal group.

You can create an instance using one of the factory methods that are designed for particular types of searches, or you can use one of the constructors and specify a custom query string. A number of properties are also available to customize various aspects of the search.

A typical usage pattern is:

Constructors

PortalGroupContentSearchParameters({required String query, Envelope? boundingBox, List<String> categories = const [], int limit = limitDefault, bool searchPublic = true, String sortField = '', PortalQuerySortOrder sortOrder = PortalQuerySortOrder.ascending, int startIndex = 1})
Creates a portal query parameters object with the given properties.
PortalGroupContentSearchParameters.forItems({List<PortalItemType> types = const [], String owner = '', String searchString = ''})
Creates a portal group content search parameters object that will find items that satisfy the specified criteria.
factory
PortalGroupContentSearchParameters.item(String itemId)
Creates search parameters that will find an item with a specified item ID.
factory

Properties

boundingBox ↔ Envelope?
An Envelope specifying the bounding box for a spatial search.
getter/setter pair
categories ↔ List<String>
A List of content category specifications to use when searching for items.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
limit ↔ int
The maximum number of results to be included in the result set response. The limit, along with the PortalGroupContentSearchParameters.startIndex, can be used to paginate the search results.
getter/setter pair
query → String
The query string to use.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchPublic ↔ bool
Indicates whether public items outside the organization may be included in the search results.
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 sort order, indicating whether the results are returned in ascending or descending order.
getter/setter pair
startIndex ↔ int
The index within the entire set of results of the first entry in the current page.
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) → PortalGroupContentSearchParameters
Returns a copy 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 in each result set.
limitMaximum → const int
The maximum limit for the number of results in each result set.