Method | Description | |
---|---|---|
ContentVersionRepository ( IRepository |
||
Delete ( ContentItem item ) : void | ||
DeleteVersionsOf ( ContentItem item ) : void | ||
Deserialize ( string xml ) : ContentItem | ||
DeserializeVersion ( N2.Edit.Versioning.ContentVersion version ) : ContentItem | ||
GetGreatestVersionIndex ( ContentItem item ) : int | ||
GetLatestVersion ( ContentItem item ) : ContentItem | ||
GetVersion ( ContentItem item, int versionIndex = -1 ) : N2.Edit.Versioning.ContentVersion | ||
GetVersions ( ContentItem item ) : IEnumerable |
||
GetVersionsScheduledForPublish ( System.DateTime publishVersionsScheduledBefore ) : IEnumerable |
||
Save ( ContentItem item, bool asPreviousVersion = true ) : N2.Edit.Versioning.ContentVersion | ||
Serialize ( ContentItem item ) : string | ||
SerializeVersion ( N2.Edit.Versioning.ContentVersion version, ContentItem item ) : void |
Method | Description | |
---|---|---|
ApplyCommonValuesRecursive ( ContentItem parent ) : void | ||
GetMaster ( ContentItem item ) : ContentItem |
public ContentVersionRepository ( IRepository |
||
repository | IRepository |
|
exporter | N2.Persistence.Serialization.Exporter | |
importer | N2.Persistence.Serialization.Importer | |
parser | IUrlParser | |
proxyFactory | IProxyFactory | |
return | System |
public DeleteVersionsOf ( ContentItem item ) : void | ||
item | ContentItem | |
return | void |
public Deserialize ( string xml ) : ContentItem | ||
xml | string | |
return | ContentItem |
public DeserializeVersion ( N2.Edit.Versioning.ContentVersion version ) : ContentItem | ||
version | N2.Edit.Versioning.ContentVersion | |
return | ContentItem |
public GetGreatestVersionIndex ( ContentItem item ) : int | ||
item | ContentItem | |
return | int |
public GetLatestVersion ( ContentItem item ) : ContentItem | ||
item | ContentItem | |
return | ContentItem |
public GetVersion ( ContentItem item, int versionIndex = -1 ) : N2.Edit.Versioning.ContentVersion | ||
item | ContentItem | |
versionIndex | int | |
return | N2.Edit.Versioning.ContentVersion |
public GetVersions ( ContentItem item ) : IEnumerable |
||
item | ContentItem | |
return | IEnumerable |
public GetVersionsScheduledForPublish ( System.DateTime publishVersionsScheduledBefore ) : IEnumerable |
||
publishVersionsScheduledBefore | System.DateTime | |
return | IEnumerable |
public Save ( ContentItem item, bool asPreviousVersion = true ) : N2.Edit.Versioning.ContentVersion | ||
item | ContentItem | |
asPreviousVersion | bool | |
return | N2.Edit.Versioning.ContentVersion |
public Serialize ( ContentItem item ) : string | ||
item | ContentItem | |
return | string |
public SerializeVersion ( N2.Edit.Versioning.ContentVersion version, ContentItem item ) : void | ||
version | N2.Edit.Versioning.ContentVersion | |
item | ContentItem | |
return | void |