com.atlassian.confluence.importexport.xmlimport
Interface ObjectPersisterFactory

All Known Implementing Classes:
DelegatingObjectPersisterFactory, HibernateContentPermissionPersisterFactory, HibernateKeyPersisterFactory, HibernateMembershipPersisterFactory, PropertySetItemPersisterFactory, ReflectiveObjectPersisterFactory

public interface ObjectPersisterFactory

Factory to provide the correct ObjectPersister for a given ImportedObject. This allows the backup importer to substitute custom persisters for particular object types where the default reflective persister can not handle the object.


Method Summary
 ObjectPersister createPersisterFor(ImportedObject importedObject)
          Creates a new persister for the given ImportedObject.
 

Method Detail

createPersisterFor

ObjectPersister createPersisterFor(ImportedObject importedObject)
Creates a new persister for the given ImportedObject.

Parameters:
importedObject - the object to persist.
Returns:
the matching ObjectPersister, or null if none could be found.


Copyright © 2003–2015 Atlassian. All rights reserved.