java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<ReturnProcessModel>
de.hybris.platform.yacceleratorordermanagement.actions.returns.InitialReturnAction
All Implemented Interfaces:
Action<ReturnProcessModel>

public class InitialReturnAction extends AbstractAction<ReturnProcessModel>
Check whether the return request is an instore or an online request and redirects it to the appropriate step.
  • Constructor Details

    • InitialReturnAction

      public InitialReturnAction()
  • Method Details

    • execute

      public String execute(ReturnProcessModel returnProcess) throws RetryLaterException, Exception
      Description copied from interface: Action
      Executes this Action's business logic working on the given BusinessProcessModel.
      Parameters:
      returnProcess - The process context to work on.
      Returns:
      the return code as stated in the process definition. This code is used by the process engine to determine the next actions.
      Throws:
      Exception
      RetryLaterException
    • getTransitions

      public Set<String> getTransitions()
      Description copied from interface: Action
      Accesses all possible return codes of this Action. This method is used by the process engine to validate a process definition. Furthermore it can be used by (graphical) editors to access all return codes which have to mapped in transitions.
      Returns:
      all possible return codes of this Action
    • getRestockWarehouseSelectionStrategy

      protected RestockWarehouseSelectionStrategy getRestockWarehouseSelectionStrategy()
    • setRestockWarehouseSelectionStrategy

      public void setRestockWarehouseSelectionStrategy(RestockWarehouseSelectionStrategy restockWarehouseSelectionStrategy)
    • getRestockConfigService

      protected RestockConfigService getRestockConfigService()
    • setRestockConfigService

      public void setRestockConfigService(RestockConfigService restockConfigService)