public class DocumentTranslationMapImpl extends Object implements DocumentTranslationMap
| Constructor and Description |
|---|
DocumentTranslationMapImpl(String oldServerName,
String newServerName) |
DocumentTranslationMapImpl(String oldServerName,
String newServerName,
Map<DocumentRef,DocumentRef> map) |
| Modifier and Type | Method and Description |
|---|---|
Map<DocumentRef,DocumentRef> |
getDocRefMap()
Returns the unmodifiable map of document references.
|
String |
getNewServerName()
Returns the new documents server name.
|
String |
getOldServerName()
Returns the old documents server name.
|
static DocumentTranslationMap |
merge(List<DocumentTranslationMap> maps) |
void |
put(DocumentRef oldRef,
DocumentRef newRef) |
void |
putAll(Map<DocumentRef,DocumentRef> refs) |
public DocumentTranslationMapImpl(String oldServerName, String newServerName)
public DocumentTranslationMapImpl(String oldServerName, String newServerName, Map<DocumentRef,DocumentRef> map)
public Map<DocumentRef,DocumentRef> getDocRefMap()
DocumentTranslationMapgetDocRefMap in interface DocumentTranslationMappublic String getNewServerName()
DocumentTranslationMapgetNewServerName in interface DocumentTranslationMappublic String getOldServerName()
DocumentTranslationMapgetOldServerName in interface DocumentTranslationMappublic void put(DocumentRef oldRef, DocumentRef newRef)
put in interface DocumentTranslationMappublic void putAll(Map<DocumentRef,DocumentRef> refs)
putAll in interface DocumentTranslationMappublic static DocumentTranslationMap merge(List<DocumentTranslationMap> maps)
Copyright © 2015 Nuxeo SA. All rights reserved.