|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.BTTProcessorNotifier
com.ibm.btt.base.Service
com.ibm.btt.services.jdbc.JDBCService
com.ibm.btt.services.jdbc.Store
public abstract class Store
The Store class is a subclass of the service that defines the abstract methods that are needed by any store service implementation. Since it is a service, it has an externalizer that allows you to define any store object attributes in an external XML file (these attributes values are then used when the store object is instantiated). It inherits all service attributes such as the name attribute that allows you to request a specific store service instance in the application hierarchy of contexts. A store object is then usually instantiated by providing the name of the service to be created to the ServiceExternalizer class. The ServiceExternalizer creates an instance of the class that is identified by the name (in this case, a store) and sets its attributes to the values read from the services XML file.
Field Summary | |
---|---|
static java.lang.String |
COMPID
Keeps the component identification that will be used by the traces tool. |
protected java.lang.String |
state
Keeps the status of the store service. |
protected java.lang.String |
tableName
Keeps the name of the store table. |
Fields inherited from class com.ibm.btt.services.jdbc.JDBCService |
---|
addPstmt, addString, autoCommit, connectionProperties, databaseConnection, databaseURL, dataSourceName, metaData, password, poolName, sharedConnection, STMT_POOL_SIZE_DEFAULT, stmtPool, stmtPoolSize, updateString, user, waitRetry |
Fields inherited from class com.ibm.btt.base.Service |
---|
externalizer, name |
Fields inherited from class com.ibm.btt.base.BTTProcessorNotifier |
---|
handlersList |
Constructor Summary | |
---|---|
Store()
|
Method Summary | |
---|---|
abstract int |
addRecord(Context aContext,
HashtableFormat aHashtableFormat)
Adds a record to the store table. |
abstract int |
addRecord(Context aContext,
java.lang.String aFormatName)
Adds a record to the store table. |
abstract int |
addRecord(Hashtable aDataHashtable)
Inserts the data from aHashtable as a new row into the current store table. |
void |
close()
Sets the state of the Store object to INACTIVE. |
abstract void |
commit()
Commits all changes to the database. |
abstract int |
deleteAllRetrievedForForwarding()
Deletes all records marked as retrievedForForwarding from the store table. |
abstract int |
deleteRecord(int aRecordId)
Deletes the aRecordId record from the store table. |
abstract int |
deleteRecords(java.lang.String aSelectionCriteria)
Deletes all the records within the store table that match the selection criteria. |
boolean |
getInUse()
Returns the value of inUse attribute. |
java.lang.String |
getTableName()
Returns the tableName attribute value. |
void |
initialize()
Performs any required actions after service instanciation and before starting using it. |
boolean |
isActive()
Returns true if the current state of the Store instance is ACTIVE. |
abstract void |
markRecordRetrievedForForwarding(int aRecordId)
Marks the aRecordId record with the retrievedForForwarding mark. |
void |
open()
Sets the state of the Store instance to ACTIVE. |
void |
reset()
Resets the store. |
abstract Hashtable |
retrieveFirstRecord()
Returns the first record in the database. |
abstract int |
retrieveFirstRecord(Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the first record in the store table and returns its recordId. |
abstract int |
retrieveFirstRecord(Context aContext,
java.lang.String aFormatName)
Retrieves the first record in the store table and returns its recordId. |
abstract Hashtable |
retrieveFirstRecordForForwarding()
Returns the first record in the database and identifies it as being retrieved for forwarding. |
abstract 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. |
abstract void |
retrieveFirstRecordForForwarding(Context aContext,
java.lang.String aFormatName)
Returns the first record in the database and updates the aContext by unformatting the retrieved record using the format identified by aFormatName. |
abstract Hashtable |
retrieveNextRecord()
Returns the next record from the current cursor in the store table. |
abstract int |
retrieveNextRecord(Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the next record from the current cursor in the store table and returns its recordId. |
abstract int |
retrieveNextRecord(Context aContextName,
java.lang.String aFormatName)
Retrieves the next record from the current cursor in the store table and returns its recordId. |
abstract Hashtable |
retrieveNextRecordForForwarding()
Returns the next record from the current cursor in the store table and identifies it as being retrieved for forwarding. |
abstract 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. |
abstract 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. |
abstract Hashtable |
retrieveRecord(int aRecordId)
Retrieves a record of the store table with an specific recordId. |
abstract void |
retrieveRecord(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves a record of the store table with an specific recordId. |
abstract void |
retrieveRecord(int aRecordId,
Context aContext,
java.lang.String aFormatName)
Retrieves a record of the store table with an specific recordId. |
abstract Hashtable |
retrieveRecord(java.lang.String aSelectionCriteria)
Retrieves the first record of the store table that matches the selection criteria. |
abstract int |
retrieveRecord(java.lang.String aSelectionCriteria,
Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the first record of the store table that matches the selection criteria and updates the aContext by unformatting the retrieved record using the aHashtableFormat. |
abstract int |
retrieveRecord(java.lang.String aSelectionCriteria,
Context aContext,
java.lang.String aFormatName)
Retrieves 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. |
abstract Vector |
retrieveRecordsForForwarding(java.lang.String aSearchCondition)
Retrieves all of the records from the store table that match the search condition. |
abstract void |
retrieveRecordsForForwarding(java.lang.String aSearchCondition,
Context aContext,
HashtableIndexedCollectionFormat anOutputFormat)
Retrieves all the records of the store table that match aSearchCondition. |
abstract void |
retrieveRecordsForForwarding(java.lang.String aSearchCondition,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves all the records of the store table that match aSearchCondition. |
abstract void |
rollback()
Rolls back all changes made to the database. |
void |
setInUse(boolean b)
Sets the value of the inUse attribute. |
void |
setTableName(java.lang.String aTableName)
Sets the tableName attribute value of the Store instance to aTableName. |
void |
terminate()
Performs any required actions before stopping the use of service instance. |
abstract int |
updateRecord(int aRecordId,
Context aContext,
HashtableFormat aHashtableFormat)
Updates the store table record that has an identifier that equals aRecordId with the data obtained by formatting the aContext with the aHashtableFormat. |
abstract int |
updateRecord(int aRecordId,
Context aContext,
java.lang.String aFormatName)
Updates the store table record that has an identifier that equals aRecordId with the data obtained by formatting the aContext with the formatter identified by aFormatName. |
abstract int |
updateRecord(int aRecordId,
Hashtable aDataHashtable)
Updates the store table record that has an identifier that equals aRecordId with the data in aDataHashtable. |
Methods inherited from class com.ibm.btt.base.Service |
---|
externalizer, getExternalizer, getTagName, initializeFrom, readExternal, readExternal, readObject, removeExternal, setExternalizer, toString, toStrings, toTags, writeExternal, writeExternal |
Methods inherited from class com.ibm.btt.base.BTTProcessorNotifier |
---|
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, signalEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.btt.services.jdbc.StoreService |
---|
getAutoCommit, getColumnsTable, getFullTableName, getLastRecordNumber, getSchemaName, loadDriver, loadDriver, retrieveLastRecordNumber, retrieveRecord, retrieveRecord, retrieveRecord, retrieveRecordForForwarding, retrieveRecordForForwarding, retrieveRecordForForwarding, retrieveRecordForForwarding, retrieveRecordForForwarding, retrieveRecordForForwarding, setAutoCommit, setSchemaName, updateRecord, updateRecord, updateRecord |
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 |
Methods inherited from interface com.ibm.btt.base.Externalizable |
---|
getName, setName |
Field Detail |
---|
public static final java.lang.String COMPID
protected java.lang.String tableName
protected java.lang.String state
Constructor Detail |
---|
public Store()
Method Detail |
---|
public abstract int addRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEInvalidClassException
addRecord
in interface StoreService
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 processpublic abstract int addRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEInvalidClassException, java.io.IOException
addRecord
in interface StoreService
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 definitionpublic abstract int addRecord(Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
addRecord
in interface StoreService
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 SQL Exception is caughtpublic void close() throws DSESQLException
close
in interface StoreService
DSESQLException
- if the close failspublic abstract void commit() throws DSESQLException
commit
in interface StoreService
DSESQLException
- if commit failspublic abstract int deleteAllRetrievedForForwarding() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
deleteAllRetrievedForForwarding
in interface StoreService
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtpublic abstract int deleteRecord(int aRecordId) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
deleteRecord
in interface StoreService
aRecordId
- int
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtpublic abstract int deleteRecords(java.lang.String aSelectionCriteria) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
deleteRecords
in interface StoreService
aSelectionCriteria
- java.lang.String
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSESQLException
- if an SQLException is caughtpublic boolean getInUse()
getInUse
in interface Poolable
public java.lang.String getTableName()
getTableName
in interface StoreService
public void initialize() throws DSEException
initialize
in interface Poolable
com.ibm.dse.base.DSEException
DSEException
public boolean isActive()
isActive
in interface StoreService
public abstract void markRecordRetrievedForForwarding(int aRecordId) throws DSEInternalErrorException, DSESQLException
aRecordId
- int
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtpublic void open() throws DSEInvalidRequestException
open
in interface StoreService
DSEInvalidRequestException
public void reset() throws DSEException
reset
in interface Poolable
DSEException
public abstract Hashtable retrieveFirstRecord() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveFirstRecord
in interface StoreService
DSEInvalidArgumentException
- if an argument is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtpublic abstract int retrieveFirstRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveFirstRecord
in interface StoreService
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 caughtpublic abstract int retrieveFirstRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, java.io.IOException
retrieveFirstRecord
in interface StoreService
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 definitionpublic abstract Hashtable retrieveFirstRecordForForwarding() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveFirstRecordForForwarding
in interface StoreService
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtpublic abstract void retrieveFirstRecordForForwarding(Context aContext, HashtableFormat aHashtableFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
retrieveFirstRecordForForwarding
in interface StoreService
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 caughtpublic abstract void retrieveFirstRecordForForwarding(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
retrieveFirstRecordForForwarding
in interface StoreService
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 definitionpublic abstract Hashtable retrieveNextRecord() throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
retrieveNextRecord
in interface StoreService
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 caughtpublic abstract int retrieveNextRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveNextRecord
in interface StoreService
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 caughtpublic abstract int retrieveNextRecord(Context aContextName, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
retrieveNextRecord
in interface StoreService
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 definitionpublic abstract Hashtable retrieveNextRecordForForwarding() throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
retrieveNextRecordForForwarding
in interface StoreService
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 caughtpublic abstract void retrieveNextRecordForForwarding(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveNextRecordForForwarding
in interface StoreService
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 caughtpublic abstract void retrieveNextRecordForForwarding(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
retrieveNextRecordForForwarding
in interface StoreService
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 definitionpublic abstract Hashtable retrieveRecord(int aRecordId) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveRecord
in interface StoreService
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 caughtpublic abstract void retrieveRecord(int aRecordId, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveRecord
in interface StoreService
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 caughtpublic abstract void retrieveRecord(int aRecordId, Context aContext, java.lang.String aFormatName) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, java.io.IOException
retrieveRecord
in interface StoreService
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 definitionpublic abstract Hashtable retrieveRecord(java.lang.String aSelectionCriteria) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveRecord
in interface StoreService
aSelectionCriteria
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtpublic abstract int retrieveRecord(java.lang.String aSelectionCriteria, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
retrieveRecord
in interface StoreService
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 caughtpublic abstract int retrieveRecord(java.lang.String aSelectionCriteria, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, java.io.IOException
retrieveRecord
in interface StoreService
aSearchCriteria
- 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 definitionpublic abstract Vector retrieveRecordsForForwarding(java.lang.String aSearchCondition) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
retrieveRecordsForForwarding
in interface StoreService
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 caughtpublic abstract void retrieveRecordsForForwarding(java.lang.String aSearchCondition, Context aContext, HashtableIndexedCollectionFormat anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException, java.io.IOException
retrieveRecordsForForwarding
in interface StoreService
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- com.ibm.dse.base.Context - the context to where 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
public abstract void retrieveRecordsForForwarding(java.lang.String aSearchCondition, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException, java.io.IOException
retrieveRecordsForForwarding
in interface StoreService
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- com.ibm.dse.base.Context - the context to where 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
public abstract void rollback() throws DSESQLException
rollback
in interface StoreService
DSESQLException
- if an SQL Exception is caughtpublic void setInUse(boolean b)
setInUse
in interface Poolable
b
- The new value of the attribute inUsepublic void setTableName(java.lang.String aTableName)
setTableName
in interface StoreService
aTableName
- java.lang.String the namepublic void terminate() throws DSEException
terminate
in interface ProcessorNotifier
terminate
in interface Poolable
terminate
in class Service
com.ibm.dse.base.DSEException
DSEException
public abstract int updateRecord(int aRecordId, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEInvalidClassException
updateRecord
in interface StoreService
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 processpublic abstract int updateRecord(int aRecordId, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEInvalidClassException, java.io.IOException
updateRecord
in interface StoreService
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 definitionpublic abstract int updateRecord(int aRecordId, Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
updateRecord
in interface StoreService
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 caught
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |