C# Class SenseNet.Workflow.InstanceManager

显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
CreateInstanceStore System.Activities.DurableInstancing.SqlWorkflowInstanceStore
CreateRelatedContentProtector IDisposable
CreateWorkflowApplication System.Activities.WorkflowApplication
DeleteNotifications void
DumpException string
DumpException string
DumpTypeLoadError void
GetAbortMessage string
GetDataContext WorkflowDataClassesDataContext
GetStateContent WorkflowHandlerBase
GetStateContent WorkflowHandlerBase
GetWorkflowHostTypeName System.Xml.Linq.XName
GetWorkflowHostTypePropertyName System.Xml.Linq.XName
HandleError UnhandledExceptionAction
InstanceManager System
OnWorkflowAborted void
OnWorkflowCompleted void
PollTimerDisposed void
PollTimerElapsed void
ValidWakedUpWorkflow bool
WriteBackAbortMessage void
WriteBackAbortMessage void
WriteBackTheState void

Public Methods

Method Description
Abort ( WorkflowHandlerBase workflowInstance, WorkflowApplicationAbortReason reason ) : void
ExecuteDelays ( WorkflowHandlerBase workflowInstance ) : void
FireNotification ( WorkflowNotification notification, WorkflowNotificationEventArgs eventArgs ) : void
GetPollingInstances ( ) : IEnumerable
NotifyContentChanged ( WorkflowNotificationEventArgs eventArgs ) : void
RegisterWait ( int nodeID, System.Guid wfInstanceId, string bookMarkName, string wfContentPath ) : int
ReleaseWait ( int notificationId ) : void
Start ( WorkflowHandlerBase workflowInstance ) : System.Guid
StartWorkflowSystem ( ) : void
_Poll ( ) : void

Private Methods

Method Description
CreateInstanceStore ( WorkflowHandlerBase workflowInstance ) : System.Activities.DurableInstancing.SqlWorkflowInstanceStore
CreateRelatedContentProtector ( Node node, ActivityContext context ) : IDisposable
CreateWorkflowApplication ( WorkflowHandlerBase workflowInstance, WorkflowApplicationCreationPurpose purpose, object>.IDictionary parameters ) : System.Activities.WorkflowApplication
DeleteNotifications ( System.Guid instanceId ) : void
DumpException ( Exception e ) : string
DumpException ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : string
DumpTypeLoadError ( ReflectionTypeLoadException exc, StringBuilder sb ) : void
GetAbortMessage ( WorkflowApplicationAbortReason reason, WorkflowHandlerBase workflow ) : string
GetDataContext ( ) : WorkflowDataClassesDataContext
GetStateContent ( System.Guid instanceId ) : WorkflowHandlerBase
GetStateContent ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : WorkflowHandlerBase
GetWorkflowHostTypeName ( WorkflowHandlerBase workflowInstance ) : System.Xml.Linq.XName
GetWorkflowHostTypePropertyName ( ) : System.Xml.Linq.XName
HandleError ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : UnhandledExceptionAction
InstanceManager ( ) : System
OnWorkflowAborted ( System.Activities.WorkflowApplicationAbortedEventArgs args ) : void
OnWorkflowCompleted ( System.Activities.WorkflowApplicationCompletedEventArgs args ) : void
PollTimerDisposed ( object sender, EventArgs e ) : void
PollTimerElapsed ( object sender, System e ) : void
ValidWakedUpWorkflow ( System.Activities.WorkflowApplication wfApp ) : bool
WriteBackAbortMessage ( WorkflowHandlerBase stateContent, WorkflowApplicationAbortReason reason ) : void
WriteBackAbortMessage ( WorkflowHandlerBase stateContent, string abortMessage ) : void
WriteBackTheState ( WorkflowStatusEnum state, System.Guid instanceId ) : void

Method Details

Abort() public static method

public static Abort ( WorkflowHandlerBase workflowInstance, WorkflowApplicationAbortReason reason ) : void
workflowInstance WorkflowHandlerBase
reason WorkflowApplicationAbortReason
return void

ExecuteDelays() public static method

public static ExecuteDelays ( WorkflowHandlerBase workflowInstance ) : void
workflowInstance WorkflowHandlerBase
return void

FireNotification() public static method

public static FireNotification ( WorkflowNotification notification, WorkflowNotificationEventArgs eventArgs ) : void
notification WorkflowNotification
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
return void

GetPollingInstances() public static method

public static GetPollingInstances ( ) : IEnumerable
return IEnumerable

NotifyContentChanged() public static method

public static NotifyContentChanged ( WorkflowNotificationEventArgs eventArgs ) : void
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
return void

RegisterWait() public static method

public static RegisterWait ( int nodeID, System.Guid wfInstanceId, string bookMarkName, string wfContentPath ) : int
nodeID int
wfInstanceId System.Guid
bookMarkName string
wfContentPath string
return int

ReleaseWait() public static method

public static ReleaseWait ( int notificationId ) : void
notificationId int
return void

Start() public static method

public static Start ( WorkflowHandlerBase workflowInstance ) : System.Guid
workflowInstance WorkflowHandlerBase
return System.Guid

StartWorkflowSystem() public static method

public static StartWorkflowSystem ( ) : void
return void

_Poll() public static method

public static _Poll ( ) : void
return void