Companion

object Companion

Functions

Link copied to clipboard
fun groups(owner: String = "", title: String = ""): PortalQueryParameters

Creates a PortalQueryParameters instance that will find groups with a specified owner and title.

Link copied to clipboard

Creates a PortalQueryParameters instance that will set the query string to find an item with a specified item ID. This is a convenience method provided for the case where the user already has a portal and groups, knows the item ID, and is ready to use it.

Link copied to clipboard
fun items(types: Iterable<PortalItemType> = listOf(), owner: String = "", groupId: String = "", searchQuery: String = ""): PortalQueryParameters

Creates a PortalQueryParameters instance with the query string to find items of any one of a number of given types. Optionally restricts the search to items belonging to a particular owner and/or group. An optional search string can be used to restrict the search even further.