|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicService public interface EditionService
The API to manage editions of a mlContainer. An edition is a version of a mlContainer
Method Summary | |
---|---|
NodeRef |
createEdition(NodeRef translationNodeRef,
java.util.Map versionProperties)
Create a new edition of an existing cm:mlContainer using any one of the associated cm:mlDocument transalations. |
VersionHistory |
getEditions(NodeRef mlContainer)
Get editions of an existing cm:mlContainer. |
java.util.Map |
getVersionedMetadatas(Version version)
Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific cm:mlContainer version |
java.util.List |
getVersionedTranslations(Version mlContainerEdition)
Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer |
Method Detail |
---|
@Auditable(key=ARG_0, parameters={"translationNodeRef", "versionProperties"}) NodeRef createEdition(NodeRef translationNodeRef, java.util.Map versionProperties)
translationNodeRef
- The specific cm:mlDocument to use as the starting point
of the new edition. All other translations will be removed.@Auditable(key=ARG_0, parameters="mlContainer") VersionHistory getEditions(NodeRef mlContainer)
mlContainer
- An existing cm:mlContainer
@Auditable(key=ARG_0, parameters="mlContainerEdition") java.util.List getVersionedTranslations(Version mlContainerEdition)
mlContainerEdition
- An existing version of a mlContainer
@Auditable(key=ARG_0, parameters="version") java.util.Map getVersionedMetadatas(Version version)
version
- An existing version of a cm:mlDocument translation version or
an existing version of a cm:mlContainer version.
the versioned metadata
of a cm:mlDocument transalation added to the usual metadata versioned for a normal node.
,
the versioned metadata
of a cm:mlContainer added to the usual metadata versioned for a normal node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |