Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.xml
Class XMLReadAllCall

`java.lang.Object
DatasourceCall
oracle.toplink.sdk.AbstractSDKCall
oracle.toplink.xml.XMLCall
oracle.toplink.xml.XMLReadAllCall`

All Implemented Interfaces:
  Call, java.lang.Cloneable, SDKCall, java.io.Serializable

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by `oracle.toplink.ox`

public class XMLReadAllCall
extends XMLCall

XMLReadAllCall can perform one of two types of read:

1. Read all the XML documents for a given root element name.
2. Read the XML documents for a given set of foreign keys, specified by a 1:n mapping relationship.

Since:
  TOPLink/Java 3.0
See Also:
  `SDKObjectCollectionMapping`, Serialized Form

Constructor Summary
`XMLReadAllCall()` Deprecated. Default constructor.
`XMLReadAllCall(SDKObjectCollectionMapping mapping)` Deprecated. Constructor.

Method Summary
`java.lang.Object` | `execute(DatabaseRow translationRow, Accessor accessor)` Deprecated. Read and return the necessary rows of data.
`void` | `setMapping(SDKObjectCollectionMapping mapping)` Deprecated. Set the mapping the call fetches data for.

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, getFieldTranslator, getLogString, isFinished, setFieldTranslator, toString`

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

Constructor Detail

### XMLReadAllCall

    public XMLReadAllCall()

  Deprecated.
  Default constructor.

### XMLReadAllCall

    public XMLReadAllCall(SDKObjectCollectionMapping mapping)

  Deprecated.
  Constructor. Specify the associated mapping.

Method Detail

### execute

    public java.lang.Object execute(DatabaseRow translationRow,
                                    Accessor accessor)
                             throws XMLDataStoreException

  Deprecated.
  Read and return the necessary rows of data. If the mapping is missing, this call will simply read *all* the XML documents. If the mapping is present, this call will read all the XML documents for the keys specified in the "nested" rows.
  Throws:
    `XMLDataStoreException`

### setMapping

    public void setMapping(SDKObjectCollectionMapping mapping)

  Deprecated.
  Set the mapping the call fetches data for.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD