|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.model.ml.EditionServiceImpl
public class EditionServiceImpl
Edition support implementation
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
EditionServiceImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.alfresco.service.namespace.QName[] ML_CONTAINER_PROPERTIES_TO_VERSION
| Constructor Detail |
|---|
public EditionServiceImpl()
| Method Detail |
|---|
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:mlContainer
public 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 mlContainer
public 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 set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||