public class SampleFacadeREST extends AbstractFacade<Sample>
Constructor and Description |
---|
SampleFacadeREST() |
Modifier and Type | Method and Description |
---|---|
String |
countREST() |
void |
create(Sample entity) |
void |
edit(Sample entity) |
Sample |
find(Integer id) |
List<Sample> |
findAll() |
List<Sample> |
findRange(Integer from,
Integer to) |
protected javax.persistence.EntityManager |
getEntityManager() |
void |
remove(Integer id) |
count, find, findRange, remove
public void create(Sample entity)
create
in class AbstractFacade<Sample>
public void edit(Sample entity)
edit
in class AbstractFacade<Sample>
public void remove(Integer id)
public List<Sample> findAll()
findAll
in class AbstractFacade<Sample>
public String countREST()
protected javax.persistence.EntityManager getEntityManager()
getEntityManager
in class AbstractFacade<Sample>
Copyright © 2015 SeqWare. All rights reserved.