Method | Description | |
---|---|---|
CloneForVersioningRecursive ( this item, N2.Edit.Workflow.StateChanger stateChanger = null, bool asPreviousVersion = true ) : ContentItem | ||
FindDescendantByVersionKey ( this parent, string key ) : ContentItem | ||
FindPartVersion ( this parent, ContentItem part ) : ContentItem | ||
GetVersionInfo ( this version ) : N2.Edit.Versioning.VersionInfo | ||
GetVersionInfo ( this version, |
||
GetVersionItem ( this repository, ContentItem item, int versionIndex ) : ContentItem | ||
GetVersionKey ( this item ) : string | ||
IsVersionable ( this item ) : bool | ||
MakeMasterVersion ( this versionManager, ContentItem versionToPublish ) : ContentItem |
Publishes the given version.
|
|
MarkForFuturePublishing ( Workflow changer, ContentItem item, System.DateTime futureDate ) : void | ||
Publish ( this versionManager, IPersister persister, ContentItem previewedItem ) : ContentItem | ||
SchedulePublishing ( this previewedItem, System.DateTime publishDate, IEngine engine ) : void | ||
SetVersionKey ( this item, string key ) : void |
Method | Description | |
---|---|---|
CopyAutoImplementedProperties ( ContentItem source, ContentItem destination ) : void | ||
TryClone ( object value ) : object |
public static CloneForVersioningRecursive ( this item, N2.Edit.Workflow.StateChanger stateChanger = null, bool asPreviousVersion = true ) : ContentItem | ||
item | this | |
stateChanger | N2.Edit.Workflow.StateChanger | |
asPreviousVersion | bool | |
return | ContentItem |
public static FindDescendantByVersionKey ( this parent, string key ) : ContentItem | ||
parent | this | |
key | string | |
return | ContentItem |
public static FindPartVersion ( this parent, ContentItem part ) : ContentItem | ||
parent | this | |
part | ContentItem | |
return | ContentItem |
public static GetVersionInfo ( this version ) : N2.Edit.Versioning.VersionInfo | ||
version | this | |
return | N2.Edit.Versioning.VersionInfo |
public static GetVersionInfo ( this version, |
||
version | this | |
repository | ||
return | N2.Edit.Versioning.VersionInfo |
public static GetVersionItem ( this repository, ContentItem item, int versionIndex ) : ContentItem | ||
repository | this | |
item | ContentItem | |
versionIndex | int | |
return | ContentItem |
public static GetVersionKey ( this item ) : string | ||
item | this | |
return | string |
public static IsVersionable ( this item ) : bool | ||
item | this | |
return | bool |
public static MakeMasterVersion ( this versionManager, ContentItem versionToPublish ) : ContentItem | ||
versionManager | this | |
versionToPublish | ContentItem | |
return | ContentItem |
public static MarkForFuturePublishing ( Workflow changer, ContentItem item, System.DateTime futureDate ) : void | ||
changer | Workflow | |
item | ContentItem | |
futureDate | System.DateTime | |
return | void |
public static Publish ( this versionManager, IPersister persister, ContentItem previewedItem ) : ContentItem | ||
versionManager | this | |
persister | IPersister | |
previewedItem | ContentItem | |
return | ContentItem |
public static SchedulePublishing ( this previewedItem, System.DateTime publishDate, IEngine engine ) : void | ||
previewedItem | this | |
publishDate | System.DateTime | |
engine | IEngine | |
return | void |
public static SetVersionKey ( this item, string key ) : void | ||
item | this | |
key | string | |
return | void |