Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.xml
Class XMLWriteCall

java.lang.Object
  extended byoracle.toplink.sdk.AbstractSDKCall
      extended byoracle.toplink.xml.XMLCall
          extended byoracle.toplink.xml.XMLWriteCall

All Implemented Interfaces:
Call, java.lang.Cloneable, SDKCall, java.io.Serializable
Direct Known Subclasses:
XMLInsertCall, XMLUpdateCall

public abstract class XMLWriteCall
extends XMLCall

XMLWriteCall simply adds the assumption that the query is a ModifyQuery.

Since:
TOPLink/Java 3.0
See Also:
ModifyQuery, Serialized Form

Constructor Summary
XMLWriteCall()
Default constructor.

Method Summary
java.lang.Object execute(DatabaseRow translationRow, oracle.toplink.internal.databaseaccess.Accessor accessor)
Write the necessary data.

Methods inherited from class oracle.toplink.xml.XMLCall
getStreamPolicy, getXMLTranslator, setFile, setFile, setFileName, setFileName, setFiles, setFiles, setReader, setReaders, setStreamPolicy, setWriter, setXMLTranslator

Methods inherited from class oracle.toplink.sdk.AbstractSDKCall
addReadTranslation, addReadTranslations, addReadTranslations, addWriteTranslation, addWriteTranslations, addWriteTranslations, buildDefaultTranslator, buildNewQueryMechanism, buildQueryMechanism, clone, clone, getFieldTranslator, getLogString, isFinished, setFieldTranslator, toString

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

XMLWriteCall

public XMLWriteCall()
Default constructor.

Method Detail

execute

public java.lang.Object execute(DatabaseRow translationRow,
                                oracle.toplink.internal.databaseaccess.Accessor accessor)
                         throws XMLDataStoreException
Write the necessary data. The translation row holds the primary key for the data. But the modify row holds all the data to be written. Return a modify count.
Throws:
XMLDataStoreException

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.