com.ibm.dse.applsrv.aa
Class SecurityJDBC
java.lang.Object
|
+--com.ibm.dse.base.DSENotifier
|
+--com.ibm.dse.base.Service
|
+--com.ibm.dse.services.jdbc.JDBCService
|
+--com.ibm.dse.services.jdbc.JDBCTable
|
+--com.ibm.dse.applsrv.aa.SecurityJDBC
- public class SecurityJDBC
- extends JDBCTable
This class enhances the JDBCTable class.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.dse.services.jdbc.JDBCService |
autoCommit,
connectionProperties,
databaseConnection,
databaseURL,
dataSourceName,
metaData,
password,
poolName,
sharedConnection,
user,
waitRetry |
Constructor Summary |
SecurityJDBC()
SecurityJDBC constructor. |
SecurityJDBC(java.lang.String aName)
SecurityJDBC constructor. |
SecurityJDBC(java.lang.String name,
boolean ac)
SecurityJDBC constructor. |
Method Summary |
void |
deleteAllRecords(java.lang.String table)
Deletes all the records in the specified table. |
Vector |
retrieveAllRecords(java.lang.String preparedString)
Retrieves all the records in the specified table. |
Methods inherited from class com.ibm.dse.services.jdbc.JDBCTable |
addRecord,
addRecord,
addRecord,
buildConnectionProperties,
commit,
deleteRecordsMatching,
executeProcedure,
executeProcedure,
executeProcedure,
executeProcedure,
executeProcedure,
executeProcedure,
executeProcedure,
executeProcedure,
executeSQLQuery,
executeSQLUpdate,
getAutoConnect,
getCatalogName,
getColumnsTable,
getFullProcedureName,
getFullTableName,
getJDBCDriver,
getMetaData,
getSchemaName,
getTableName,
initializeColumnFrom,
initializeFrom,
isConnected,
isPrimaryKeys,
loadDriver,
loadDriver,
retrieveRecordsMatching,
retrieveRecordsMatching,
retrieveRecordsMatching,
retrieveRecordsMatching,
retrieveRecordsMatching,
retrieveRecordsMatching,
rollback,
rowToRecord,
setAutoConnect,
setCatalogName,
setColumnsTable,
setJDBCDriver,
setPrimaryKeys,
setSchemaName,
setTableName,
setWaitRetry,
toStrings,
updateRecordsMatching,
updateRecordsMatching,
updateRecordsMatching,
updateRecordsMatching,
updateRecordsMatching,
updateRecordsMatching |
Methods inherited from class com.ibm.dse.services.jdbc.JDBCService |
connect,
connect,
connect,
connect,
connect,
connect,
disconnect,
getAutoCommit,
getConnectionManager,
getConnectionProperties,
getDatabaseConnection,
getDatabaseURL,
getDataSourceName,
getPassword,
getPoolName,
getSharedConnection,
getUser,
isWaitRetry,
requestConnectionToConnectionManager,
requestConnectionToConnectionManager,
setAutoCommit,
setConnectionManager,
setConnectionProperties,
setDatabaseConnection,
setDatabaseURL,
setDataSourceName,
setPassword,
setPoolName,
setSharedConnection,
setUser,
verifyConnection |
Methods inherited from class com.ibm.dse.base.Service |
externalizer,
getExternalizer,
getTagName,
readExternal,
readExternal,
readObject,
removeExternal,
setExternalizer,
terminate,
toString,
toTags,
writeExternal,
writeExternal |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SecurityJDBC
public SecurityJDBC()
- SecurityJDBC constructor.
SecurityJDBC
public SecurityJDBC(java.lang.String aName)
throws java.io.IOException
- SecurityJDBC constructor.
- Parameters:
aName
- String- Throws:
- java.io.IOException - - the exception.
SecurityJDBC
public SecurityJDBC(java.lang.String name,
boolean ac)
- SecurityJDBC constructor.
- Parameters:
name
- String - the name of the database table.ac
- boolean - true to enable autocommit else false.
deleteAllRecords
public void deleteAllRecords(java.lang.String table)
throws DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEInternalErrorException,
DSESQLException,
DSEObjectNotFoundException,
DSEException
- Deletes all the records in the specified table.
- Parameters:
table
- String - the name of the table.- Throws:
- 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 caught.
- DSEObjectNotFoundException - - if the JDBCServicesConnectionManager cannot be found.
- DSEException - - if an exception is thrown when calling the pool of connections manager.
retrieveAllRecords
public Vector retrieveAllRecords(java.lang.String preparedString)
throws DSEInternalErrorException,
DSEInvalidRequestException,
DSEException,
DSEInvalidArgumentException,
DSESQLException
- Retrieves all the records in the specified table.
- Returns:
- Vector - the list of found records.
- Throws:
- DSEInternalErrorException - - if an internal program error occurs.
- DSEInvalidArgumentException - - if the argument(s) is(are) not valid.
- DSEInvalidRequestException - - if the request is not valid.
- DSESQLException - - if an SQL Exception is caught.