com.atlassian.confluence.importexport
Class DefaultImmutableImportProcessorSummary

java.lang.Object
  extended by com.atlassian.confluence.importexport.DefaultImmutableImportProcessorSummary
All Implemented Interfaces:
ImmutableImportProcessorSummary

public class DefaultImmutableImportProcessorSummary
extends Object
implements ImmutableImportProcessorSummary


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.confluence.importexport.ImmutableImportProcessorSummary
ImmutableImportProcessorSummary.PersistedKey
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNewIdFor

public Object getNewIdFor(Class clazz,
                          Object originalId)
Description copied from interface: ImmutableImportProcessorSummary
Retrieves the new id of the given original id of an object of the specific class. This is equivalent to ImmutableImportProcessorSummary.getNewIdFor(PersistedKey).

Specified by:
getNewIdFor in interface ImmutableImportProcessorSummary
Parameters:
clazz - The class of the persisted object
originalId - The original id
Returns:
the new id of the persisted object, or null if not found

getNewIdFor

public Object getNewIdFor(ImmutableImportProcessorSummary.PersistedKey oldKey)
Description copied from interface: ImmutableImportProcessorSummary
Retrieves the new id of the object of the given old key.

Specified by:
getNewIdFor in interface ImmutableImportProcessorSummary
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

public Object getOriginalIdFor(Class clazz,
                               Object newId)
Description copied from interface: ImmutableImportProcessorSummary
Retrieves the original id of the given new id of an object of the specific class. This is equivalent to ImmutableImportProcessorSummary.getOriginalIdFor(PersistedKey).

Specified by:
getOriginalIdFor in interface ImmutableImportProcessorSummary
Parameters:
clazz - The class of the persisted object
newId - The new id
Returns:
the old id of the persisted object, or null if not found

getOriginalIdFor

public Object getOriginalIdFor(ImmutableImportProcessorSummary.PersistedKey newKey)
Description copied from interface: ImmutableImportProcessorSummary
Retrieves the old id of the object of the given new key.

Specified by:
getOriginalIdFor in interface ImmutableImportProcessorSummary
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

public Set<ImmutableImportProcessorSummary.PersistedKey> getOriginalPersistedKeys()
Description copied from interface: ImmutableImportProcessorSummary
Retrieves all the original persisted keys.

Specified by:
getOriginalPersistedKeys in interface ImmutableImportProcessorSummary
Returns:
a set of the original keys of all persisted object

getNewPersistedKeys

public Set<ImmutableImportProcessorSummary.PersistedKey> getNewPersistedKeys()
Description copied from interface: ImmutableImportProcessorSummary
Retrieves all the new persisted keys.

Specified by:
getNewPersistedKeys in interface ImmutableImportProcessorSummary
Returns:
a set of the new keys of all persisted object


Copyright © 2003–2015 Atlassian. All rights reserved.