Package org.openwms.tms.impl
Class AddProblemFunction
java.lang.Object
org.openwms.tms.impl.AddProblemFunction
- All Implemented Interfaces:
UpdateFunction
A AddProblemImpl.
- Author:
- Heiko Scherrer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addInternal
(Message problem, TransportOrder transportOrder) void
update
(TransportOrder saved, TransportOrder toUpdate) Validate and change the requested values of thesaved
instance.
-
Field Details
-
repository
-
-
Constructor Details
-
AddProblemFunction
AddProblemFunction(ProblemHistoryRepository repository)
-
-
Method Details
-
update
Validate and change the requested values of thesaved
instance.- Specified by:
update
in interfaceUpdateFunction
- Parameters:
saved
- The currently persisted TransportOrdertoUpdate
- The TransportOrder holding the new values to save
-
addInternal
-