|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.citerus.dddsample.infrastructure.persistence.hibernate.HibernateRepository se.citerus.dddsample.infrastructure.persistence.hibernate.HandlingEventRepositoryHibernate
@Repository public class HandlingEventRepositoryHibernate
Hibernate implementation of HandlingEventRepository.
Constructor Summary | |
---|---|
HandlingEventRepositoryHibernate()
|
Method Summary | |
---|---|
HandlingHistory |
lookupHandlingHistoryOfCargo(TrackingId trackingId)
|
void |
store(HandlingEvent event)
Stores a (new) handling event. |
Methods inherited from class se.citerus.dddsample.infrastructure.persistence.hibernate.HibernateRepository |
---|
getSession, setSessionFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlingEventRepositoryHibernate()
Method Detail |
---|
public void store(HandlingEvent event)
HandlingEventRepository
store
in interface HandlingEventRepository
event
- handling event to savepublic HandlingHistory lookupHandlingHistoryOfCargo(TrackingId trackingId)
lookupHandlingHistoryOfCargo
in interface HandlingEventRepository
trackingId
- cargo tracking id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |