mixin

Funcs

Funcs : Funcs

meta mixin slots cloneResubscribe

Force a re-subscription of one or more client side clone sets

cloneReadOrphans

Read orphaned clones from the database as a grid

cloneRemoveOrphans

Remove clone recs which no longer have a reference to a valid cloneSet

cloneSyncHis

Perform remote sync of history data for given clone points

cloneResubscribe (cloneSets: Obj) => Obj?

Force a re-subscription of one or more client side clone sets. The minimum subscription time from settings is ignored and a new subscription is issued as soon as possible.

cloneReadOrphans () => Grid <admin>

Read orphaned clones from the database as a grid. A clone is considered orphaned if its cloneSetRef references a rec not found or in the trash.

cloneRemoveOrphans (recs: Obj?) => Obj <admin>

Remove clone recs which no longer have a reference to a valid cloneSet. A clone is considered orphaned if its cloneSetRef references a rec not found or in the trash. See cloneReadOrphans() to read all the orphans from the database. If any recs specified are not orphans then raise an exception. If this function cannot be called in the case of a licensing error, then you can call cloneRemoveOrphansFailSafe() instead.

cloneSyncHis (points: Obj, span: Obj?) => Obj <admin>

Perform remote sync of history data for given clone points. The points parameter may be anything acceptable by toRecIdList(), but each point must be a clone. The span parameter is anything acceptable by toSpan(). Or pass null for span to perform a sync for items after the point's hisEnd. This func blocks the calling thread until each point is synchronized one by one. Normally it should only be called within a task. The result from this function is undefined. The history sync is based on the raw history data from the remote system - as if calling hisRead with the {raw} option.

Examples:

readAll(clone and point and his).cloneSyncHis(null)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST