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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPerform(com.hybris.cockpitng.actions.ActionContext<Object> ctx) protected StringfindTypeCode(com.hybris.cockpitng.actions.ActionContext<Object> ctx) protected voidsendConfiguredOutput(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, shouldInitializeEntityMethods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, registerStubInstance, sendOutput, setComponentID, unregisterStubInstanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.actions.CockpitAction
getConfirmationMessage, needsConfirmation, perform
-
Constructor Details
-
CreateTmaPoAction
public CreateTmaPoAction()
-
-
Method Details
-
canPerform
-
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:
sendConfiguredOutputin classcom.hybris.cockpitng.actions.create.CreateAction- Parameters:
ctx- the action's contexttypeCode- 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
- Overrides:
findTypeCodein classcom.hybris.cockpitng.actions.create.CreateAction
-