Class OrderPositionActionFactory

java.lang.Object
ch.tocco.nice2.netui.spi.actions.AbstractActionFactory
ch.tocco.nice2.optional.order.impl.action.OrderPositionActionFactory
All Implemented Interfaces:
ActionFactory

@Component public class OrderPositionActionFactory extends AbstractActionFactory
set action CreateOrderPositionAction as default create action
  • Constructor Details

    • OrderPositionActionFactory

      public OrderPositionActionFactory(ActionsBuilder actionBuilder, Context ctx)
  • Method Details

    • createActions

      @Nullable public @Nullable Collection<ActionModel> createActions(Situation situation)
      Description copied from interface: ActionFactory
      Create a new ActionGroupModel for the specified situation.
      Returns:
      null if this factory provides no actions for this situation.
    • isActionSupported

      protected boolean isActionSupported(Situation situation)
    • setActionId

      @Value("${nice2.optional.order.createOrderPositionActionService.actionId}") public void setActionId(String actionId)