|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.internal.databaseaccess.DatasourceCall oracle.toplink.sdk.AbstractSDKCall
oracle.toplink.eis
public abstract class AbstractSDKCall
AbstractSDKCall
provides a base implementation of
SDKCall
. It
associates the call with its executing query. It also associates
the call with the appropriate SDK query mechanism.
It also provides for a call-specific field translator that allows
the database row to be translated on its way to and from the
data store.
Subclasses are still required to implement
#execute(Record, Accessor)
.
SDKQueryMechanism
,
DatabaseQuery
,
FieldTranslator
,
DefaultFieldTranslator
,
Serialized FormMethod Summary | |
---|---|
void |
addReadTranslation(java.lang.String dataStoreFieldName,
java.lang.String mappingFieldName)
Deprecated. Add a translation. |
void |
addReadTranslations(java.lang.String[] dataStoreFieldNames,
java.lang.String[] mappingFieldNames)
Deprecated. Add translations. |
void |
addReadTranslations(java.util.Vector translations)
Deprecated. Add translations. |
void |
addWriteTranslation(java.lang.String mappingFieldName,
java.lang.String dataStoreFieldName)
Deprecated. Add a translation. |
void |
addWriteTranslations(java.lang.String[] mappingFieldNames,
java.lang.String[] dataStoreFieldNames)
Deprecated. Add translations. |
void |
addWriteTranslations(java.util.Vector translations)
Deprecated. Add translations. |
FieldTranslator |
buildDefaultTranslator()
Deprecated. Build and return the default field translator that converts database row field names. |
oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
buildNewQueryMechanism(DatabaseQuery query)
Deprecated. Return the appropriate mechanism, with the call added as necessary. |
oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
buildQueryMechanism(DatabaseQuery query,
oracle.toplink.internal.queryframework.DatabaseQueryMechanism mechanism)
Deprecated. Return the appropriate mechanism, with the call added as necessary. |
FieldTranslator |
getFieldTranslator()
Deprecated. Return the translator that converts database row field names. |
java.lang.String |
getLogString(Accessor accessor)
Deprecated. Return a string appropriate for the session log. |
boolean |
isFinished()
Deprecated. Return whether the call is finished returning all of its results (e.g. a call that returns a cursor that will continue to access the data store after the initial invocation will answer false). |
void |
setFieldTranslator(FieldTranslator fieldTranslator)
Deprecated. Set the translator that converts database row field names. |
java.lang.String |
toString()
Deprecated. Call #toString(PrintWriter) , to allow subclasses to
insert additional information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.toplink.sdk.SDKCall |
---|
execute |
Method Detail |
---|
public void addReadTranslation(java.lang.String dataStoreFieldName, java.lang.String mappingFieldName)
public void addReadTranslations(java.lang.String[] dataStoreFieldNames, java.lang.String[] mappingFieldNames)
public void addReadTranslations(java.util.Vector translations)
public void addWriteTranslation(java.lang.String mappingFieldName, java.lang.String dataStoreFieldName)
public void addWriteTranslations(java.lang.String[] mappingFieldNames, java.lang.String[] dataStoreFieldNames)
public void addWriteTranslations(java.util.Vector translations)
public FieldTranslator buildDefaultTranslator()
public oracle.toplink.internal.queryframework.DatabaseQueryMechanism buildNewQueryMechanism(DatabaseQuery query)
buildNewQueryMechanism
in interface Call
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public oracle.toplink.internal.queryframework.DatabaseQueryMechanism buildQueryMechanism(DatabaseQuery query, oracle.toplink.internal.queryframework.DatabaseQueryMechanism mechanism)
buildQueryMechanism
in interface Call
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public FieldTranslator getFieldTranslator()
public java.lang.String getLogString(Accessor accessor)
getLogString
in interface Call
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public boolean isFinished()
isFinished
in interface Call
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public void setFieldTranslator(FieldTranslator fieldTranslator)
public java.lang.String toString()
#toString(PrintWriter)
, to allow subclasses to
insert additional information.
toString
in class java.lang.Object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |