com.dakuupa.struts.crud
Class AbstractManager<T>
java.lang.Object
com.dakuupa.struts.crud.AbstractManager<T>
public abstract class AbstractManager<T>
- extends Object
- Author:
- etwilliams
same as the the AbstractFacade from Netbeans autogeneration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractManager
public AbstractManager(Class<T> entityClass)
getEntityManager
protected abstract javax.persistence.EntityManager getEntityManager()
create
public void create(T entity)
edit
public void edit(T entity)
remove
public void remove(T entity)
find
public T find(Object id)
findAll
public List<T> findAll()
findRange
public List<T> findRange(int[] range)
count
public int count()
Copyright © 2012. All Rights Reserved.