|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.persist.db.DatabaseFactoryImpl
org.opensubsystems.blog.persist.db.BlogDatabaseFactory
public class BlogDatabaseFactory
Data factory to retrieve and manipulate blogs in the persistence store.
| Field Summary | |
|---|---|
protected BlogDatabaseSchema |
m_schema
Schema to use to execute database dependent operations. |
| Fields inherited from class org.opensubsystems.core.persist.db.DatabaseFactoryImpl |
|---|
m_connectionFactory, m_iConcurrencySelectListResultSet, m_iDataType, m_iTypeSelectListResultSet, m_transactionFactory |
| Constructor Summary | |
|---|---|
BlogDatabaseFactory()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
create(java.util.Collection colDataObject)
|
org.opensubsystems.core.data.DataObject |
create(org.opensubsystems.core.data.DataObject data)
|
void |
delete(int iId,
int iDomainId)
|
org.opensubsystems.core.data.DataObject |
get(int iId,
int iDomainId)
|
Blog |
get(java.lang.String strFolder)
Get blog data knowing just the folder where it's entries are displayed. |
java.util.List |
getAll()
Return collection of all Blogs in the persistance store. |
org.opensubsystems.core.data.DataObject |
load(java.sql.ResultSet rsQueryResults,
int initialIndex)
|
org.opensubsystems.core.data.ModifiableDataObject |
save(org.opensubsystems.core.data.ModifiableDataObject data)
|
int |
setValuesForInsert(java.sql.PreparedStatement insertStatement,
org.opensubsystems.core.data.DataObject data,
int iIndex)
|
int |
setValuesForUpdate(java.sql.PreparedStatement updateStatement,
org.opensubsystems.core.data.DataObject data,
int iIndex)
|
| 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.core.persist.DataFactory |
|---|
getDataType |
| Field Detail |
|---|
protected BlogDatabaseSchema m_schema
| Constructor Detail |
|---|
public BlogDatabaseFactory()
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSException - - an error has occured| Method Detail |
|---|
public org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults,
int initialIndex)
throws org.opensubsystems.core.error.OSSDatabaseAccessException
load in interface org.opensubsystems.core.persist.db.DatabaseFactoryorg.opensubsystems.core.error.OSSDatabaseAccessException
public int setValuesForInsert(java.sql.PreparedStatement insertStatement,
org.opensubsystems.core.data.DataObject data,
int iIndex)
throws org.opensubsystems.core.error.OSSException,
java.sql.SQLException
setValuesForInsert in interface org.opensubsystems.core.persist.db.BasicDatabaseFactoryorg.opensubsystems.core.error.OSSException
java.sql.SQLException
public int setValuesForUpdate(java.sql.PreparedStatement updateStatement,
org.opensubsystems.core.data.DataObject data,
int iIndex)
throws org.opensubsystems.core.error.OSSException,
java.sql.SQLException
setValuesForUpdate in interface org.opensubsystems.core.persist.db.ModifiableDatabaseFactoryorg.opensubsystems.core.error.OSSException
java.sql.SQLException
public org.opensubsystems.core.data.DataObject get(int iId,
int iDomainId)
throws org.opensubsystems.core.error.OSSException
get in interface org.opensubsystems.core.persist.DataFactoryorg.opensubsystems.core.error.OSSException
public org.opensubsystems.core.data.DataObject create(org.opensubsystems.core.data.DataObject data)
throws org.opensubsystems.core.error.OSSException
create in interface org.opensubsystems.core.persist.BasicDataFactoryorg.opensubsystems.core.error.OSSException
public int create(java.util.Collection colDataObject)
throws org.opensubsystems.core.error.OSSException
create in interface org.opensubsystems.core.persist.BasicDataFactoryorg.opensubsystems.core.error.OSSException
public void delete(int iId,
int iDomainId)
throws org.opensubsystems.core.error.OSSException
delete in interface org.opensubsystems.core.persist.BasicDataFactoryorg.opensubsystems.core.error.OSSException
public org.opensubsystems.core.data.ModifiableDataObject save(org.opensubsystems.core.data.ModifiableDataObject data)
throws org.opensubsystems.core.error.OSSException
save in interface org.opensubsystems.core.persist.ModifiableDataFactoryorg.opensubsystems.core.error.OSSException
public Blog get(java.lang.String strFolder)
throws org.opensubsystems.core.error.OSSException
get in interface BlogFactorystrFolder - - folder where entries for given folder are displayed
org.opensubsystems.core.error.OSSException - - an error has occured
public java.util.List getAll()
throws org.opensubsystems.core.error.OSSException
getAll in interface BlogFactoryorg.opensubsystems.core.error.OSSException - - an error has occureds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||