C# Class K2Field.Helpers.Core.K2Helper

Inheritance: IDisposable
Afficher le fichier Open project: k2workflow/K2Field.Helpers Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ActionWorklistItem ( string serialNumber, string action ) : void

Actions a worklist item

Dispose ( ) : void
K2Helper ( string K2ServerName ) : System

Creates an instance of this class, will use the standard ports for Management and Workflow client connections

K2Helper ( string K2ServerName, uint WorkflowClientPort, uint WorkflowManagementServerPort ) : System

Creates an instance of the class with overrides for the workflow client and management server ports

K2Helper ( string K2ServerName, uint WorkflowClientPort, uint WorkflowManagementServerPort, string SecurityLabelName ) : System

Creates an instance of the class with overrides for the workflow client and management server ports and security label

SmartObjectClient ( ) : K2SmartObjectClient

SmartObject Client

StartK2Process ( string processName, string folio ) : int

Starts a K2 process with process data fields.

StartK2Process ( string processName, string folio, CoreDataField>.Dictionary inputs ) : int

Starts a K2 process with process data fields.

StartK2Process ( string processName, string folio, object>.Dictionary inputs ) : int

Starts a K2 process with process data fields.

WorkflowClient ( ) : K2WorkflowClient

Workflow Client

WorkflowServer ( ) : WorkflowManagementServer

Workflow Management Server

Method Details

ActionWorklistItem() public méthode

Actions a worklist item
public ActionWorklistItem ( string serialNumber, string action ) : void
serialNumber string Serial number of the worklist item
action string Action to execute
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

K2Helper() public méthode

Creates an instance of this class, will use the standard ports for Management and Workflow client connections
public K2Helper ( string K2ServerName ) : System
K2ServerName string K2 server name
Résultat System

K2Helper() public méthode

Creates an instance of the class with overrides for the workflow client and management server ports
public K2Helper ( string K2ServerName, uint WorkflowClientPort, uint WorkflowManagementServerPort ) : System
K2ServerName string k2 server name
WorkflowClientPort uint Workflow client port
WorkflowManagementServerPort uint Management serverport
Résultat System

K2Helper() public méthode

Creates an instance of the class with overrides for the workflow client and management server ports and security label
public K2Helper ( string K2ServerName, uint WorkflowClientPort, uint WorkflowManagementServerPort, string SecurityLabelName ) : System
K2ServerName string k2 server name
WorkflowClientPort uint Workflow client port
WorkflowManagementServerPort uint Management serverport
SecurityLabelName string security label
Résultat System

SmartObjectClient() public méthode

SmartObject Client
public SmartObjectClient ( ) : K2SmartObjectClient
Résultat K2SmartObjectClient

StartK2Process() public méthode

Starts a K2 process with process data fields.
public StartK2Process ( string processName, string folio ) : int
processName string Process Name
folio string Folio
Résultat int

StartK2Process() public méthode

Starts a K2 process with process data fields.
public StartK2Process ( string processName, string folio, CoreDataField>.Dictionary inputs ) : int
processName string Process Name
folio string Folio
inputs CoreDataField>.Dictionary Datafield to start the process with
Résultat int

StartK2Process() public méthode

Starts a K2 process with process data fields.
public StartK2Process ( string processName, string folio, object>.Dictionary inputs ) : int
processName string Process Name
folio string Folio
inputs object>.Dictionary Datafield to start the process with
Résultat int

WorkflowClient() public méthode

Workflow Client
public WorkflowClient ( ) : K2WorkflowClient
Résultat K2WorkflowClient

WorkflowServer() public méthode

Workflow Management Server
public WorkflowServer ( ) : WorkflowManagementServer
Résultat WorkflowManagementServer