org.kuali.student.core.dao.impl
Class AbstractCrudDaoImpl
java.lang.Object
org.kuali.student.core.dao.impl.AbstractCrudDaoImpl
- All Implemented Interfaces:
- CrudDao
- Direct Known Subclasses:
- AbstractSearchableCrudDaoImpl
public abstract class AbstractCrudDaoImpl
- extends Object
- implements CrudDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected EntityManager em
AbstractCrudDaoImpl
public AbstractCrudDaoImpl()
getEm
public EntityManager getEm()
setEm
public void setEm(EntityManager em)
fetch
public <T> T fetch(Class<T> clazz,
String key)
throws DoesNotExistException
- Specified by:
fetch
in interface CrudDao
- Throws:
DoesNotExistException
find
public <T> List<T> find(Class<T> clazz)
- Specified by:
find
in interface CrudDao
create
public <T> T create(T entity)
- Specified by:
create
in interface CrudDao
delete
public <T> void delete(Class<T> clazz,
String key)
throws DoesNotExistException
- Specified by:
delete
in interface CrudDao
- Throws:
DoesNotExistException
delete
public void delete(Object entity)
- Specified by:
delete
in interface CrudDao
update
public <T> T update(T entity)
- Specified by:
update
in interface CrudDao
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.