com.atlassian.crowd.migration.legacy
Class LegacyImportDataHolder
java.lang.Object
com.atlassian.crowd.migration.legacy.LegacyImportDataHolder
public class LegacyImportDataHolder
- extends java.lang.Object
This class holds references that can be shared across other importers should the need arise.
This does, in some way, break the independance of the mappers - but the reality is that the
mappers are interdependant and NEED to share data to allow for fast legacy imports.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyImportDataHolder
public LegacyImportDataHolder()
getOldToNewDirectoryIds
public java.util.Map<java.lang.Long,java.lang.Long> getOldToNewDirectoryIds()
- Returns:
- a map of directory IDs present in the XML file mapped to actual directory IDs saved in the database.
setOldToNewDirectoryIds
public void setOldToNewDirectoryIds(java.util.Map<java.lang.Long,java.lang.Long> oldToNewDirectoryIds)
- Parameters:
oldToNewDirectoryIds - a map of directory IDs present in the XML file mapped to actual directory IDs saved in the database.
getUserImportResults
public BatchResultWithIdReferences<User> getUserImportResults()
- Returns:
- results from the batch user import.
setUserImportResults
public void setUserImportResults(BatchResultWithIdReferences<User> userImportResults)
- Parameters:
userImportResults - results from the batch user import.
Copyright © 2012 Atlassian. All Rights Reserved.