|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModifiableDatabaseSchema
Interface representing database schema, which is set of related database objects such as tables, constraints and indexes. One database instance will usually consists of multiple schemas coresponding to components used in the application. Each component or subsystem will provide one or multiple database schemas, which will be responsible for creation of all database structures for this components, for the upgrade of existing database structures to the latest version and also will encapsulate all specific database dependent information (such as database dependent queries).
| Method Summary | |
|---|---|
int |
deleteRelatedData(java.sql.Connection cntDBConnection,
int iDataType,
int iId)
Method deletes related child data when main data object is being deleted. |
java.util.Map |
getModifiableTableNames()
Get the names of all tables that can be modified by the operations provided by this database schema (e.g. |
| Methods inherited from interface org.opensubsystems.core.persist.db.DatabaseSchema |
|---|
create, getDependentSchemas, getName, getVersion, handleSQLException, isInDomain, upgrade |
| Method Detail |
|---|
java.util.Map getModifiableTableNames()
int deleteRelatedData(java.sql.Connection cntDBConnection,
int iDataType,
int iId)
throws OSSException,
java.sql.SQLException
cntDBConnection - - valid connection to databaseiDataType - - data type identifying what to deleteiId - - ID of the record that has to be deleted
OSSException - - problem deleting related data
java.sql.SQLException - - problem deleting related data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||