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, processParameterHelper

    Fields inherited from interface de.hybris.platform.processengine.spring.Action

    ERROR_RETURN_CODE, RETRY_RETURN_CODE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    Check in boolean.
    de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition
     
    Gets travel consignment service.
    Gets traveller service.
    void
    Sets travel consignment service.
    void
    Sets traveller service.

    Methods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction

    execute, getTransitions

    Methods inherited from class de.hybris.platform.processengine.action.AbstractAction

    createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      executeAction in class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<CheckInProcessModel>
      Throws:
      de.hybris.platform.task.RetryLaterException
      Exception
    • checkIn

      protected boolean checkIn(ConsignmentModel consignment)
      Check in boolean.
      Parameters:
      consignment - the consignment
      Returns:
      the boolean
    • getTravellerService

      protected TravellerService getTravellerService()
      Gets traveller service.
      Returns:
      the travellerService
    • setTravellerService

      public void setTravellerService(TravellerService travellerService)
      Sets traveller service.
      Parameters:
      travellerService - the travellerService to set
    • getTravelConsignmentService

      protected DefaultTravelConsignmentService getTravelConsignmentService()
      Gets travel consignment service.
      Returns:
      the travelConsignmentService
    • setTravelConsignmentService

      public void setTravelConsignmentService(DefaultTravelConsignmentService travelConsignmentService)
      Sets travel consignment service.
      Parameters:
      travelConsignmentService - the travelConsignmentService to set