|
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.eis.interactions.EISInteraction
public abstract class EISInteraction
Defines the specification for a call to a JCA interaction. Builds the input and output records from the arguments.
Constructor Summary | |
---|---|
EISInteraction()
Default constructor. |
Method Summary | |
---|---|
void |
addOutputArgument(java.lang.String parameterAndArgumentFieldName)
Define the output argument to the interaction and the field/argument name to be substitute for it. |
void |
addOutputArgument(java.lang.String parameterName,
java.lang.String argumentFieldName)
Define the output argument to the interaction and the field/argument name to be substitute for it. |
java.util.Vector |
buildRows(javax.resource.cci.Record record,
EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction. |
abstract javax.resource.cci.Record |
createInputRecord(EISAccessor accessor)
Create the appropriate input record for this interaction. |
java.lang.Object |
createRecordElement(java.lang.String elementName,
java.lang.Object value,
EISAccessor accessor)
Create the appropriate record element for the data value. |
java.util.Vector |
getArguments()
The argument fields or values to the interaction that map into the input record. |
java.lang.String |
getFunctionName()
Return the function name of the interaction. |
java.lang.String |
getInputRecordName()
Return the input record name. |
javax.resource.cci.InteractionSpec |
getInteractionSpec()
Return the JCA InteractionSpec that defines this EIS interaction. |
java.lang.String |
getLogString(Accessor accessor)
Return the string for logging purposes. |
java.util.Vector |
getOutputArgumentNames()
The argument names for the output record. |
java.util.Vector |
getOutputArguments()
The argument fields to the interaction that map into the output record. |
java.lang.String |
getOutputResultPath()
The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. |
java.util.Map |
getProperties()
Returns the adapter specific properties. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the adapter property associated the given name. |
boolean |
hasArguments()
Return if argumented. |
boolean |
hasOutputArguments()
Return if argumented. |
void |
prepare(oracle.toplink.internal.sessions.AbstractSession session)
Set the default record name from the descriptor. |
void |
setFunctionName(java.lang.String functionName)
Set the function name of the interaction. |
void |
setInputRecordName(java.lang.String recordName)
Set the input record name. |
void |
setInputRow(oracle.toplink.internal.sessions.AbstractRecord inputRow)
Set the input database row. |
void |
setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec)
Set the JCA InteractionSpec that defines this EIS interaction. |
void |
setOutputArgumentNames(java.util.Vector outputArgumentNames)
Set the output argument names. |
void |
setOutputArguments(java.util.Vector outputArguments)
The output arguments. |
void |
setOutputResultPath(java.lang.String outputResultPath)
The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. |
void |
setProperties(java.util.Map properties)
Set the adapter specific properties. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set the adapter specific property. |
java.lang.String |
toString()
|
void |
translate(oracle.toplink.internal.sessions.AbstractRecord translationRow,
oracle.toplink.internal.sessions.AbstractRecord modifyRow,
oracle.toplink.internal.sessions.AbstractSession session)
Arguments to the interaction can be passed two ways. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EISInteraction()
Method Detail |
---|
public void addOutputArgument(java.lang.String parameterAndArgumentFieldName)
public void addOutputArgument(java.lang.String parameterName, java.lang.String argumentFieldName)
public java.util.Vector getArguments()
public boolean hasArguments()
public java.lang.String getOutputResultPath()
public void setOutputResultPath(java.lang.String outputResultPath)
public java.util.Vector getOutputArgumentNames()
public java.util.Vector getOutputArguments()
public void setOutputArguments(java.util.Vector outputArguments)
public void setOutputArgumentNames(java.util.Vector outputArgumentNames)
public boolean hasOutputArguments()
public void prepare(oracle.toplink.internal.sessions.AbstractSession session)
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public java.lang.Object createRecordElement(java.lang.String elementName, java.lang.Object value, EISAccessor accessor)
public javax.resource.cci.InteractionSpec getInteractionSpec()
public void setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec)
public java.lang.String getLogString(Accessor accessor)
getLogString
in interface Call
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public void translate(oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractRecord modifyRow, oracle.toplink.internal.sessions.AbstractSession session)
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public abstract javax.resource.cci.Record createInputRecord(EISAccessor accessor)
public java.util.Vector buildRows(javax.resource.cci.Record record, EISAccessor accessor)
public java.lang.String getFunctionName()
public void setFunctionName(java.lang.String functionName)
public java.lang.String getInputRecordName()
public void setInputRecordName(java.lang.String recordName)
public java.util.Map getProperties()
public java.lang.Object getProperty(java.lang.String name)
public void setProperties(java.util.Map properties)
public void setProperty(java.lang.String name, java.lang.Object value)
public void setInputRow(oracle.toplink.internal.sessions.AbstractRecord inputRow)
public java.lang.String toString()
toString
in class java.lang.Object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |