|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.restafarian.core.dao.hibernate.LookupTableDaoHibernate
public class LookupTableDaoHibernate
This is the LookupTable data access object.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
LookupTableDaoHibernate()
|
|
| Method Summary | |
|---|---|
void |
delete(java.lang.String id)
Deletes the LookupTable with the specified id. |
java.util.List |
findAll()
Returns all LookupTables in the database. |
java.util.List |
findByExample(LookupTable lookupTable)
Returns all LookupTables in the database that match the specified search criteria. |
LookupTable |
findById(java.lang.String id)
Returns the LookupTable with the specified id. |
java.util.List |
findByProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Returns all LookupTables in the database that match the specified search criteria. |
void |
save(LookupTable lookupTable)
Saves the LookupTable passed. |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookupTableDaoHibernate()
| Method Detail |
|---|
public java.util.List findAll()
Returns all LookupTables in the database.
findAll in interface LookupTableDaopublic java.util.List findByExample(LookupTable lookupTable)
Returns all LookupTables in the database that match the specified search criteria.
findByExample in interface LookupTableDaolookupTable - an example LookupTable
public java.util.List findByProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Returns all LookupTables in the database that match the specified search criteria.
findByProperty in interface LookupTableDaopropertyName - the name of the specified propertypropertyValue - the search value for the specified
property
public LookupTable findById(java.lang.String id)
Returns the LookupTable with the specified id.
findById in interface LookupTableDaoid - the id of the requested lookupTable
public void save(LookupTable lookupTable)
Saves the LookupTable passed.
save in interface LookupTableDaolookupTable - the lookupTable to savepublic void delete(java.lang.String id)
Deletes the LookupTable with the specified id.
delete in interface LookupTableDaoid - the id of the lookupTable to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||