Method | Description | |
---|---|---|
CommandFactory ( IPersister persister, ISecurityManager security, IVersionManager versionMaker, IEditUrlManager editUrlManager, IContentAdapterProvider adapters, N2.Edit.Workflow.StateChanger changer ) : System | ||
GetPublishCommand ( N2.Edit.Workflow.CommandContext context ) : CompositeCommand |
Gets the command used to publish an item.
|
|
GetSaveCommand ( N2.Edit.Workflow.CommandContext context ) : CompositeCommand |
Gets the command to save changes to an item without leaving the editing interface.
|
Method | Description | |
---|---|---|
Compose ( string title ) : CompositeCommand |
Method | Description | |
---|---|---|
Authorize ( Permission permission ) : CommandBase |
||
MakeVersionIfPublished ( ContentItem item ) : CommandBase |
||
ReturnTo ( string url ) : CommandBase |
public CommandFactory ( IPersister persister, ISecurityManager security, IVersionManager versionMaker, IEditUrlManager editUrlManager, IContentAdapterProvider adapters, N2.Edit.Workflow.StateChanger changer ) : System | ||
persister | IPersister | |
security | ISecurityManager | |
versionMaker | IVersionManager | |
editUrlManager | IEditUrlManager | |
adapters | IContentAdapterProvider | |
changer | N2.Edit.Workflow.StateChanger | |
return | System |
protected Compose ( string title ) : CompositeCommand | ||
title | string | |
return | CompositeCommand |
public GetPublishCommand ( N2.Edit.Workflow.CommandContext context ) : CompositeCommand | ||
context | N2.Edit.Workflow.CommandContext | The command context used to determine which command to return. |
return | CompositeCommand |
public GetSaveCommand ( N2.Edit.Workflow.CommandContext context ) : CompositeCommand | ||
context | N2.Edit.Workflow.CommandContext | The command context used to determine which command to return. |
return | CompositeCommand |