CustomContentBase (open)
A custom content provider base object
Syntax
LOADLIB "mod::consilio/lib/contentproviders/customcontent.whlib";
OBJECTTYPE CustomContentBase
Description
Extend this object to provide a custom content provider indexing object.
Constructor
- MACRO NEW()
Constructs a new CustomContentBase object
Properties
Functions
- RECORD FUNCTION FetchObject(DATETIME commanddate, STRING groupid, STRING objectid)
Get a single object
- STRING FUNCTION GetContentSourceTitle()
Get a title for this index
- RECORD FUNCTION GetEmptySearchRecord()
Get an empty result record. Deprecated, please override GetMapping instead.
- RECORD ARRAY FUNCTION GetMapping()
Return the mapping for all return fields
- STRING ARRAY FUNCTION GetObjectListFields()
List of fields to provide in ListObjects3/ListObjects2 for current_objects
- RECORD FUNCTION ListGroups(DATETIME commanddate)
Get a list of all groups
- RECORD FUNCTION ListObjects(DATETIME commanddate, STRING groupid)
Get a list of all objects within a group
- RECORD FUNCTION ListObjects2(DATETIME commanddate, STRING groupid, RECORD ARRAY current_objects)
Get a list of all objects within a group
- RECORD FUNCTION ListObjects3(DATETIME commanddate, STRING groupid, RECORD ARRAY current_objects, RECORD options)
Get a list of all objects within a group
- MACRO PrepareForIndexing()
Prepare for indexing