public class DefaultImmutableImportProcessorSummary extends Object implements ImmutableImportProcessorSummary
ImmutableImportProcessorSummary.PersistedKey
Modifier and Type | Method and Description |
---|---|
Object |
getNewIdFor(Class clazz,
Object originalId)
Retrieves the new id of the given original id of an object of the specific class.
|
Object |
getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
Retrieves the new id of the object of the given old key.
|
Set<ImmutableImportProcessorSummary.PersistedKey> |
getNewPersistedKeys()
Retrieves all the new persisted keys.
|
Object |
getOriginalIdFor(Class clazz,
Object newId)
Retrieves the original id of the given new id of an object of the specific class.
|
Object |
getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
Retrieves the old id of the object of the given new key.
|
Set<ImmutableImportProcessorSummary.PersistedKey> |
getOriginalPersistedKeys()
Retrieves all the original persisted keys.
|
public Object getNewIdFor(Class clazz, Object originalId)
ImmutableImportProcessorSummary
ImmutableImportProcessorSummary.getNewIdFor(PersistedKey)
.getNewIdFor
in interface ImmutableImportProcessorSummary
clazz
- The class of the persisted objectoriginalId
- The original idnull
if not foundpublic Object getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
ImmutableImportProcessorSummary
getNewIdFor
in interface ImmutableImportProcessorSummary
oldKey
- The key of the persisted object with the original idnull
if not foundpublic Object getOriginalIdFor(Class clazz, Object newId)
ImmutableImportProcessorSummary
ImmutableImportProcessorSummary.getOriginalIdFor(PersistedKey)
.getOriginalIdFor
in interface ImmutableImportProcessorSummary
clazz
- The class of the persisted objectnewId
- The new idnull
if not foundpublic Object getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
ImmutableImportProcessorSummary
getOriginalIdFor
in interface ImmutableImportProcessorSummary
newKey
- The key of the persisted object with the new idnull
if not foundpublic Set<ImmutableImportProcessorSummary.PersistedKey> getOriginalPersistedKeys()
ImmutableImportProcessorSummary
getOriginalPersistedKeys
in interface ImmutableImportProcessorSummary
public Set<ImmutableImportProcessorSummary.PersistedKey> getNewPersistedKeys()
ImmutableImportProcessorSummary
getNewPersistedKeys
in interface ImmutableImportProcessorSummary
Copyright © 2003–2019 Atlassian. All rights reserved.