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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddInternal(Message problem, TransportOrder transportOrder) voidupdate(TransportOrder saved, TransportOrder toUpdate) Validate and change the requested values of thesavedinstance.
-
Field Details
-
repository
-
-
Constructor Details
-
AddProblemFunction
AddProblemFunction(ProblemHistoryRepository repository)
-
-
Method Details
-
update
Validate and change the requested values of thesavedinstance.- Specified by:
updatein interfaceUpdateFunction- Parameters:
saved- The currently persisted TransportOrdertoUpdate- The TransportOrder holding the new values to save
-
addInternal
-