|
||||||||||
| 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.LookupTableEntryDaoHibernate
public class LookupTableEntryDaoHibernate
This is the LookupTableEntry data access object.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
LookupTableEntryDaoHibernate()
|
|
| Method Summary | |
|---|---|
void |
delete(int id)
Deletes the LookupTableEntry with the specified id. |
java.util.List |
findAll()
Returns all LookupTableEntries in the database. |
java.util.List |
findByExample(LookupTableEntry lookupTableEntry)
Returns all LookupTableEntries in the database that match the specified search criteria. |
LookupTableEntry |
findById(int id)
Returns the LookupTableEntry with the specified id. |
java.util.List |
findByProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Returns all LookupTableEntries in the database that match the specified search criteria. |
LookupTableEntry |
findByTableIdEntryId(java.lang.String tableId,
java.lang.String entryId)
Returns the LookupTableEntry with the specified table id and entry id. |
void |
save(LookupTableEntry lookupTableEntry)
Saves the LookupTableEntry 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 LookupTableEntryDaoHibernate()
| Method Detail |
|---|
public java.util.List findAll()
Returns all LookupTableEntries in the database.
findAll in interface LookupTableEntryDaopublic java.util.List findByExample(LookupTableEntry lookupTableEntry)
Returns all LookupTableEntries in the database that match the specified search criteria.
findByExample in interface LookupTableEntryDaolookupTableEntry - an example LookupTableEntry
public java.util.List findByProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Returns all LookupTableEntries in the database that match the specified search criteria.
findByProperty in interface LookupTableEntryDaopropertyName - the name of the specified propertypropertyValue - the search value for the specified
property
public LookupTableEntry findById(int id)
Returns the LookupTableEntry with the specified id.
findById in interface LookupTableEntryDaoid - the id of the requested lookupTableEntry
public LookupTableEntry findByTableIdEntryId(java.lang.String tableId,
java.lang.String entryId)
Returns the LookupTableEntry with the specified table id and entry id.
findByTableIdEntryId in interface LookupTableEntryDaoid - the id of the requested look-up tableid - the id of the requested entry
public void save(LookupTableEntry lookupTableEntry)
Saves the LookupTableEntry passed.
save in interface LookupTableEntryDaolookupTableEntry - the lookupTableEntry to savepublic void delete(int id)
Deletes the LookupTableEntry with the specified id.
delete in interface LookupTableEntryDaoid - the id of the lookupTableEntry to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||