MetadataStructureCache Class

A class that provides thread-safe caching features for the metadata structure items. The cache lifetime and validity is controlled from outside of the class.

Definition

Namespace: MFiles.VAF.MetadataCache
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class MetadataStructureCache : IMetadataStructureCache, 
	IMetadataStructureCacheUpdate
Inheritance
Object    MetadataStructureCache
Implements
IMetadataStructureCache, IMetadataStructureCacheUpdate

Constructors

MetadataStructureCache Initializes new metadata structure cache.

Properties

Options Flags indicating how the cache should behave.

Methods

AddOrUpdateLoginAccount Adds or updates a user account in the cache.
AddOrUpdateUserAccount Adds or updates a user account in the cache.
AddOrUpdateUserGroupAdmin Adds or updates a user group in the cache.
GetClassIdByAlias Fetches the class id from the cache. Populates the cache if necessary.
GetLogin Gets the specified login account from the cache.
GetNamedACLIdByAlias Fetches the workflow state id from the cache. Populates the cache if necessary.
GetObjectClassAdmin Gets the full (admin) object class from the metadata structure cache.
GetObjectTypeAdmin Gets the full (admin) object type from the metadata structure cache.
GetObjectTypeIdByAlias Fetches the object type id from the cache. Populates the cache if necessary.
GetObjIDByGuid Fetches the value list item or object id by guid.
GetPropertyDefAdmin Gets the full (admin) property definition from the metadata structure cache.
GetPropertyDefIdByAlias Fetches the property def id from the cache. Populates the cache if necessary.
GetStateAdmin Gets the full (admin) state data struct.
GetUser Gets the user account of the specified user from the cache.
GetUserGroupAdmin Gets the specified user group from the cache.
GetUserGroupIdByAlias Fetches the user group id from the cache. Populates the cache if necessary.
GetUserGroupIdByGuid Gets user group id by guid.
GetUserIdByGuid Gets the user id by guid.
GetVaultCache Gets a new or existing metadata structure cache instance for a specific vault.
GetWorkflowAdmin Gets the full (admin) workflow data struct.
GetWorkflowIdByAlias Fetches the workflow id from the cache. Populates the cache if necessary.
GetWorkflowStateIdByAlias Fetches the workflow state id from the cache. Populates the cache if necessary.
Initialize The initialization method which is called only from the constructor. Rebuilds the cache.
RemoveLoginAccount Removes the specified login account from the cache.
RemoveUserAccount Removes the specified user account from the cache.
RemoveUserGroup Removes the specified user group from the cache.
RemoveWorkflowsAdmin Deletes the workflows with the specified IDs.
SetOptions Change the options that control cache behavior.

See Also