|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.citerus.dddsample.application.impl.HandlingEventServiceImpl
public final class HandlingEventServiceImpl
Constructor Summary | |
---|---|
HandlingEventServiceImpl(HandlingEventRepository handlingEventRepository,
ApplicationEvents applicationEvents,
HandlingEventFactory handlingEventFactory)
|
Method Summary | |
---|---|
void |
registerHandlingEvent(java.util.Date completionTime,
TrackingId trackingId,
VoyageNumber voyageNumber,
UnLocode unLocode,
HandlingEvent.Type type)
Registers a handling event in the system, and notifies interested parties that a cargo has been handled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlingEventServiceImpl(HandlingEventRepository handlingEventRepository, ApplicationEvents applicationEvents, HandlingEventFactory handlingEventFactory)
Method Detail |
---|
@Transactional(rollbackFor=CannotCreateHandlingEventException.class) public void registerHandlingEvent(java.util.Date completionTime, TrackingId trackingId, VoyageNumber voyageNumber, UnLocode unLocode, HandlingEvent.Type type) throws CannotCreateHandlingEventException
HandlingEventService
registerHandlingEvent
in interface HandlingEventService
completionTime
- when the event was completedtrackingId
- cargo tracking idvoyageNumber
- voyage numberunLocode
- UN locode for the location where the event occurredtype
- type of event
CannotCreateHandlingEventException
- if a handling event that represents an actual event that's relevant to a cargo we're tracking
can't be created from the parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |