|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.persist.db.DatabaseSchemaImpl
org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseSchemaImpl
org.opensubsystems.inventory.persist.db.ItemUnitIdentificationViewDatabaseSchema
public class ItemUnitIdentificationViewDatabaseSchema
Database specific operations related to retrieval of combined items, units and identifications.
| Field Summary | |
|---|---|
static java.lang.String |
ITEM_UNIT_IDENTIFICATION_VIEW_SCHEMA_NAME
Name identifies this schema in the database. |
static int |
ITEM_UNIT_IDENTIFICATIONVIEW_SCHEMA_VERSION
Version of this schema in the database. |
static int[] |
ITEMUNITIDENT_MANDATORY_RETRIEVE_COLUMNS
Columns which always have to be retrieved from the database |
static int[] |
ITEMUNITIDENT_SORT_COLUMNS
Static variable for array of all columns codes that can be used for sorting. |
| Fields inherited from class org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseSchemaImpl |
|---|
m_mapFilterableColumns, m_mapListableTableNames, m_mapMandatoryRetrieveColumns, m_mapSortableColumns |
| Fields inherited from class org.opensubsystems.core.persist.db.DatabaseSchemaImpl |
|---|
DATABASE_SCHEMA_PREFIX, DATABASE_SCHEMA_PREFIX_DEFAULT, m_arrDependentSchemas, m_bIsInDomain, m_iSchemaVersion, m_strSchemaName, NL |
| Fields inherited from interface org.opensubsystems.core.persist.db.DatabaseOperations |
|---|
DBOP_DELETE, DBOP_INSERT, DBOP_SELECT, DBOP_UPDATE |
| Constructor Summary | |
|---|---|
ItemUnitIdentificationViewDatabaseSchema()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
create(java.sql.Connection cntDBConnection,
java.lang.String strUserName)
Create the schema. |
static java.lang.String |
getColumn(int iColumnId)
Get name for specified column code or null if the column is not recognized. |
java.lang.StringBuffer |
getColumns(boolean specific,
int[] columns,
java.lang.Object[] prefixes,
java.lang.Object[] postfixes,
java.lang.StringBuffer buffer)
|
java.lang.String |
getSelectItemUnitIdentificationViewById(int[] columns)
Get query to retrieve item unit identification view by id |
| Methods inherited from class org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseSchemaImpl |
|---|
getFilterbleColumns, getMandatoryRetrieveColumns, getSelectList, getSortableColumns |
| Methods inherited from class org.opensubsystems.core.persist.db.DatabaseSchemaImpl |
|---|
getDependentSchemas, getJoinFromWhere, getName, getOwnerColumnNames, getSchemaPrefix, getVersion, handleSQLException, isExistingIndex, isInDomain, upgrade, upgradeView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensubsystems.patterns.listdata.persist.db.ListDatabaseSchema |
|---|
getJoinFromWhere, isExistingIndex |
| Methods inherited from interface org.opensubsystems.core.persist.db.DatabaseSchema |
|---|
getDependentSchemas, getName, getVersion, handleSQLException, isInDomain, upgrade |
| Field Detail |
|---|
public static final java.lang.String ITEM_UNIT_IDENTIFICATION_VIEW_SCHEMA_NAME
public static final int ITEM_UNIT_IDENTIFICATIONVIEW_SCHEMA_VERSION
public static final int[] ITEMUNITIDENT_MANDATORY_RETRIEVE_COLUMNS
public static final int[] ITEMUNITIDENT_SORT_COLUMNS
| Constructor Detail |
|---|
public ItemUnitIdentificationViewDatabaseSchema()
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSException - - error occured.| Method Detail |
|---|
public java.lang.String getSelectItemUnitIdentificationViewById(int[] columns)
throws org.opensubsystems.core.error.OSSException
columns - - columns to retrieve
org.opensubsystems.core.error.OSSException - - an error has occured
public java.lang.StringBuffer getColumns(boolean specific,
int[] columns,
java.lang.Object[] prefixes,
java.lang.Object[] postfixes,
java.lang.StringBuffer buffer)
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSExceptionpublic static java.lang.String getColumn(int iColumnId)
iColumnId - - column code to get the name for
public void create(java.sql.Connection cntDBConnection,
java.lang.String strUserName)
throws java.sql.SQLException
cntDBConnection - - valid connection to databasestrUserName - - name of user who will be accessing this table
java.sql.SQLException - - an error while creating schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||