|
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 JournalService
The JournalService interface provides the public abstract methods that are used when working with any journal service. 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 electronic journal database table using the data available in aContext. |
int |
addRecord(Context aContext,
java.lang.String aFormatName)
Adds a record into the electronic journal. |
int |
addRecord(Hashtable aDataHashtable)
Adds a record into the journal table with the data in aDataHashtable. |
void |
close()
Closes the journal, which means that no database operation can be done with this journal instance. |
void |
commit()
Commits all changes to the database. |
boolean |
getAutoCommit()
Returns the autoCommit attribute value. |
Hashtable |
getColumnsTable()
Returns the columnsTable attribute value of the current journal. |
Vector |
getEntities()
Retrieves all entities from the Database. |
java.lang.String |
getJDBCDriver()
Returns the value of the attribute that keeps the name of the JDBC Driver being used by the service. |
int |
getLastRecordNumberFromTable()
Returns the lastRecordNumber from control table. |
int |
getNumberOfGenerations()
Returns the number of journal generations for the current schema. |
java.lang.String |
getSchemaName()
Returns the schemaName attribute value. |
java.lang.String |
getTableName()
Returns the current journal tableName attribute value. |
boolean |
isActive()
Answers whether the journal instance is ready to request database operations or not. |
boolean |
isCreateSchema()
Answers whether a schema has been created for the journal schema in the database. |
void |
loadDriver()
Loads a user-defined default JDBC Driver. |
void |
loadDriver(java.lang.String aDriverName)
Loads the JDBC Driver specified in the method argument. |
void |
open()
Decides which table is going to be the current journal table and prepares the journal instance to start working with it. |
void |
open(java.lang.String anEntity,
int aGeneration)
Opens the journal service with an entity and a generation number. |
void |
open(java.lang.String aSchemaName,
java.lang.String anEntity,
int aGeneration)
Opens the journal service with an specific shema, an entity, and a generation number. |
void |
openForEntity(java.lang.String anEntity)
Decides which table is going to be the current journal table for anEntity. |
void |
openForEntity(java.lang.String anEntity,
java.lang.String aSchemaName)
Decides which table is going to be the current journal table for entity anEntity. |
void |
openForSchema(java.lang.String aSchemaName)
Decides which table is going to be the current journal table in the schema aSchemaName and prepares the journal instance to start working with it. |
int |
queryLastRecordNumber()
Gets the last record number from the journal table. |
void |
resetSingleTableLastRecordNumber()
Resets the Journal last record number when different instances are accessing the same tables |
Hashtable |
retrieveLastRecord()
Retrieves the last record from the journal table. |
void |
retrieveLastRecord(Context aContext,
HashtableFormat aHashtableFormat)
Retrieves the last record from the current journal table and updates the aContext with the retrieved values. |
void |
retrieveLastRecord(Context aContext,
java.lang.String aFormatName)
Retrieves the last record from the journal table and updates the aContext with the retrieved values. |
Vector |
retrieveLastRecords(int aNumber)
Returns the last aNumber records from the journal table. |
void |
retrieveLastRecords(int aNumber,
Context aContext,
HashtableIndexedCollectionFormat anOutputFormat)
Retrieves the last aNumber records from the journal table and unformats them into the aContext using the formatter anOutputFormat. |
void |
retrieveLastRecords(int aNumber,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves the last aNumber records from the journal table and unformats them into the context aContext using the formatter named anOutputFormatName. |
Hashtable |
retrieveRecord(int aRecordNumber)
Retrieves the record from the journal table that is identified by aRecordNumber. |
void |
retrieveRecord(int aRecordNumber,
Context aContext,
HashtableFormat aHashtableFormat)
Updates the aContext with the data in the aRecordNumber record in the current journal table. |
void |
retrieveRecord(int aRecordNumber,
Context aContext,
java.lang.String aFormatName)
Updates the aContext with the data in the aRecordNumber record in the current journal table. |
Vector |
retrieveRecords(java.lang.String aSearchCondition)
Retrieves all of the records from the journal table that match the search condition. |
void |
retrieveRecords(java.lang.String aSearchCondition,
Context aContext,
HashtableIndexedCollectionFormat anOutputFormat)
Retrieves all the records within the current journal that match aSearchCondition. |
void |
retrieveRecords(java.lang.String aSearchCondition,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves all the records within the current journal that match aSearchCondition. |
Vector |
retrieveRecords(java.lang.String aSearchCondition,
Vector aColumnsVector)
Retrieves the columns in aColumnsVector of all the records within the journal table that match the search condition. |
void |
retrieveRecords(java.lang.String aSearchCondition,
Vector aColumnsVector,
Context aContext,
HashtableIndexedCollectionFormat anOutputFormat)
Retrieves the columns in aColumnsVector of all the records within the current journal that match aSearchCondition. |
void |
retrieveRecords(java.lang.String aSearchCondition,
Vector aColumnsVector,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves the columns in aColumnsVector of all the records within the current journal that match aSearchCondition. |
void |
rollback()
Rolls back all database changes. |
void |
setAutoCommit(boolean aBoolean)
Sets the autoCommit attribute value to aBoolean. |
void |
setCreateSchema(boolean newCreateSchema)
Sets the createSchema attribute that keeps information about the existence of a schema in the journal table database. |
void |
setEntity(java.lang.String anEntityName)
Sets the entityName attribute value. |
void |
setJDBCDriver(java.lang.String newJDBCDriver)
Sets the value of the attribute that keeps the name of the service's JDBC Driver. |
void |
setLastRecordNumberFromTable(int aLastRecordNumberFromTable)
Sets the lastRecordNumberFromTable into control table. |
void |
setSchemaName(java.lang.String aSchemaName)
Sets the schemaName attribute to aSchemaName. |
int |
updateLastRecord(Context aContext,
HashtableFormat aHashtableFormat)
Updates the last record of the current journal table with the data in aContext. |
int |
updateLastRecord(Context aContext,
HashtableFormat aHashtableFormat,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector for the last record of the current journal table. |
int |
updateLastRecord(Context aContext,
java.lang.String aFormatName)
Updates the last record of the journal table with the data obtained by formatting the aContext with the aFormatName formatter. |
int |
updateLastRecord(Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the last record of the current journal table. |
int |
updateLastRecord(Hashtable aDataHashtable)
Updates the last record of the journal table with the data in aDataHashtable. |
int |
updateLastRecord(Hashtable aDataHashtable,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the last record of the current journal table with the data in aDataHashtable. |
int |
updateRecord(int aRecordNumber,
Context aContext,
HashtableFormat aHashtableFormat)
Updates the record with the record identification in the database aRecordNumber. |
int |
updateRecord(int aRecordNumber,
Context aContext,
HashtableFormat aHashtableFormat,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the record identified by aRecordNumber within the journal table. |
int |
updateRecord(int aRecordNumber,
Context aContext,
java.lang.String aFormatName)
Updates the record identified by aRecordNumber within the journal table with the data obtained by formatting the aContext with the aFormatName formatter. |
int |
updateRecord(int aRecordNumber,
Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Updates the columns in aColumnsVector for the record identified by aRecordNumber within the journal table. |
int |
updateRecord(int aRecordNumber,
Hashtable aDataHashtable)
Updates the record identified by aRecordNumber within the journal table with the data contained in aDataHashtable. |
int |
updateRecord(int aRecordNumber,
Hashtable aDataHashtable,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector with the data provided in aDataHashtable for the aRecordNumber record within the journal table. |
int |
updateRecords(java.lang.String aSearchCondition,
Context aContext,
HashtableFormat aHashtableFormat)
Updates all of the current journal table records that match the search condition with the data obtained by formatting aContext using the aHashtableFormat. |
int |
updateRecords(java.lang.String aSearchCondition,
Context aContext,
HashtableFormat aHashtableFormat,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector with the data obtained by formatting aContext with aHashtableFormat for all the current journal table records that match the search condition. |
int |
updateRecords(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName)
Updates all of the journal table records that match the search condition with the data obtained by formatting the aContext with the formatter identified by aFormatName. |
int |
updateRecords(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector with the data obtained by formatting aContext with the aFormatName formatter for all the current journal table records that match the search condition. |
int |
updateRecords(java.lang.String aSearchCondition,
Hashtable aDataHashtable)
Updates all of the journal table records that match the search condition with the data contained in aDataHashtable. |
int |
updateRecords(java.lang.String aSearchCondition,
Hashtable aDataHashtable,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector with the data provided in aDataHashtable for the records matching the search condition within the journal table. |
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
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat - the journal format to be
used to build the record
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 addRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String
DSEInvalidArgumentException
- if the arguments are not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caughtint addRecord(Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
aDataHashtable
- com.ibm.dse.base.Hashtable
DSEInvalidArgumentException
- if the arguments are not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid close() throws DSESQLException
DSESQLException
- if close failedvoid commit() throws DSESQLException
DSESQLException
- if commit failedboolean getAutoCommit()
Hashtable getColumnsTable()
Vector getEntities() throws DSESQLException, DSEInternalErrorException
DSESQLException
- if an SQL Exception is caught
DSEInternalErrorException
- if an internal program error occursjava.lang.String getJDBCDriver()
int getNumberOfGenerations() throws DSESQLException, DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtjava.lang.String getSchemaName()
java.lang.String getTableName()
boolean isActive()
boolean isCreateSchema()
void loadDriver() throws DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occursvoid loadDriver(java.lang.String aDriverName) throws DSEInternalErrorException
aDriverName
- java.lang.String, the JDBC driver name (full path)
DSEInternalErrorException
- if an internal program error occursvoid open() throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
DSEInvalidRequestException
- if the entity name is not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if a SQL Exception occursvoid open(java.lang.String anEntity, int aGeneration) throws DSEInvalidRequestException, DSEInternalErrorException, DSESQLException
anEntity
- java.lang.StringaGeneration
- int
DSEInvalidRequestException
- if journal service state is active
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid open(java.lang.String aSchemaName, java.lang.String anEntity, int aGeneration) throws DSEInvalidRequestException, DSEInternalErrorException, DSESQLException
aSchemaName
- java.lang.StringanEntity
- java.lang.StringaGeneration
- int
DSEInvalidRequestException
- if journal service state is active
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid openForEntity(java.lang.String anEntity) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
anEntity
- java.lang.String - the name of the entity
DSEInvalidRequestException
- if the entity name is not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if a SQL Exception occursvoid openForEntity(java.lang.String anEntity, java.lang.String aSchemaName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
anEntity
- java.lang.String - the name of the entityaSchemaName
- java.lang.String - the name of the schema
DSEInvalidRequestException
- if the entity name is not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if a SQL Exception occursvoid openForSchema(java.lang.String aSchemaName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
aSchemaName
- java.lang.String - the name of the journal schema
DSEInvalidRequestException
- if the entity name is not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidArgumentException
- if an argument is not valid
DSESQLException
- if a SQL Exception occursint queryLastRecordNumber() throws DSESQLException, DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtHashtable retrieveLastRecord() throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid resetSingleTableLastRecordNumber() throws DSESQLException, DSEInternalErrorException
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid retrieveLastRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat - the format to be used to
update the context
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 caughtvoid retrieveLastRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String - the name of the format to be used to update
the context
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 caughtVector retrieveLastRecords(int aNumber) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException
aNumber
- int - the number of records to be retrieved
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 SQL Exception is caughtvoid retrieveLastRecords(int aNumber, Context aContext, HashtableIndexedCollectionFormat anOutputFormat) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, DSEObjectNotFoundException
aNumber
- int - the number of records to retrieveaContext
- 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 SQL Exception is caught
DSESObjectNotFoundException
- if an object is not found
DSEObjectNotFoundException
void retrieveLastRecords(int aNumber, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidArgumentException, DSEInvalidRequestException, DSESQLException, DSEObjectNotFoundException
aNumber
- int - the number of records to retrieveaContext
- 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 SQL Exception is caught
DSESObjectNotFoundException
- if an object is not found
DSEObjectNotFoundException
Hashtable retrieveRecord(int aRecordNumber) throws DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- int
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caughtvoid retrieveRecord(int aRecordNumber, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- intaContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat - the format to be used to
update the context
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 caughtvoid retrieveRecord(int aRecordNumber, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- intaContext
- com.ibm.dse.base.ContextaFormatName
- java.lang.String - the name of the format to be used to update
the context
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 caughtVector retrieveRecords(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 SQL Exception is caughtvoid retrieveRecords(java.lang.String aSearchCondition, Context aContext, HashtableIndexedCollectionFormat anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException
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 SQL Exception is caught
DSESObjectNotFoundException
- if an object is not found
DSEObjectNotFoundException
void retrieveRecords(java.lang.String aSearchCondition, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException
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 SQL Exception is caught
DSESObjectNotFoundException
- if an object is not found
DSEObjectNotFoundException
Vector retrieveRecords(java.lang.String aSearchCondition, Vector aColumnsVector) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- com.ibm.dse.base.Vector - the vector that contains the columns
to be retrieved
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 SQL Exception is caughtvoid retrieveRecords(java.lang.String aSearchCondition, Vector aColumnsVector, Context aContext, HashtableIndexedCollectionFormat anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- com.ibm.dse.base.Vector - the vector that contains the columns
to be retrievedaContext
- 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 SQL Exception is caught
DSEObjectNotFoundException
- if an object is not foundvoid retrieveRecords(java.lang.String aSearchCondition, Vector aColumnsVector, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEObjectNotFoundException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- com.ibm.dse.base.Vector - the vector that contains the columns
to be retrievedaContext
- 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 SQL Exception is caught
DSEObjectNotFoundException
- if an object is not foundvoid rollback() throws DSESQLException
DSESQLException
- Thrown when the rollback failsvoid setAutoCommit(boolean aBoolean)
boolean
- aBooleanvoid setCreateSchema(boolean newCreateSchema)
newCreateSchema
- booleanvoid setEntity(java.lang.String anEntityName)
anEntityName
- java.lang.Stringvoid setJDBCDriver(java.lang.String newJDBCDriver)
newJDBCDriver
- java.lang.Stringvoid setSchemaName(java.lang.String aSchemaName)
aSchemaName
- java.lang.Stringint updateLastRecord(Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.ContextaHashtableFormat
- com.ibm.dse.base.HashtableFormat - the format to be used to
update the context
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 SQL Exception is caughtint updateLastRecord(Context aContext, HashtableFormat aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- 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 SQL Exception is caughtint updateLastRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- 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 SQL Exception is caughtint updateLastRecord(Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aContext
- com.ibm.dse.base.Context - the context with the dataaFormatName
- java.lang.String - the journal format name to be usedaColumnsVector
- 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 SQL Exception is caughtint updateLastRecord(Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aDataHashtable
- 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 SQL Exception is caughtint updateLastRecord(Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aDataHashtable
- Hashtable - the Hashtable that contains the dataaColumnsVector
- 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 SQL Exception is caughtint updateRecord(int aRecordNumber, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- 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 SQL Exception is caughtint updateRecord(int aRecordNumber, Context aContext, HashtableFormat aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- int - the number of the record to be updatedaContext
- 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 SQL Exception is caughtint updateRecord(int aRecordNumber, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- 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 SQL Exception is caughtint updateRecord(int aRecordNumber, Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- int - the number of the record to be updatedaContext
- com.ibm.dse.base.Context - the context with the dataaFormatName
- java.lang.String - the journal format name to be usedaColumnsVector
- 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 SQL Exception is caughtint updateRecord(int aRecordNumber, Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aRecordNumber
- intaDataHashtable
- com.ibm.dse.base.Hashtable
DSEInvalidArgumentException
- is an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- is an SQL Exception is caughtint updateRecord(int aRecordNumber, Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException
aRecordNumber
- int - the number of the record to be updatedaDataHashtable
- com.ibm.dse.base.Hashtable - the Hashtable that contains the
new dataaColumnsVector
- com.ibm.dse.base.Vector - the columns to be changed
com.ibm.dse.base.DSEInvalidArgumentException
- if the argument(s) is(are) not valid.
com.ibm.dse.base.DSEInternalErrorException
- if an internal program error occurs.
com.ibm.dse.base.DSEInvalidRequestException
- if the request is not valid.
DSESQLException
- if an SQL Exception is caught.
DSEInvalidArgumentException
DSEInternalErrorException
DSEInvalidRequestException
int updateRecords(java.lang.String aSearchCondition, Context aContext, HashtableFormat aHashtableFormat) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException
aSearchCondition
- 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 SQL Exception is caughtint updateRecords(java.lang.String aSearchCondition, Context aContext, HashtableFormat aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.StringaContext
- 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 SQL Exception is caughtint updateRecords(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.StringaContext
- 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 SQL Exception is caughtint updateRecords(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.String - the search conditionaContext
- com.ibm.dse.base.Context - the context with the dataaFormatName
- java.lang.String - the journal format name that defines the
formatter to be usedaColumnsVector
- 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 SQL Exception is caughtint updateRecords(java.lang.String aSearchCondition, Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.StringaDataHashtable
- 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 SQL Exception is caughtint updateRecords(java.lang.String aSearchCondition, Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException
aSearchCondition
- java.lang.String - the search conditionaDataHashtable
- com.ibm.dse.base.Hashtable - the Hashtable that contains the
new dataaColumnsVector
- com.ibm.dse.base.Vector - the columns to be changed
com.ibm.dse.base.DSEInvalidArgumentException
- if the argument(s) is(are) not valid.
com.ibm.dse.base.DSEInternalErrorException
- if an internal program error occurs.
com.ibm.dse.base.DSEInvalidRequestException
- if the request is not valid.
DSESQLException
- if an SQL Exception is caught.
DSEInvalidArgumentException
DSEInternalErrorException
DSEInvalidRequestException
int getLastRecordNumberFromTable() throws DSEInvalidRequestException
DSEInvalidRequestException
void setLastRecordNumberFromTable(int aLastRecordNumberFromTable) throws DSEInvalidRequestException
lastRecordNumberFromTable
- The lastRecordNumberFromTable to set
DSEInvalidRequestException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |