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<java.lang.Object,java.lang.Object>,com.hybris.cockpitng.engine.ComponentWidgetAdapterAware
public class CreateTmaPoAction extends com.hybris.cockpitng.actions.create.CreateAction implements com.hybris.cockpitng.actions.CockpitAction<java.lang.Object,java.lang.Object>Cockpit action for triggering the createTmaProductOfferingModelwizard starting from a preselectedTmaProductSpecificationModel.- 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 CreateTmaPoAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPerform(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx)protected java.lang.StringfindTypeCode(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx)protected voidsendConfiguredOutput(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx, java.lang.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
-
-
-
-
Method Detail
-
canPerform
public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx)
- Specified by:
canPerformin interfacecom.hybris.cockpitng.actions.CockpitAction<java.lang.Object,java.lang.Object>- Overrides:
canPerformin classcom.hybris.cockpitng.actions.create.CreateAction
-
sendConfiguredOutput
protected void sendConfiguredOutput(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx, java.lang.String typeCode) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationExceptionSends 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
protected java.lang.String findTypeCode(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx)
- Overrides:
findTypeCodein classcom.hybris.cockpitng.actions.create.CreateAction
-
-