메소드 | 설명 | |
---|---|---|
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 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 SerializeVersion ( N2.Edit.Versioning.ContentVersion version, ContentItem item ) : void | ||
version | N2.Edit.Versioning.ContentVersion | |
item | ContentItem | |
리턴 | void |