wt.ixb.actor
Class NewVersionActorForVersioned

java.lang.Object
  extended bywt.ixb.actor.ActorTemplate
      extended bywt.ixb.actor.NewVersionActorForVersioned
All Implemented Interfaces:
Actor

public class NewVersionActorForVersioned
extends ActorTemplate


Field Summary
private static String RESOURCE
           
 
Fields inherited from class wt.ixb.actor.ActorTemplate
 
Constructor Summary
NewVersionActorForVersioned()
           
 
Method Summary
 Object createObject(ClassExporterImporter _handler, IxbElement fileXML, Importer importer)
          Create an object instance.
 void previewObject(ClassExporterImporter _handler, IxbElement fileXML, Importer importer)
          Preview the import, including conflicts checking, without performing the real import.
private static void printout(String s)
           
 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 wt.ixb.actor.ActorTemplate
checkApplicabilityOfAction, importObjectAttributes, importObjectAttributesAfterStore, performPostExportAction, performPreExportAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

NewVersionActorForVersioned

public NewVersionActorForVersioned()
Method Detail

createObject

public Object createObject(ClassExporterImporter _handler,
                           IxbElement fileXML,
                           Importer importer)
                    throws WTException
Description copied from class: ActorTemplate
Create an object instance. Usually the instance will not be persisted within this method context.

Supported API: true

Specified by:
createObject in interface Actor
Overrides:
createObject in class ActorTemplate
Parameters:
_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.
Returns:
Object
Throws:
WTException
See Also:
method storeObject( ClassExporterImporter handler, Object object, IxbElement fileXML, Importer importer )

storeObject

public Object storeObject(ClassExporterImporter _handler,
                          Object object,
                          IxbElement fileXML,
                          Importer importer)
                   throws WTException
Description copied from class: ActorTemplate
Persists the specified object as created by createObject(ClassExporterImporter handler, IxbElement fileXML, Importer importer)

Supported API: true

Specified by:
storeObject in interface Actor
Overrides:
storeObject in class ActorTemplate
Parameters:
_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.
Returns:
Object
Throws:
WTException

previewObject

public void previewObject(ClassExporterImporter _handler,
                          IxbElement fileXML,
                          Importer importer)
                   throws WTException
Description copied from class: ActorTemplate
Preview the import, including conflicts checking, without performing the real import.

Supported API: true

Specified by:
previewObject in interface Actor
Overrides:
previewObject in class ActorTemplate
Parameters:
_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.
Throws:
WTException

printout

private static void printout(String s)