net.craftforge.essential.example.resources
Class PersistentResource<T>
java.lang.Object
net.craftforge.essential.example.resources.PersistentResource<T>
- Direct Known Subclasses:
- CustomerResource, OrderingResource, OrderLineResource, ProductResource, ShipmentResource, SupplierResource
public class PersistentResource<T>
- extends Object
A persistent resource has access to an entity manager and other
convenient data access objects.
- Since:
- 30.08.11
- Author:
- Christian Bick
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentResource
public PersistentResource()
getCrudDao
protected CrudDao<T> getCrudDao()
createEntityManager
protected javax.persistence.EntityManager createEntityManager()
Copyright © 2011. All Rights Reserved.