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

B15903-01


oracle.toplink.xml
Class XMLDataWriteCall

java.lang.Object
  extended byoracle.toplink.sdk.AbstractSDKCall
      extended byoracle.toplink.xml.XMLCall
          extended byoracle.toplink.xml.XMLDataCall
              extended byoracle.toplink.xml.XMLDataWriteCall

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

public abstract class XMLDataWriteCall
extends XMLDataCall

XMLDataWriteCall simply consolidates the behavior common to XMLDataInsertCall and XMLDataUpdateCall.

Since:
TOPLink/Java 3.0
See Also:
Serialized Form

Constructor Summary
XMLDataWriteCall()
Default constructor.

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

Methods inherited from class oracle.toplink.xml.XMLDataCall
addPrimaryKeyElementName, setPrimaryKeyElementName, setPrimaryKeyElementNames, setPrimaryKeyElementNames, setRootElementName

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

XMLDataWriteCall

public XMLDataWriteCall()
Default constructor.

Method Detail

execute

public java.lang.Object execute(DatabaseRow translationRow,
                                oracle.toplink.internal.databaseaccess.Accessor accessor)
                         throws XMLDataStoreException
Insert the necessary data. The translation row holds the primary key for the data. Return an write count.
Throws:
XMLDataStoreException

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