Package org.nuxeo.ecm.core.io.impl
Class DocumentTranslationMapImpl
java.lang.Object
org.nuxeo.ecm.core.io.impl.DocumentTranslationMapImpl
- All Implemented Interfaces:
DocumentTranslationMap
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentTranslationMapImpl(String oldServerName, String newServerName) DocumentTranslationMapImpl(String oldServerName, String newServerName, Map<DocumentRef, DocumentRef> map) -
Method Summary
Modifier and TypeMethodDescriptionReturns the unmodifiable map of document references.Returns the new documents server name.Returns the old documents server name.static DocumentTranslationMapmerge(List<DocumentTranslationMap> maps) voidput(DocumentRef oldRef, DocumentRef newRef) voidputAll(Map<DocumentRef, DocumentRef> refs)
-
Constructor Details
-
DocumentTranslationMapImpl
-
DocumentTranslationMapImpl
public DocumentTranslationMapImpl(String oldServerName, String newServerName, Map<DocumentRef, DocumentRef> map)
-
-
Method Details
-
getDocRefMap
Description copied from interface:DocumentTranslationMapReturns the unmodifiable map of document references.- Specified by:
getDocRefMapin interfaceDocumentTranslationMap
-
getNewServerName
Description copied from interface:DocumentTranslationMapReturns the new documents server name.- Specified by:
getNewServerNamein interfaceDocumentTranslationMap
-
getOldServerName
Description copied from interface:DocumentTranslationMapReturns the old documents server name.- Specified by:
getOldServerNamein interfaceDocumentTranslationMap
-
put
- Specified by:
putin interfaceDocumentTranslationMap
-
putAll
- Specified by:
putAllin interfaceDocumentTranslationMap
-
merge
-