Class IntegrationActionContext
java.lang.Object
com.hybris.cockpitng.core.context.impl.DefaultCockpitContext
com.hybris.cockpitng.actions.ActionContext<Object>
de.hybris.platform.integrationbackoffice.widgets.common.actions.IntegrationActionContext
- All Implemented Interfaces:
com.hybris.cockpitng.core.context.CockpitContext,Serializable
An action context object that extends the default implementation from
ActionContext with some helper methods.- See Also:
-
Field Summary
Fields inherited from class com.hybris.cockpitng.actions.ActionContext
ACTION_UID, PARENT_WIDGET_MODEL, VIEW_MODE_PARAM, VIEWMODE_HIDDEN, VIEWMODE_ICONANDTEXT, VIEWMODE_ICONONLY, VIEWMODE_TEXTONLY -
Constructor Summary
ConstructorsConstructorDescriptionIntegrationActionContext(com.hybris.cockpitng.actions.ActionContext<Object> context) Default constructor that passes up call to super. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context objects from the data property of the ActionContext object.booleanDetermines if the data property contains an empty collection.Methods inherited from class com.hybris.cockpitng.actions.ActionContext
getCode, getData, getDefinition, getIconDisabledUri, getIconHoverUri, getIconUri, getLabel, getLabel, getName, getTriggerOnKeys, isHidden, isShowIcon, isShowIconAndText, isShowText, setData, setTriggerOnKeysMethods inherited from class com.hybris.cockpitng.core.context.impl.DefaultCockpitContext
addAllParameters, clearParameters, containsParameter, getParameter, getParameterKeys, getParameters, removeParameter, setParameter, setParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.core.context.CockpitContext
getParameterAsBoolean, getParameterAsInt
-
Constructor Details
-
IntegrationActionContext
Default constructor that passes up call to super.- Parameters:
context- Context object of action
-
-
Method Details
-
getContextObjects
Retrieves the context objects from the data property of the ActionContext object.- Returns:
- List of object in context
-
isDataNotPresent
public boolean isDataNotPresent()Determines if the data property contains an empty collection.- Returns:
- If data contains an empty collection.
-