|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImmutableImportProcessorSummary
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 | |
---|---|
static interface |
ImmutableImportProcessorSummary.PersistedKey
Represents the key of a persisted object. |
Method Summary | |
---|---|
java.lang.Object |
getNewIdFor(java.lang.Class clazz,
java.lang.Object originalId)
Retrieves the new id of the given original id of an object of the specific class. |
java.lang.Object |
getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
Retrieves the new id of the object of the given old key. |
java.util.Set<ImmutableImportProcessorSummary.PersistedKey> |
getNewPersistedKeys()
Retrieves all the new persisted keys. |
java.lang.Object |
getOriginalIdFor(java.lang.Class clazz,
java.lang.Object newId)
Retrieves the original id of the given new id of an object of the specific class. |
java.lang.Object |
getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
Retrieves the old id of the object of the given new key. |
java.util.Set<ImmutableImportProcessorSummary.PersistedKey> |
getOriginalPersistedKeys()
Retrieves all the original persisted keys. |
Method Detail |
---|
java.lang.Object getNewIdFor(java.lang.Class clazz, java.lang.Object originalId)
getNewIdFor(PersistedKey)
.
clazz
- The class of the persisted objectoriginalId
- The original id
null
if not foundjava.lang.Object getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
oldKey
- The key of the persisted object with the original id
null
if not foundjava.lang.Object getOriginalIdFor(java.lang.Class clazz, java.lang.Object newId)
getOriginalIdFor(PersistedKey)
.
clazz
- The class of the persisted objectnewId
- The new id
null
if not foundjava.lang.Object getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
newKey
- The key of the persisted object with the new id
null
if not foundjava.util.Set<ImmutableImportProcessorSummary.PersistedKey> getOriginalPersistedKeys()
java.util.Set<ImmutableImportProcessorSummary.PersistedKey> getNewPersistedKeys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |