|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.actor.ActorTemplate
General template for wt.ixb.actor.Actor
which defines trivial
implementation.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
ActorTemplate()
|
Method Summary | |
void |
checkApplicabilityOfAction(Object obj)
Check if this action is applicable to the specified object. |
Object |
createObject(ClassExporterImporter handler,
IxbElement fileXML,
Importer importer)
Create an object instance. |
Object |
importObjectAttributes(ClassExporterImporter handler,
Object object,
IxbElement fileXML,
Importer importer)
Supported API: false |
Object |
importObjectAttributesAfterStore(ClassExporterImporter handler,
Object object,
IxbElement fileXML,
Importer importer)
Supported API: false |
void |
performPostExportAction(ClassExporterImporter handler,
Exporter exporter,
Object object,
IxbElement fileXML)
Perform any action for the object after the real export ends. |
void |
performPreExportAction(ClassExporterImporter handler,
Exporter exporter,
Object object)
Perform any actions for the object before the real export begins. |
void |
previewObject(ClassExporterImporter handler,
IxbElement fileXML,
Importer importer)
Preview the import, including conflicts checking, without performing the real import. |
Object |
storeObject(ClassExporterImporter handler,
Object object,
IxbElement fileXML,
Importer importer)
Persists the specified object as created by createObject(ClassExporterImporter
handler, IxbElement fileXML, Importer importer)
Supported API: true |
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 static final String CLASSNAME
Constructor Detail |
public ActorTemplate()
Method Detail |
public void performPreExportAction(ClassExporterImporter handler, Exporter exporter, Object object) throws WTException
performPreExportAction
in interface Actor
handler
- The export class handler.exporter
- The Exporter
instance that represents the context of the export operation.object
- The object to be exported.
WTException
public void performPostExportAction(ClassExporterImporter handler, Exporter exporter, Object object, IxbElement fileXML) throws WTException
performPostExportAction
in interface Actor
handler
- The export class handler.exporter
- The Exporter
instance that represents the context of the export operation.object
- The object to be exported.fileXML
- The exported information of the object.
WTException
public void previewObject(ClassExporterImporter handler, IxbElement fileXML, Importer importer) throws WTException
previewObject
in interface Actor
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
public Object createObject(ClassExporterImporter handler, IxbElement fileXML, Importer importer) throws WTException
createObject
in interface Actor
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
handler
- object
- fileXML
- importer
-
WTException
public Object importObjectAttributesAfterStore(ClassExporterImporter handler, Object object, IxbElement fileXML, Importer importer) throws WTException
importObjectAttributesAfterStore
in interface Actor
handler
- object
- fileXML
- importer
-
WTException
public Object storeObject(ClassExporterImporter handler, Object object, IxbElement fileXML, Importer importer) throws WTException
createObject(ClassExporterImporter
handler, IxbElement fileXML, Importer importer)
storeObject
in interface Actor
handler
- The import class handler for the corresponding XML file.object
- The object to be persisted.fileXML
- the XML element to be imported.importer
- The Importer
instance that represents the context of the import operation.
WTException
public void checkApplicabilityOfAction(Object obj) throws WTException
wt.util.WTException
checkApplicabilityOfAction
in interface Actor
obj
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |