Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public DeleteVersionsOf ( ContentItem item ) : void | ||
item | ContentItem | |
Результат | void |
public Deserialize ( string xml ) : ContentItem | ||
xml | string | |
Результат | ContentItem |
public DeserializeVersion ( N2.Edit.Versioning.ContentVersion version ) : ContentItem | ||
version | N2.Edit.Versioning.ContentVersion | |
Результат | ContentItem |
public GetGreatestVersionIndex ( ContentItem item ) : int | ||
item | ContentItem | |
Результат | int |
public GetLatestVersion ( ContentItem item ) : ContentItem | ||
item | ContentItem | |
Результат | ContentItem |
public GetVersion ( ContentItem item, int versionIndex = -1 ) : N2.Edit.Versioning.ContentVersion | ||
item | ContentItem | |
versionIndex | int | |
Результат | N2.Edit.Versioning.ContentVersion |
public GetVersions ( ContentItem item ) : IEnumerable |
||
item | ContentItem | |
Результат | IEnumerable |
public GetVersionsScheduledForPublish ( System.DateTime publishVersionsScheduledBefore ) : IEnumerable |
||
publishVersionsScheduledBefore | System.DateTime | |
Результат | IEnumerable |
public Save ( ContentItem item, bool asPreviousVersion = true ) : N2.Edit.Versioning.ContentVersion | ||
item | ContentItem | |
asPreviousVersion | bool | |
Результат | N2.Edit.Versioning.ContentVersion |
public Serialize ( ContentItem item ) : string | ||
item | ContentItem | |
Результат | string |
public SerializeVersion ( N2.Edit.Versioning.ContentVersion version, ContentItem item ) : void | ||
version | N2.Edit.Versioning.ContentVersion | |
item | ContentItem | |
Результат | void |