Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Interface IParsedProcessCache

Interface of a cache for parced processes ProcessDefinition

Namespace: OptimaJet.Workflow.Core.Cache

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface IParsedProcessCache

Methods

Clear()

Clear the cache

Declaration
void Clear()

RemoveProcessDefinition(Guid)

Removes process definition from cache

Declaration
bool RemoveProcessDefinition(Guid schemeId)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
Returns
TypeDescription
bool

GetProcessDefinitionBySchemeId(Guid)

Returns process definition from the cache by scheme id

Declaration
ProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
Returns
TypeDescription
ProcessDefinitionProcessDefinition object

AddProcessDefinition(Guid, ProcessDefinition)

Adds process definition to the cache with scheme id as the key

Declaration
void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
ProcessDefinitionprocessDefinitionProcessDefinition object

Extension Methods