public class EditionServiceImpl extends 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,
Map<String,Serializable> 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.
|
Map<org.alfresco.service.namespace.QName,Serializable> |
getVersionedMetadatas(Version version)
Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific
cm:mlContainer version
|
List<VersionHistory> |
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, Map<String,Serializable> versionProperties)
createEdition
in interface EditionService
startingTranslationNodeRef
- 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 EditionService
mlContainer
- An existing cm:mlContainerpublic Map<org.alfresco.service.namespace.QName,Serializable> getVersionedMetadatas(Version version)
getVersionedMetadatas
in interface EditionService
version
- An existing version of a cm:mlDocument translation version or
an existing version of a cm:mlContainer version.public List<VersionHistory> getVersionedTranslations(Version mlContainerEdition)
getVersionedTranslations
in interface EditionService
mlContainerEdition
- 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–2017 Alfresco Software. All rights reserved.