@Typed(value={SchedulerDAO.class,JPASchedulerDAOImpl.class}) public class JPASchedulerDAOImpl extends JPADAOBase<Task> implements SchedulerDAO
em
Constructor and Description |
---|
JPASchedulerDAOImpl() |
Modifier and Type | Method and Description |
---|---|
Task |
findByName(String name) |
Task |
get(int id) |
List<Task> |
getTasks(int offset,
int limit) |
void |
setEntityManager(EntityManager em) |
String |
toString() |
create, delete, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, delete, update
@Inject public void setEntityManager(EntityManager em)
public Task get(int id)
get
in interface SchedulerDAO
public Task findByName(String name)
findByName
in interface SchedulerDAO
public List<Task> getTasks(int offset, int limit)
getTasks
in interface SchedulerDAO
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.