|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreService
The StoreService interface provides the public methods that are used for store services. Each class that includes the JournalService interface must implement all of these methods.
Method Summary | |
---|---|
int |
addRecord(Context aContext,
HashtableFormat aHashtableFormat)
Adds a record into the store database table using the data available in the aContext. |
int |
addRecord(Context aContext,
java.lang.String aFormatName)
Adds a record into the store table. |
int |
addRecord(Hashtable aDataHashtable)
Adds a record into the store table with the data in aDataHashtable. |
void |
close()
Closes the store service, which means that no more database operations can be performed using it. |
void |
commit()
Commits all changes to the database. |
int |
deleteAllRetrievedForForwarding()
Deletes all of the records in the store table that are marked as retrievedForForwarding. |
int |
deleteRecord(int aRecordId)
Deletes the record in the store table that is identified by aRecordId. |
int |
deleteRecords(java.lang.String aSearchCondition)
Deletes the records in the store table that matches the search criteria. |
boolean |
getAutoCommit()
Returns the autoCommit attribute value. |
Hashtable |
getColumnsTable()
Returns the columnsTable attribute value. |
java.lang.String |
getFullTableName()
Gets the full table name (schemaName + tableName). |
int |
getLastRecordNumber()
Returns the last record number that has been retrieved from the database. |
java.lang.String |
getSchemaName()
Returns the schema attribute value. |
java.lang.String |
getTableName()
Returns the store table name. |
boolean |
isActive()
Returns true if the store is ready to run any database operation. |
void |
loadDriver()
Loads the default database JDBC Driver set by the user in the StoreConstants class. |
void |
loadDriver(java.lang.String aDriverName)
Loads the database JDBC Driver provided as an argument. |
void |
open()
Sets the store instance so it is ready to receive any database operation request. |
Hashtable |
retrieveFirstRecord()
Return the first record of the store table. |
int |
retrieveFirstRecord(Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the first record in the store table and returns its recordId. |
int |
retrieveFirstRecord(Context aContext,
java.lang.String aForamtName)
Retrieves the first record in the store table and returns its recordId. |
Hashtable |
retrieveFirstRecordForForwarding()
Returns the first record in the store table and identifies it as being retrieved by the forwarder application. |
void |
retrieveFirstRecordForForwarding(Context aContext,
HashtableFormat aHashtableFormat)
Returns the first record in the database and updates the aContext by unformatting the retrieved record using the aHashtableFormat. |
void |
retrieveFirstRecordForForwarding(Context aContext,
java.lang.String aFoematName)
Returns the first record in the database and updates the aContext by unformatting the retrieved record using the format identified by aFormatName. |
int |
retrieveLastRecordNumber()
Returns the last record number in the store table. |
Hashtable |
retrieveNextRecord()
Returns the next record from the current store table cursor. |
int |
retrieveNextRecord(Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the next record from the current cursor in the store table and returns its recordId. |
int |
retrieveNextRecord(Context aContext,
java.lang.String aFormatName)
Retrieves the next record from the current cursor in the store table and returns its recordId. |
Hashtable |
retrieveNextRecordForForwarding()
Returns the next record from the current store table cursor and identifies it as being retrieved by the forwarder application. |
void |
retrieveNextRecordForForwarding(Context aContext,
HashtableFormat aHashtableFormat)
Returns the next record from the current cursor in the store table and updates the aContext by unformatting the retrieved record using the aHashtableFormat. |
void |
retrieveNextRecordForForwarding(Context aContext,
java.lang.String aFormatName)
Returns the next record from the current cursor in the store table and updates the aContext by unformatting the retrieved record using the format identified by aFormatName. |
Hashtable |
retrieveRecord(int aRecordId)
Retrieves a record of the store table with an specific recordId. |
void |
retrieveRecord(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves a record of the store table with a specific recordId. |
void |
retrieveRecord(int aRecordId,
Context aContext,
java.lang.String aFormatName)
Retrieves a record of the store table with a specific recordId. |
Hashtable |
retrieveRecord(java.lang.String aSearchCondition)
Retrieves the first record from the store table that matches the selection criteria. |
int |
retrieveRecord(java.lang.String aSelectionCriteria,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the first record of the store table that matches the selection criteria and returns its recordId. |
int |
retrieveRecord(java.lang.String aSelectionCriteria,
Context aContext,
HashtableFormat aHashtableFormat,
Vector aColumnsVector)
Retrieves the columns in aColumnsVector of the first record of the store table that matches the selection criteria. |
int |
retrieveRecord(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName)
Retrieves the first record of the store table that matches the selection criteria. |
int |
retrieveRecord(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Retrieves the columns in aColumnsVector of the first record of the store table that matches the selection criteria and updates the aContext by unformatting the retrieved record using the format identified by aFormatName. |
Hashtable |
retrieveRecord(java.lang.String aSearchCondition,
Vector aColumnsVector)
Retrieves the columns in aColumnsVector of the first record from the store table that matches the selection criteria. |
Hashtable |
retrieveRecordForForwarding(int aRecordId)
Retrieves a record of the store table with an specific recordId and marks it as retrievedForForwarding. |
void |
retrieveRecordForForwarding(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves a record of the store table with an specific recordId and marks it as retrievedForForwarding. |
void |
retrieveRecordForForwarding(int aRecordId,
Context aContext,
java.lang.String aFormatName)
Retrieves a record of the store table with an specific recordId and marks it as retrievedForForwarding. |
Hashtable |
retrieveRecordForForwarding(java.lang.String aSelectionCriteria)
Retrieves the first record of the store table that matches the selection criteria and marks it as retrievedForForwarding. |
int |
retrieveRecordForForwarding(java.lang.String aSelectionCriteria,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the first record of the store table that matches the selection criteria and marks it as retrievedForForwarding. |
int |
retrieveRecordForForwarding(java.lang.String aSelectionCriteria,
Context aContext,
java.lang.String aFormatName)
Retrieves the first record of the store table that matches the selection criteria and marks it as retrievedForForwarding. |
Vector |
retrieveRecordsForForwarding(java.lang.String aSearchCondition)
Retrieves all of the records from the store table that match the search condition. |
void |
retrieveRecordsForForwarding(java.lang.String aSearchCondition,
Context aContext,
HashtableIndexedCollectionFormat anOutputFormat)
Retrieves all the records of the store table that match aSearchCondition. |
void |
retrieveRecordsForForwarding(java.lang.String aSearchCondition,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves all the records of the store table that match aSearchCondition. |
void |
rollback()
Rolls back all database changes. |
void |
setAutoCommit(boolean aBoolean)
Sets the autoCommit attribute value to aBoolean. |
void |
setSchemaName(java.lang.String s)
Sets the schema attribute to the string provided as an argument. |
void |
setTableName(java.lang.String aTableName)
Sets the name of the store table. |
int |
updateRecord(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat)
Updates the record of the store table, which is identified by aRecordId, with the data obtained by the formatting the aContext data with the aHashtableFormat. |
int |
updateRecord(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the store table record that has the aRecordId identifier with the data obtained by formatting the aContext with the aHashtableFormat. |
int |
updateRecord(int aRecordId,
Context aContext,
java.lang.String aFormatName)
Updates the record from the store table, which is identified by aRecordId, with the data obtained by formatting the aContext data with the formatter identified by aFormatName. |
int |
updateRecord(int aRecordId,
Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the store table record that has the aRecordId identifier with the data obtained by formatting the aContext with the formatter identified by aFormatName. |
int |
updateRecord(int aRecordId,
Hashtable aDataHashtable)
Updates the record from the store table, which is identified by aRecordId, with the data contained in aDataHashtable. |
int |
updateRecord(int aRecordId,
Hashtable aDataHashtable,
Vector aColumnsVector)
Updates the columns in aColumnVector for the store table record that has the aRecordId identifier with the data in aDataHashtable. |
Methods inherited from interface com.ibm.btt.services.jdbc.DatabaseConnect |
---|
connect, connect, connect, connect, connect, connect, disconnect, getDatabaseURL, getDataSourceName, getPoolName, getSharedConnection, isConnected, isWaitRetry, setDatabaseURL, setDataSourceName, setPoolName, setSharedConnection, setWaitRetry |
Method Detail |
---|
int addRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEInvalidClassException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting processint addRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEInvalidClassException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint addRecord(Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
aDataHashtable
- Hashtable
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid close() throws DSESQLException
DSESQLException
- if close failsvoid commit() throws DSESQLException
DSESQLException
- if commit failsint deleteAllRetrievedForForwarding() throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtint deleteRecord(int aRecordId) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
aRecordId
- int
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtint deleteRecords(java.lang.String aSearchCondition) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
aSearchCondition
- java.lang.String, the search criteria in SQL format
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtboolean getAutoCommit()
Hashtable getColumnsTable()
java.lang.String getFullTableName()
int getLastRecordNumber()
aRecordNumber
- intjava.lang.String getSchemaName()
java.lang.String getTableName()
boolean isActive()
void loadDriver() throws DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occursvoid loadDriver(java.lang.String aDriverName) throws DSEInternalErrorException
aDriverName
- java.lang.String, the driver name (full path)
DSEInternalErrorException
- if an internal program error occursvoid open() throws DSEInternalErrorException, DSEInvalidRequestException
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidRequestException
Hashtable retrieveFirstRecord() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
DSEInvalidArgumentException
- if an argument is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveFirstRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveFirstRecord(Context aContext, java.lang.String aForamtName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if an SQL Exception is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveFirstRecordForForwarding() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveFirstRecordForForwarding(Context aContext, HashtableFormat aHashtableFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveFirstRecordForForwarding(Context aContext, java.lang.String aFoematName) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if an SQL Exception is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint retrieveLastRecordNumber() throws DSESQLException, DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtHashtable retrieveNextRecord() throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveNextRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveNextRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveNextRecordForForwarding() throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- is an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- is an SQLException is caughtvoid retrieveNextRecordForForwarding(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveNextRecordForForwarding(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- is an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- is an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveRecord(int aRecordId) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordId
- int the record Identifier
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveRecord(int aRecordId, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveRecord(int aRecordId, Context aContext, java.lang.String aFormatName) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, java.io.IOException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveRecord(java.lang.String aSearchCondition) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.String the search condition
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtint retrieveRecord(java.lang.String aSelectionCriteria, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveRecord(java.lang.String aSelectionCriteria, Context aContext, HashtableFormat aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormataColumnsVector
- com.ibm.dse.base.Vector, the vector that contains the columns to be retrieved
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint retrieveRecord(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
aSearchCondition
- java.lang.StringaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint retrieveRecord(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
aSearchCondition
- java.lang.StringaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.StringaColumnsVector
- com.ibm.dse.base.Vector, the vector that contains the columns to be retrieved
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveRecord(java.lang.String aSearchCondition, Vector aColumnsVector) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.String the search conditionaColumnsVector
- com.ibm.dse.base.Vector - the vector that contains the columns to be retrieved
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtHashtable retrieveRecordForForwarding(int aRecordId) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordId
- int the record Identifier
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveRecordForForwarding(int aRecordId, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveRecordForForwarding(int aRecordId, Context aContext, java.lang.String aFormatName) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, java.io.IOException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionHashtable retrieveRecordForForwarding(java.lang.String aSelectionCriteria) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSelectionCriteria
- java.lang.String - the selection criteria in SQL format
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtint retrieveRecordForForwarding(java.lang.String aSelectionCriteria, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
aContext
- com.ibm.dse.base.ContextaSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint retrieveRecordForForwarding(java.lang.String aSelectionCriteria, Context aContext, java.lang.String aFormatName) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, java.io.IOException
aSelectionCriteria
- java.lang.StringaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSESQLException
- if an SQLException is caught
java.io.IOException
- if there is an error instanciating the formatter from its external definitionVector retrieveRecordsForForwarding(java.lang.String aSearchCondition) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.String
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtvoid retrieveRecordsForForwarding(java.lang.String aSearchCondition, Context aContext, HashtableIndexedCollectionFormat anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- com.ibm.dse.base.Context - the context into which the retrieved records will be unformattedanOutputFormat
- com.ibm.dse.base.HashtableIndexedCollectionFormat - the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSESObjectNotFoundException
- if an object is not found
java.io.IOException
- if there is an error instanciating the formatter from its external definition
DSEObjectNotFoundException
void retrieveRecordsForForwarding(java.lang.String aSearchCondition, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- com.ibm.dse.base.Context - the context into which the retrieved records will be unformattedanOutputFormatName
- java.lang.String - the name of the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSESObjectNotFoundException
- if an object is not found
java.io.IOException
- if there is an error instanciating the formatter from its external definition
DSEObjectNotFoundException
void rollback() throws DSESQLException
DSESQLException
- when the rollback failsvoid setAutoCommit(boolean aBoolean)
aBoolean
- booleanvoid setSchemaName(java.lang.String s)
s
- java.lang.Stringvoid setTableName(java.lang.String aTableName)
aTableName
- java.lang.Stringint updateRecord(int aRecordId, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEInvalidClassException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting processint updateRecord(int aRecordId, Context aContext, HashtableFormat aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidClassException, DSESQLException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormataColumnsVector
- com.ibm.dse.base.Vector the columns to be changed
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting processint updateRecord(int aRecordId, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEInvalidClassException, java.io.IOException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint updateRecord(int aRecordId, Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEInvalidClassException, java.io.IOException
aRecordId
- intaContext
- com.ibm.dse.base.ContextaFormatName
- String, the name of the formatter to be usedaColumnsVector
- com.ibm.dse.base.Vector, the columns to be updated
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definitionint updateRecord(int aRecordId, Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordId
- intaDataHashtable
- com.ibm.dse.base.Hashtable
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint updateRecord(int aRecordId, Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordId
- intaDataHashtable
- com.ibm.dse.base.Hashtable - the hashtable that contains the new dataaColumnsVector
- com.ibm.dse.base.Vector - the columns to be updated
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |