org.skyscreamer.yoga.demo.dao
Class GenericDaoBean
java.lang.Object
org.skyscreamer.yoga.demo.dao.GenericDaoBean
- All Implemented Interfaces:
- GenericDao
@Repository
@Transactional
public class GenericDaoBean
- extends Object
- implements GenericDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericDaoBean
public GenericDaoBean()
find
public <T> T find(Class<T> type,
long id)
- Specified by:
find in interface GenericDao
findAll
public <T> List<T> findAll(Class<T> type)
- Specified by:
findAll in interface GenericDao
getCount
public Number getCount(Class<?> type)
- Specified by:
getCount in interface GenericDao
Copyright © 2013. All Rights Reserved.