|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.actor.ActorTemplate
wt.ixb.actor.RestoreActor
Supported API: true
Extendable: false
Field Summary | |
private boolean |
objectExist
|
private static String |
RESOURCE
|
Fields inherited from class wt.ixb.actor.ActorTemplate |
|
Constructor Summary | |
RestoreActor()
|
Method Summary | |
Object |
createObject(ClassExporterImporter handler,
IxbElement fileXml,
Importer importer)
Create an object instance. |
Object |
importObjectAttributes(ClassExporterImporter handler,
Object object,
IxbElement fileXml,
Importer importer)
Import attributes specific for Restore (before the object is stored) Supported API: true |
Object |
importObjectAttributesAfterStore(ClassExporterImporter handler,
Object object,
IxbElement fileXml,
Importer importer)
Import attributes specific for Restore (after the object is stored) Supported API: true |
Object |
storeObject(ClassExporterImporter handler,
Object o,
IxbElement fileXml,
Importer importer)
Persists the specified object as created by createObject(ClassExporterImporter
handler, IxbElement fileXml, Importer importer) . |
Methods inherited from class wt.ixb.actor.ActorTemplate |
checkApplicabilityOfAction, performPostExportAction, performPreExportAction, previewObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private boolean objectExist
Constructor Detail |
public RestoreActor()
Method Detail |
public Object createObject(ClassExporterImporter handler, IxbElement fileXml, Importer importer) throws WTException
createObject
in interface Actor
createObject
in class ActorTemplate
handler
- The import class handler for the corresponding XML file.fileXml
- the XML element to be imported.importer
- The Importer
instance that represents the context of the import operation.
WTException
method storeObject(ClassExporterImporter handler,
Object object, IxbElement fileXml, Importer importer)
public Object importObjectAttributes(ClassExporterImporter handler, Object object, IxbElement fileXml, Importer importer) throws WTException
importObjectAttributes
in interface Actor
importObjectAttributes
in class ActorTemplate
handler
- object
- fileXml
- importer
-
WTException
public Object importObjectAttributesAfterStore(ClassExporterImporter handler, Object object, IxbElement fileXml, Importer importer) throws WTException
importObjectAttributesAfterStore
in interface Actor
importObjectAttributesAfterStore
in class ActorTemplate
handler
- object
- fileXml
- importer
-
WTException
public Object storeObject(ClassExporterImporter handler, Object o, IxbElement fileXml, Importer importer) throws WTException
createObject(ClassExporterImporter
handler, IxbElement fileXml, Importer importer)
.
storeObject
in interface Actor
storeObject
in class ActorTemplate
handler
- The import class handler for the corresponding XML file.fileXml
- the XML element to be imported.importer
- The Importer
instance that represents the context of the import operation.o
- The object to be persisted.
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |