|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mystique.infrastructure.persistence.JpaRepository<Ticket,java.lang.Long>
net.sourceforge.mystique.infrastructure.persistence.TicketJpaRepository
@Repository public class TicketJpaRepository
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.mystique.infrastructure.persistence.JpaRepository |
|---|
entityManager |
| Fields inherited from interface net.sourceforge.mystique.domain.repository.Repository |
|---|
LARGE_RESULT, MEDIUM_RESULT, SMALL_RESULT |
| Constructor Summary | |
|---|---|
TicketJpaRepository()
|
|
| Method Summary | |
|---|---|
java.util.List<Ticket> |
findAll(int offset,
int limit)
|
Ticket |
findById(java.lang.Long id)
|
void |
store(Ticket ticket)
|
| Methods inherited from class net.sourceforge.mystique.infrastructure.persistence.JpaRepository |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.mystique.domain.repository.SimpleRepository |
|---|
remove |
| Constructor Detail |
|---|
public TicketJpaRepository()
| Method Detail |
|---|
@Transactional(readOnly=true)
public Ticket findById(java.lang.Long id)
throws RepositoryException
findById in interface SimpleRepository<Ticket,java.lang.Long>RepositoryException
@Transactional(readOnly=true)
public java.util.List<Ticket> findAll(int offset,
int limit)
throws RepositoryException
findAll in interface Repository<Ticket,java.lang.Long>RepositoryException
@Transactional
public void store(Ticket ticket)
throws RepositoryException
store in interface SimpleRepository<Ticket,java.lang.Long>RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||