Interface: IDocumentDataCacheManager
Entity for managing the document data cache
Methods
tryClearCache()
tryClearCache(documentArtifactId
, productionArtifactId
?, longTextArtifactId
?): boolean
Tries to remove an item from the cache with the given key
If it exists, and the removal is approved by event handlers
Parameters
• documentArtifactId: number
document artifact id for the document data
• productionArtifactId?: number
Production Set artifact ID for the document data
• longTextArtifactId?: number
Long Text Field artifact ID for the document data
Returns
boolean
Whether an item was removed
Deprecated
Use tryClearCacheForQueueItem instead.
tryClearCacheForQueueItem()
tryClearCacheForQueueItem(queueItem
, productionArtifactId
?, longTextArtifactId
?): boolean
Tries to remove an item from the cache with the given key
If it exists, and the removal is approved by event handlers
Parameters
• queueItem: IQueueItem
queue item for the document data
• productionArtifactId?: number
Production Set artifact ID for the document data
• longTextArtifactId?: number
Long Text Field artifact ID for the document data
Returns
boolean
Whether an item was removed