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
ConstructorDescriptionDocumentTranslationMapImpl
(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 DocumentTranslationMap
merge
(List<DocumentTranslationMap> maps) void
put
(DocumentRef oldRef, DocumentRef newRef) void
putAll
(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:DocumentTranslationMap
Returns the unmodifiable map of document references.- Specified by:
getDocRefMap
in interfaceDocumentTranslationMap
-
getNewServerName
Description copied from interface:DocumentTranslationMap
Returns the new documents server name.- Specified by:
getNewServerName
in interfaceDocumentTranslationMap
-
getOldServerName
Description copied from interface:DocumentTranslationMap
Returns the old documents server name.- Specified by:
getOldServerName
in interfaceDocumentTranslationMap
-
put
- Specified by:
put
in interfaceDocumentTranslationMap
-
putAll
- Specified by:
putAll
in interfaceDocumentTranslationMap
-
merge
-