org.opensubsystems.inventory.persist.db
Class ItemUnitViewDatabaseFactory
java.lang.Object
org.opensubsystems.core.persist.db.DatabaseFactoryImpl
org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseFactoryImpl
org.opensubsystems.inventory.persist.db.ItemUnitViewDatabaseFactory
- All Implemented Interfaces:
- org.opensubsystems.core.persist.DataFactory, org.opensubsystems.core.persist.db.DatabaseFactory, ItemUnitViewFactory, org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactory, org.opensubsystems.patterns.listdata.persist.ListFactory
public class ItemUnitViewDatabaseFactory
- extends org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseFactoryImpl
- implements ItemUnitViewFactory
Data factory to retrieve item unit views from the persistence store.
- Version:
- $Id: ItemUnitViewDatabaseFactory.java,v 1.10 2007/01/28 06:54:43 bastafidli Exp $
- Author:
- Julo Legeny
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.6 2006/08/08 16:49:01 jlegeny
| Fields inherited from class org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseFactoryImpl |
m_arrOrderColumnCodes, m_arrOrderDirections, m_arrShowColumnCodes, m_listSchema |
| Fields inherited from class org.opensubsystems.core.persist.db.DatabaseFactoryImpl |
m_connectionFactory, m_iConcurrencySelectListResultSet, m_iDataType, m_iTypeSelectListResultSet, m_transactionFactory |
|
Method Summary |
org.opensubsystems.core.data.DataObject |
get(int iId,
int iDomainId)
|
org.opensubsystems.core.data.DataObject |
load(java.sql.ResultSet rsQueryResults,
int initialIndex)
|
org.opensubsystems.core.data.DataObject |
load(java.sql.ResultSet rsQueryResults,
int[] selectedColumns,
int initialIndex)
|
| Methods inherited from class org.opensubsystems.patterns.listdata.persist.db.impl.ListDatabaseFactoryImpl |
get, getDefaultListDefinition, getListDatabaseSchema |
| Methods inherited from class org.opensubsystems.core.persist.db.DatabaseFactoryImpl |
getConcurrencySelectListResultSet, getDataType, getTypeSelectListResultSet |
| 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.ListFactory |
get, getDefaultListDefinition |
m_schema
protected ItemUnitViewDatabaseSchema m_schema
- Schema to use to execute database dependent operations.
ItemUnitViewDatabaseFactory
public ItemUnitViewDatabaseFactory()
throws org.opensubsystems.core.error.OSSException
- Default constructor.
- Throws:
org.opensubsystems.core.error.OSSException - - an error has occured
load
public org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults,
int[] selectedColumns,
int initialIndex)
throws org.opensubsystems.core.error.OSSDatabaseAccessException
-
- Specified by:
load in interface org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactory
- Throws:
org.opensubsystems.core.error.OSSDatabaseAccessException
get
public org.opensubsystems.core.data.DataObject get(int iId,
int iDomainId)
throws org.opensubsystems.core.error.OSSException
-
- Specified by:
get in interface org.opensubsystems.core.persist.DataFactory
- Throws:
org.opensubsystems.core.error.OSSException
load
public org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults,
int initialIndex)
throws org.opensubsystems.core.error.OSSDatabaseAccessException
-
- Specified by:
load in interface org.opensubsystems.core.persist.db.DatabaseFactory
- Throws:
org.opensubsystems.core.error.OSSDatabaseAccessException
Copyright © 2003 - 2006 OpenSubsystems s.r.o.