Interface ImmutableImportProcessorSummary
-
- All Known Implementing Classes:
DefaultImmutableImportProcessorSummary
@Deprecated public interface ImmutableImportProcessorSummary
Deprecated.since 7.17.0.An immutable summary of an import result.For space imports and incremental site imports, object keys are reassigned during the import. This summary provides the necessary methods to find out which new key is mapped to which original key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ImmutableImportProcessorSummary.PersistedKey
Deprecated.Represents the key of a persisted object.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Object
getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
Deprecated.Retrieves the new id of the object of the given old key.Object
getNewIdFor(Class clazz, Object originalId)
Deprecated.Retrieves the new id of the given original id of an object of the specific class.Set<ImmutableImportProcessorSummary.PersistedKey>
getNewPersistedKeys()
Deprecated.Retrieves all the new persisted keys.Object
getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
Deprecated.Retrieves the old id of the object of the given new key.Object
getOriginalIdFor(Class clazz, Object newId)
Deprecated.Retrieves the original id of the given new id of an object of the specific class.Set<ImmutableImportProcessorSummary.PersistedKey>
getOriginalPersistedKeys()
Deprecated.Retrieves all the original persisted keys.
-
-
-
Method Detail
-
getNewIdFor
Object getNewIdFor(Class clazz, Object originalId)
Deprecated.Retrieves the new id of the given original id of an object of the specific class. This is equivalent togetNewIdFor(PersistedKey)
.- Parameters:
clazz
- The class of the persisted objectoriginalId
- The original id- Returns:
- the new id of the persisted object, or
null
if not found
-
getNewIdFor
Object getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
Deprecated.Retrieves the new id of the object of the given old key.- Parameters:
oldKey
- The key of the persisted object with the original id- Returns:
- the new id of the persisted object, or
null
if not found
-
getOriginalIdFor
Object getOriginalIdFor(Class clazz, Object newId)
Deprecated.Retrieves the original id of the given new id of an object of the specific class. This is equivalent togetOriginalIdFor(PersistedKey)
.- Parameters:
clazz
- The class of the persisted objectnewId
- The new id- Returns:
- the old id of the persisted object, or
null
if not found
-
getOriginalIdFor
Object getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
Deprecated.Retrieves the old id of the object of the given new key.- Parameters:
newKey
- The key of the persisted object with the new id- Returns:
- the original id of the persisted object, or
null
if not found
-
getOriginalPersistedKeys
Set<ImmutableImportProcessorSummary.PersistedKey> getOriginalPersistedKeys()
Deprecated.Retrieves all the original persisted keys.- Returns:
- a set of the original keys of all persisted object
-
getNewPersistedKeys
Set<ImmutableImportProcessorSummary.PersistedKey> getNewPersistedKeys()
Deprecated.Retrieves all the new persisted keys.- Returns:
- a set of the new keys of all persisted object
-
-