C# Class erminas.SmartAPI.CMS.Project.ContentClasses.Elements.WorkflowAssignments

Inheritance: IWorkflowAssignments
Exibir arquivo Open project: erminas/smartapi Class Usage Examples

Public Methods

Method Description
CreateAndConnectContentWorkflow ( string workflowName ) : void
CreateAndConnectContentWorkflow ( string workflowName, IEnumerable languageVariants ) : void
CreateAndConnectStructuralworkflow ( string workflowName ) : void
DisconnectAllWorkflows ( ) : void
GetContentWorkflowFor ( ILanguageVariant languageVariant ) : IPreassignedWorkflow
GetContentWorkflowFor ( string languageVariantId ) : IPreassignedWorkflow
GetContentWorkflowForCurrentLanguageVariant ( ) : IPreassignedWorkflow
InvalidateCache ( ) : void
SetContentWorkflow ( IWorkflow workflow ) : void
SetContentWorkflow ( IWorkflow workflow, IEnumerable languageVariants ) : void

Private Methods

Method Description
ExecuteCreateAndPreassignWorkflow ( string workflowName, IEnumerable languageVariants, bool isStructural ) : void
ExecuteLoadWorkflow ( string LOAD_WORKFLOW ) : PreassignedWorkflow
ExecutePreassignWorkflow ( IWorkflow workflow, IEnumerable languageVariants ) : void
GetPreassignedContentWorkflow ( ILanguageVariant languageVariant ) : PreassignedWorkflow
LoadPreassignedContentWorkflow ( ) : PreassignedWorkflow
LoadStructuralWorkflow ( ) : PreassignedWorkflow
WorkflowAssignments ( IWorkflowAssignable element ) : System

Method Details

CreateAndConnectContentWorkflow() public method

public CreateAndConnectContentWorkflow ( string workflowName ) : void
workflowName string
return void

CreateAndConnectContentWorkflow() public method

public CreateAndConnectContentWorkflow ( string workflowName, IEnumerable languageVariants ) : void
workflowName string
languageVariants IEnumerable
return void

CreateAndConnectStructuralworkflow() public method

public CreateAndConnectStructuralworkflow ( string workflowName ) : void
workflowName string
return void

DisconnectAllWorkflows() public method

public DisconnectAllWorkflows ( ) : void
return void

GetContentWorkflowFor() public method

public GetContentWorkflowFor ( ILanguageVariant languageVariant ) : IPreassignedWorkflow
languageVariant ILanguageVariant
return IPreassignedWorkflow

GetContentWorkflowFor() public method

public GetContentWorkflowFor ( string languageVariantId ) : IPreassignedWorkflow
languageVariantId string
return IPreassignedWorkflow

GetContentWorkflowForCurrentLanguageVariant() public method

public GetContentWorkflowForCurrentLanguageVariant ( ) : IPreassignedWorkflow
return IPreassignedWorkflow

InvalidateCache() public method

public InvalidateCache ( ) : void
return void

SetContentWorkflow() public method

public SetContentWorkflow ( IWorkflow workflow ) : void
workflow IWorkflow
return void

SetContentWorkflow() public method

public SetContentWorkflow ( IWorkflow workflow, IEnumerable languageVariants ) : void
workflow IWorkflow
languageVariants IEnumerable
return void