| Modifier and Type | Field and Description |
|---|---|
| protected Vector | arguments
Defines the arguments to the interaction, these can be the values or argument names/fields the values come from. |
| protected String | functionName
Name of the function the interaction describes. |
| protected String | inputRecordName
Name to pass to the input record creation. |
| protected AbstractRecord | inputRow
Holds database row of input values. |
| protected InteractionSpec | interactionSpec
Adapter specific interaction spec. |
| protected Vector | outputArgumentNames
Defines the output argument names as defined in the output record for the interaction. |
| protected Vector | outputArguments
Defines the field values the output arguments of the interaction map to. |
| protected String | outputResultPath
Path to the desired output record if nested. |
| protected Map | properties
Adapter specific properties may be added. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addOutputArgument(String parameterAndArgumentFieldName)
PUBLIC: Define the output argument to the interaction and the field/argument name to be substitute for it. |
| public void | addOutputArgument(String parameterName, String argumentFieldName)
PUBLIC: Define the output argument to the interaction and the field/argument name to be substitute for it. |
| public abstract AbstractRecord | buildRow(Record record, EISAccessor accessor)
INTERNAL: Build a database row from the record returned from the interaction. |
| public Vector | buildRows(Record record, EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction. |
| public abstract Record | |
| public Object | createRecordElement(String elementName, Object value, EISAccessor accessor)
Create the appropriate record element for the data value. |
| public Vector | |
| public String | |
| public String | |
| public AbstractRecord | |
| public InteractionSpec | |
| public String | getLogString(Accessor accessor)
Implements abstract org. Implements org. |
| public Vector | |
| public Vector | |
| public String | getOutputResultPath()
PUBLIC: The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. |
| public Map | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | prepare(AbstractSession session)
Overrides org. |
| public void | setArguments(Vector<E> arguments)
INTERNAL: The argument fields or values to the interaction that map into the input record. |
| public void | |
| public void | |
| public void | |
| public void | setInteractionSpec(InteractionSpec interactionSpec)
PUBLIC: Set the JCA InteractionSpec that defines this EIS interaction. |
| public void | |
| public void | |
| public void | setOutputResultPath(String outputResultPath)
PUBLIC: The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. |
| public void | |
| public void | |
| public String | |
| public void | translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)
Overrides org. |
| arguments | back to summary |
|---|---|
| protected Vector<E> arguments Defines the arguments to the interaction, these can be the values or argument names/fields the values come from. | |
| functionName | back to summary |
|---|---|
| protected String functionName Name of the function the interaction describes. | |
| inputRecordName | back to summary |
|---|---|
| protected String inputRecordName Name to pass to the input record creation. | |
| inputRow | back to summary |
|---|---|
| protected AbstractRecord inputRow Holds database row of input values. | |
| interactionSpec | back to summary |
|---|---|
| protected InteractionSpec interactionSpec Adapter specific interaction spec. | |
| outputArgumentNames | back to summary |
|---|---|
| protected Vector<String> outputArgumentNames Defines the output argument names as defined in the output record for the interaction. This is shared as indexed interaction may still have mapped results. | |
| outputArguments | back to summary |
|---|---|
| protected Vector<DatabaseField> outputArguments Defines the field values the output arguments of the interaction map to. These are order dependent with the names. | |
| outputResultPath | back to summary |
|---|---|
| protected String outputResultPath Path to the desired output record if nested. | |
| properties | back to summary |
|---|---|
| protected Map<String, Object> properties Adapter specific properties may be added. | |
| EISInteraction | back to summary |
|---|---|
| protected EISInteraction() PUBLIC: Default constructor. | |
| addOutputArgument | back to summary |
|---|---|
| public void addOutputArgument(String parameterAndArgumentFieldName) PUBLIC: Define the output argument to the interaction and the field/argument name to be substitute for it. This is only required if an output row is not used. The parameterAndArgumentFieldName is the name of the output record argument expected, and is the field or argument name to be used to be used for it. These names are assumed to be the same, if not this method can be called with two arguments. | |
| addOutputArgument | back to summary |
|---|---|
| public void addOutputArgument(String parameterName, String argumentFieldName) PUBLIC: Define the output argument to the interaction and the field/argument name to be substitute for it. This is only required if an output row is not used. The parameterName is the name of the output record argument expected. The argumentFieldName is the field or argument name to be used to be used for it. If these names are the same (as they normally are) this method can be called with a single argument. | |
| buildRow | back to summary |
|---|---|
| public abstract AbstractRecord buildRow(Record record, EISAccessor accessor) INTERNAL: Build a database row from the record returned from the interaction. | |
| buildRows | back to summary |
|---|---|
| public Vector Build a collection of database rows from the Record returned from the interaction. This handles IndexedRecords used as sets of result records, and a single MappedRecord with a list of result records. | |
| createInputRecord | back to summary |
|---|---|
| public abstract Record createInputRecord(EISAccessor accessor) Create the appropriate input record for this interaction. Populate the data into the record from this interaction's arguments. | |
| createRecordElement | back to summary |
|---|---|
| public Object createRecordElement(String elementName, Object value, EISAccessor accessor) Create the appropriate record element for the data value. If the value is a collection, create a collection of elements, if the value is a map, create a nested map, otherwise just return the value (primitive data). | |
| getArguments | back to summary |
|---|---|
| public Vector The argument fields or values to the interaction that map into the input record. | |
| getFunctionName | back to summary |
|---|---|
| public String getFunctionName() PUBLIC: Return the function name of the interaction. A function name is a common properties for a CCI InteractionSpec. This cannot be generically set on the spec as it is not in the interface however the EIS platform may make use of this in build the interaction spec. | |
| getInputRecordName | back to summary |
|---|---|
| public String getInputRecordName() PUBLIC: Return the input record name. This is used as the name passed to the adapter when creating the input record. | |
| getInputRow | back to summary |
|---|---|
| public AbstractRecord getInputRow() INTERNAL: Return the input database row. | |
| getInteractionSpec | back to summary |
|---|---|
| public InteractionSpec getInteractionSpec() PUBLIC: Return the JCA InteractionSpec that defines this EIS interaction. The InteractionSpec is JCA adapter specific and typically defines the function name. | |
| getLogString | back to summary |
|---|---|
| public String getLogString(Accessor accessor) Implements abstract org. Implements org. Return the string for logging purposes.
| |
| getOutputArgumentNames | back to summary |
|---|---|
| public Vector The argument names for the output record. | |
| getOutputArguments | back to summary |
|---|---|
| public Vector The argument fields to the interaction that map into the output record. | |
| getOutputResultPath | back to summary |
|---|---|
| public String getOutputResultPath() PUBLIC: The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. This is required for read interactions that need a nested record to build from the mapped object. | |
| getProperties | back to summary |
|---|---|
| public Map Returns the adapter specific properties. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) PUBLIC: Returns the adapter property associated the given name. If the interaction is associated with a query that has a descriptor, The descriptor's properties are automatically inherited. | |
| hasArguments | back to summary |
|---|---|
| public boolean hasArguments() Return if argumented. | |
| hasOutputArguments | back to summary |
|---|---|
| public boolean hasOutputArguments() Return if argumented. | |
| isEISInteraction | back to summary |
|---|---|
| public boolean isEISInteraction() Overrides org.
| |
| prepare | back to summary |
|---|---|
| public void prepare(AbstractSession session) Overrides org. Set the default record name from the descriptor.
| |
| setArguments | back to summary |
|---|---|
| public void setArguments(Vector<E> arguments) INTERNAL: The argument fields or values to the interaction that map into the input record. | |
| setFunctionName | back to summary |
|---|---|
| public void setFunctionName(String functionName) PUBLIC: Set the function name of the interaction. A function name is a common properties for a CCI InteractionSpec. This cannot be generically set on the spec as it is not in the interface however the EIS platform may make use of this in build the interaction spec. | |
| setInputRecordName | back to summary |
|---|---|
| public void setInputRecordName(String recordName) PUBLIC: Set the input record name. This is used as the name passed to the adapter when creating the input record. | |
| setInputRow | back to summary |
|---|---|
| public void setInputRow(AbstractRecord inputRow) PUBLIC: Set the input database row. | |
| setInteractionSpec | back to summary |
|---|---|
| public void setInteractionSpec(InteractionSpec interactionSpec) PUBLIC: Set the JCA InteractionSpec that defines this EIS interaction. The InteractionSpec is JCA adapter specific and typically defines the function name. | |
| setOutputArgumentNames | back to summary |
|---|---|
| public void setOutputArgumentNames(Vector<String> outputArgumentNames) Set the output argument names. | |
| setOutputArguments | back to summary |
|---|---|
| public void setOutputArguments(Vector<DatabaseField> outputArguments) The output arguments. | |
| setOutputResultPath | back to summary |
|---|---|
| public void setOutputResultPath(String outputResultPath) PUBLIC: The output result path defines the root key for the MappedRecord that the desired interaction result is nested into. This is required for read interactions that need a nested record to build from the mapped object. | |
| setProperties | back to summary |
|---|---|
| public void setProperties(Map<String, Object> properties) Set the adapter specific properties. | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String name, Object value) PUBLIC: Set the adapter specific property. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| translate | back to summary |
|---|---|
| public void translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session) Overrides org. Arguments to the interaction can be passed two ways. The entire argument row can be converted to the input record, or the arguments from the row can be translated into the interaction parameters.
| |