org.nuxeo.ecm.core.io.impl
Class DocumentTranslationMapImpl
java.lang.Object
org.nuxeo.ecm.core.io.impl.DocumentTranslationMapImpl
- All Implemented Interfaces:
- DocumentTranslationMap
public class DocumentTranslationMapImpl
- extends Object
- implements DocumentTranslationMap
DocumentTranslationMapImpl
public DocumentTranslationMapImpl(String oldServerName,
String newServerName)
DocumentTranslationMapImpl
public DocumentTranslationMapImpl(String oldServerName,
String newServerName,
Map<DocumentRef,DocumentRef> map)
getDocRefMap
public Map<DocumentRef,DocumentRef> getDocRefMap()
- Description copied from interface:
DocumentTranslationMap
- Returns the unmodifiable map of document references.
- Specified by:
getDocRefMap
in interface DocumentTranslationMap
getNewServerName
public String getNewServerName()
- Description copied from interface:
DocumentTranslationMap
- Returns the new documents server name.
- Specified by:
getNewServerName
in interface DocumentTranslationMap
getOldServerName
public String getOldServerName()
- Description copied from interface:
DocumentTranslationMap
- Returns the old documents server name.
- Specified by:
getOldServerName
in interface DocumentTranslationMap
put
public void put(DocumentRef oldRef,
DocumentRef newRef)
- Specified by:
put
in interface DocumentTranslationMap
putAll
public void putAll(Map<DocumentRef,DocumentRef> refs)
- Specified by:
putAll
in interface DocumentTranslationMap
merge
public static DocumentTranslationMap merge(List<DocumentTranslationMap> maps)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.