|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Actor
This interface represents various actions on export and import. The actions
can be explicitly specified from client or from server registry.
Supported API: true
Extendable: true
| 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. |
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 |
| Method Detail |
|---|
void performPreExportAction(ClassExporterImporter handler,
Exporter exporter,
Object object)
throws WTException
handler - The export class handler.exporter - The Exporter instance that represents the context of the export operation.object - The object to be exported.
WTException
void performPostExportAction(ClassExporterImporter handler,
Exporter exporter,
Object object,
IxbElement fileXML)
throws WTException
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
void previewObject(ClassExporterImporter handler,
IxbElement fileXML,
Importer importer)
throws WTException
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
Object createObject(ClassExporterImporter handler,
IxbElement fileXML,
Importer importer)
throws WTException
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.
WTExceptionmethod storeObject( ClassExporterImporter handler,
Object object, IxbElement fileXML, Importer importer )
Object storeObject(ClassExporterImporter handler,
Object object,
IxbElement fileXML,
Importer importer)
throws WTException
createObject(ClassExporterImporter
handler, IxbElement fileXML, Importer importer)
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
void checkApplicabilityOfAction(Object obj)
throws WTException
wt.util.WTException
obj -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||