Class UpdateConsignmentsAction
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<CheckInProcessModel>
de.hybris.platform.travelfulfilmentprocess.actions.checkin.UpdateConsignmentsAction
- All Implemented Interfaces:
de.hybris.platform.processengine.spring.Action<CheckInProcessModel>
public class UpdateConsignmentsAction
extends de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<CheckInProcessModel>
Performs the update of the consignments status
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition -
Field Summary
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckIn(ConsignmentModel consignment) Check in boolean.de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.TransitionexecuteAction(CheckInProcessModel process) protected DefaultTravelConsignmentServiceGets travel consignment service.protected TravellerServiceGets traveller service.voidsetTravelConsignmentService(DefaultTravelConsignmentService travelConsignmentService) Sets travel consignment service.voidsetTravellerService(TravellerService travellerService) Sets traveller service.Methods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
execute, getTransitionsMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
UpdateConsignmentsAction
public UpdateConsignmentsAction()
-
-
Method Details
-
executeAction
public de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition executeAction(CheckInProcessModel process) throws de.hybris.platform.task.RetryLaterException, Exception - Specified by:
executeActionin classde.hybris.platform.processengine.action.AbstractSimpleDecisionAction<CheckInProcessModel>- Throws:
de.hybris.platform.task.RetryLaterExceptionException
-
checkIn
Check in boolean.- Parameters:
consignment- the consignment- Returns:
- the boolean
-
getTravellerService
Gets traveller service.- Returns:
- the travellerService
-
setTravellerService
Sets traveller service.- Parameters:
travellerService- the travellerService to set
-
getTravelConsignmentService
Gets travel consignment service.- Returns:
- the travelConsignmentService
-
setTravelConsignmentService
Sets travel consignment service.- Parameters:
travelConsignmentService- the travelConsignmentService to set
-