public class EditionServiceImpl extends java.lang.Object implements EditionService
| Modifier and Type | Field and Description |
|---|---|
static org.alfresco.service.namespace.QName[] |
ML_CONTAINER_PROPERTIES_TO_VERSION
List of properties to set persistent when an edition of the mlContainer is created
|
| Constructor and Description |
|---|
EditionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
createEdition(org.alfresco.service.cmr.repository.NodeRef startingTranslationNodeRef,
java.util.Map versionProperties)
Create a new edition of an existing cm:mlContainer using any one of the
associated cm:mlDocument transalations.
|
VersionHistory |
getEditions(org.alfresco.service.cmr.repository.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
|
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setMultilingualContentService(MultilingualContentService multilingualContentService) |
void |
setNodeArchiveService(NodeArchiveService nodeArchiveService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter) |
void |
setVersionNodeService(org.alfresco.service.cmr.repository.NodeService versionNodeService) |
void |
setVersionService(VersionService versionService) |
public static final org.alfresco.service.namespace.QName[] ML_CONTAINER_PROPERTIES_TO_VERSION
public org.alfresco.service.cmr.repository.NodeRef createEdition(org.alfresco.service.cmr.repository.NodeRef startingTranslationNodeRef,
java.util.Map versionProperties)
createEdition in interface EditionServicestartingTranslationNodeRef - The specific cm:mlDocument to use as the starting point
of the new edition. All other translations will be removed.public VersionHistory getEditions(org.alfresco.service.cmr.repository.NodeRef mlContainer)
getEditions in interface EditionServicemlContainer - An existing cm:mlContainerpublic java.util.Map getVersionedMetadatas(Version version)
getVersionedMetadatas in interface EditionServiceversion - 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.public java.util.List getVersionedTranslations(Version mlContainerEdition)
getVersionedTranslations in interface EditionServicemlContainerEdition - An existing version of a mlContainerpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the Node Service to setpublic void setVersionService(VersionService versionService)
versionService - the Version Service to setpublic void setMultilingualContentService(MultilingualContentService multilingualContentService)
multilingualContentService - the Multilingual Content Service to setpublic void setVersionNodeService(org.alfresco.service.cmr.repository.NodeService versionNodeService)
versionNodeService - the Version Store Node Service to setpublic void setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter)
policyBehaviourFilter - the Behaviour Filter to setpublic void setNodeArchiveService(NodeArchiveService nodeArchiveService)
nodeArchiveService - the node Archive Service to setpublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService - the fileFolder Service to setCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.