Toggle menu
892
3.8K
30.2K
279.2K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ResourceSearch class

From Catglobe Wiki
Revision as of 03:37, 26 March 2026 by [email protected] (talk | contribs) (Created page with "{{CGscriptClass_Template|Name=<nowiki>ResourceSearch</nowiki>|Description=<nowiki>Represents a search for all kinds of resources.</nowiki>|InheritsFrom=object|Constructors={{CGscriptConstructors_Template|Description=<nowiki>Search for resources</nowiki>}} {{CGscriptConstructors_Template|Parameters= {{CGscriptParameters_Template|Type=string|Name=<nowiki>json</nowiki>|Description=<nowiki>Json string with previous search</nowiki>}} |Description=<nowiki>Search for resources...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ResourceSearch



Represents a search for all kinds of resources.

Parent class

Inherits from object

Constructors

  • () - Search for resources
  • (string json "Json string with previous search") - Search for resources with stored filters

Methods

  • SearchResult Execute(int? startIndex "0 based row index to start from", int? amount "Number of rows to fetch", bool includeCount "Also calculate the total number of rows", bool forWrite "Exclude rows there is only read permission to") - Perform the search
  • (From object) object GetFilterByKey(string key "Key for filter") - Get filter by key
  • (From object) Empty SetSort(string sortKey "Key to sort on", bool isAscending "True of sorting ascending") - Set the sort to be a specific entity
  • (From object) string ToString() - The string representation of the object.

Properties

  • (From object) Array of string AvailableColumnKeys { get; } - List of possible columns to return
  • (From object) Array of string AvailableFilterKeys { get; } - List of possible columns to filter on
  • (From object) Array of string AvailableFilterName { get; } - List of possible columns title
  • (From object) Array of string AvailableSortKeys { get; } - List of possible sort key to sort on
  • (From object) Array of string AvailableSortNames { get; } - List of possible sort key titles
  • (From object) Array of String Columns { get; } - Select which columns to return
  • GuidFilter Guid { get; } - Search on this field
  • RangeFilter Id { get; } - Search on this field
  • BoolFilter InheritAccess { get; } - Search on this field
  • (From object) string Json { get; } - Get the current search for later use
  • StringFilter Name { get; } - Search on this field
  • string ObjectTypeName { get; } - The name of the type of object.
  • ResourceFilter Parent { get; } - Search on this field
  • StringFilter Path { get; } - Search on this field
  • EnumFilter ResourceType { get; } - Search on this field
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.