C# Class Dev2.DynamicServices.FileSystemInstanceStoreIO

Used to persist data to the file system for Workflow Persistence
ファイルを表示 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
DeleteInstance ( System.Guid instanceId ) : void
DeleteInstanceAssociation ( System.Guid instanceKey ) : void
FileSystemInstanceStoreIO ( ) : System
GetInstanceAssociation ( System.Guid instanceKey ) : System.Guid
GetSaveInstanceAssociationPath ( System.Guid instanceId, System.Guid instanceKeyToAssociate ) : string
LoadInstance ( System.Guid instanceId, InstanceValue>.IDictionary &instanceData, InstanceValue>.IDictionary &instanceMetadata ) : System.Boolean
SaveAllInstanceData ( System.Guid instanceId, System.Activities.DurableInstancing.SaveWorkflowCommand command ) : System.Boolean

Saves all instance data.

SaveAllInstanceMetaData ( System.Guid instanceId, System.Activities.DurableInstancing.SaveWorkflowCommand command ) : void

Saves all instance meta data.

SaveInstanceAssociation ( System.Guid instanceId, System.Guid instanceKeyToAssociate, System.Boolean isDelete ) : void

Private Methods

Method Description
CreateDataDirectory ( ) : void
Deserialize ( System.Runtime.Serialization.NetDataContractSerializer serializer, System.Xml.Linq.XElement element ) : Object
LoadSingleEntry ( System.Runtime.Serialization.NetDataContractSerializer serializer, InstanceValue>.IDictionary instanceData, System.Xml.Linq.XElement entry ) : void
SaveInstanceDocument ( String fullPath, System.Xml.Linq.XDocument xml ) : void

Saves the instance document.

SaveSingleEntry ( System.Runtime.Serialization.NetDataContractSerializer serializer, System.Xml.Linq.XElement section, InstanceValue>.KeyValuePair entry ) : void

Saves the single entry.

Serialize ( System.Runtime.Serialization.NetDataContractSerializer serializer, System.Xml.Linq.XElement parent, string name, object value ) : void

Method Details

DeleteInstance() public method

public DeleteInstance ( System.Guid instanceId ) : void
instanceId System.Guid
return void

DeleteInstanceAssociation() public method

public DeleteInstanceAssociation ( System.Guid instanceKey ) : void
instanceKey System.Guid
return void

FileSystemInstanceStoreIO() public method

public FileSystemInstanceStoreIO ( ) : System
return System

GetInstanceAssociation() public method

public GetInstanceAssociation ( System.Guid instanceKey ) : System.Guid
instanceKey System.Guid
return System.Guid

GetSaveInstanceAssociationPath() public method

public GetSaveInstanceAssociationPath ( System.Guid instanceId, System.Guid instanceKeyToAssociate ) : string
instanceId System.Guid
instanceKeyToAssociate System.Guid
return string

LoadInstance() public method

public LoadInstance ( System.Guid instanceId, InstanceValue>.IDictionary &instanceData, InstanceValue>.IDictionary &instanceMetadata ) : System.Boolean
instanceId System.Guid
instanceData InstanceValue>.IDictionary
instanceMetadata InstanceValue>.IDictionary
return System.Boolean

SaveAllInstanceData() public method

Saves all instance data.
public SaveAllInstanceData ( System.Guid instanceId, System.Activities.DurableInstancing.SaveWorkflowCommand command ) : System.Boolean
instanceId System.Guid The instance id.
command System.Activities.DurableInstancing.SaveWorkflowCommand The command.
return System.Boolean

SaveAllInstanceMetaData() public method

Saves all instance meta data.
public SaveAllInstanceMetaData ( System.Guid instanceId, System.Activities.DurableInstancing.SaveWorkflowCommand command ) : void
instanceId System.Guid The instance id.
command System.Activities.DurableInstancing.SaveWorkflowCommand The command.
return void

SaveInstanceAssociation() public method

public SaveInstanceAssociation ( System.Guid instanceId, System.Guid instanceKeyToAssociate, System.Boolean isDelete ) : void
instanceId System.Guid
instanceKeyToAssociate System.Guid
isDelete System.Boolean
return void