Known Direct Subclasses
|
Known Indirect Subclasses
|
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
protected
SessionFactory
sessionFactory
Public Constructors
Public Methods
public
final
void
doImport
()
Executes an import with this importer. Clients should not normally call this method
directly, but instead use the ImportExportManager
.
After the import is complete, runs the post-import tasks, published a
ImportFinishedEvent
,
and deletes the import working file.
public
final
void
setEventPublisher
(EventPublisher eventPublisher)
public
final
void
setSessionFactory
(SessionFactory sessionFactory)
Protected Methods
protected
abstract
void
doImportInternal
()
Performs the actual import.
protected
EventPublisher
getEventPublisher
()
protected
void
postImportAndCleanUp
()
Perform any special logic after the import and post-import tasks are complete.
This method will run even if the import fails. The default implementation does nothing.
protected
void
preImport
()
Perform any special logic prior to the import starting. Default implementation
does nothing.
protected
final
void
publishEvent
(Object event)
Publish an event to the rest of the system.
Parameters
event
| the event to publish
|