ContentSource (open)
Content source object
Syntax
LOADLIB "mod::consilio/lib/catalogs.whlib";
OBJECTTYPE ContentSource
Properties
- PROPERTY catalog
Parent catalog
- PROPERTY enabled
True if this source is enabled (automatically indexing)
- PROPERTY fsobject
Base object for this content source
- PROPERTY id
Id of this contentsource
- PROPERTY tag
Tag of this contentsource
Functions
- MACRO DeleteGroup(STRING groupid, RECORD options)
Delete a group
- MACRO DeleteObject(STRING objectid, RECORD options)
Delete an object
- MACRO DeleteSelf()
Delete this content source
- STRING FUNCTION GetWHFSPath()
Get the path this source refers to
- RECORD ARRAY FUNCTION ListGroups(RECORD options)
List groups in the catalog
- MACRO ReindexContentSource(RECORD options)
Reindex this entire content source
- MACRO ReindexGroup(STRING groupid, RECORD options)
Reindex a group
- MACRO ReindexObject(STRING groupid, STRING objectid, RECORD options)
Reindex an object
- MACRO UpdateContentSource(RECORD settings)
Update content source settings
- MACRO UpdateMultiple(RECORD ARRAY actions, RECORD options)
Execute multiple reindex actions
- MACRO WaitForIndexingDone(RECORD options)
Wait for catalog being completey done