|
||||||||||
| 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.company.thesandbox.data.spring.dao.ArtistDaoImplBase
public class ArtistDaoImplBase
Artist Data Access Object (DOA) Implementation. Responsible for Creating, Reading, Updating and Deleting Artist objects in the database. All database access is done here.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
ArtistDaoImplBase()
|
|
| Method Summary | |
|---|---|
Artist |
add(Artist object)
Adds a new Artist to the database |
void |
delete(Artist object)
Deletes a Artist from the database. |
java.util.List<Artist> |
listAllArtists()
Selects all Artists from the database. |
Artist |
retrieve(long id)
Retrieves a Artist by its ID from the database. |
Artist |
update(Artist object)
Stores/Updates the Artist in the database. |
| 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 ArtistDaoImplBase()
| Method Detail |
|---|
public Artist retrieve(long id)
ArtistDaoBase
retrieve in interface ArtistDaoBaseid - id of the Artist to retrieve.
public Artist add(Artist object)
ArtistDaoBase
add in interface ArtistDaoBaseobject - the Artist to add to the database.
public Artist update(Artist object)
ArtistDaoBase
update in interface ArtistDaoBaseobject - the Artist to store/update
public void delete(Artist object)
ArtistDaoBase
delete in interface ArtistDaoBaseobject - the Artist to deletepublic java.util.List<Artist> listAllArtists()
ArtistDaoBase
listAllArtists in interface ArtistDaoBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||