Interface IParsedProcessCache
OptimaJet.Workflow.Core.Cache.IParsedProcessCache
Interface of a cache for parced processes ProcessDefinition
Namespace: OptimaJet.Workflow.Core.Cache
public interface IParsedProcessCacheMethods
void Clear() #Clear the cache
bool RemoveProcessDefinition(Guid schemeId) #Removes process definition from cache
Parameters
Name
Type
Description
schemeIdGuidId of the scheme
Returns
Type
Description
BooleanProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId) #Returns process definition from the cache by scheme id
Parameters
Name
Type
Description
schemeIdGuidId of the scheme
Returns
Type
Description
ProcessDefinitionProcessDefinition object
void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition) #Adds process definition to the cache with scheme id as the key
Parameters
Name
Type
Description
schemeIdGuidId of the scheme
processDefinitionProcessDefinitionProcessDefinition object