Class CreateTmaPoAction

java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
com.hybris.cockpitng.actions.create.CreateAction
de.hybris.platform.b2ctelcobackoffice.actions.create.CreateTmaPoAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Object,Object>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

public class CreateTmaPoAction extends com.hybris.cockpitng.actions.create.CreateAction implements com.hybris.cockpitng.actions.CockpitAction<Object,Object>
Cockpit action for triggering the create TmaProductOfferingModel wizard starting from a preselected TmaProductSpecificationModel.
Since:
6.7
  • Field Summary

    Fields inherited from class com.hybris.cockpitng.actions.create.CreateAction

    PARAM_ACTION_CONTEXT, SETTING_CONTEXT_COMPONENT_NAME, SETTING_INITIALIZE_ENTITY, SOCKET_INPUT_CREATED_OBJECT, SOCKET_OUTPUT_CREATE_CONTEXT, SOCKET_OUTPUT_CREATED_OBJECT, VALUE_SETTING_TARGET_COMPONENT_CONFIGURABLE_FLOW, VALUE_SETTING_TARGET_COMPONENT_EDITOR_AREA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canPerform(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
     
    protected String
    findTypeCode(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
     
    protected void
    sendConfiguredOutput(com.hybris.cockpitng.actions.ActionContext<Object> ctx, String typeCode)
    Sends the context with some predefined values to the configurable flow widget through the action's output socket.

    Methods inherited from class com.hybris.cockpitng.actions.create.CreateAction

    canCreateInstance, getConfirmationMessage, getFieldSearchFacade, getNotificationService, getNotificationSource, getObjectFacade, getPermissionFacade, getTypeFacade, initializeDefaultEventListeners, isAllowed, needsConfirmation, perform, setFieldSearchFacade, setNotificationService, setObjectFacade, setPermissionFacade, setTypeFacade, shouldInitializeEntity

    Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware

    addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction

    getConfirmationMessage, needsConfirmation, perform
  • Constructor Details

    • CreateTmaPoAction

      public CreateTmaPoAction()
  • Method Details

    • canPerform

      public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Specified by:
      canPerform in interface com.hybris.cockpitng.actions.CockpitAction<Object,Object>
      Overrides:
      canPerform in class com.hybris.cockpitng.actions.create.CreateAction
    • sendConfiguredOutput

      protected void sendConfiguredOutput(com.hybris.cockpitng.actions.ActionContext<Object> ctx, String typeCode) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
      Sends the context with some predefined values to the configurable flow widget through the action's output socket.
      Overrides:
      sendConfiguredOutput in class com.hybris.cockpitng.actions.create.CreateAction
      Parameters:
      ctx - the action's context
      typeCode - the item type code for which the configurable flow will be triggered
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException - exception thrown in case of issues when sending the context
    • findTypeCode

      protected String findTypeCode(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Overrides:
      findTypeCode in class com.hybris.cockpitng.actions.create.CreateAction