Class GridViewConfigAdapter
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.adapters.GridViewConfigAdapter
-
- All Implemented Interfaces:
CockpitConfigurationAdapter<GridView>
public class GridViewConfigAdapter extends java.lang.Object implements CockpitConfigurationAdapter<GridView>
-
-
Constructor Summary
Constructors Constructor Description GridViewConfigAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridViewadaptAfterLoad(ConfigContext context, GridView gridView)Adapts given cockpit configuration element after all subsequent configurations are loaded and merged.GridViewadaptBeforeStore(ConfigContext context, GridView gridView)Adapts given cockpit configuration element before it is stored.java.lang.Class<GridView>getSupportedType()Returns the type of configuration element this adapter supports.voidsetPositionedSort(PositionedSort positionedSort)-
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.core.config.CockpitConfigurationAdapter
adaptBeforeMerge
-
-
-
-
Method Detail
-
setPositionedSort
public void setPositionedSort(PositionedSort positionedSort)
-
getSupportedType
public java.lang.Class<GridView> getSupportedType()
Description copied from interface:CockpitConfigurationAdapterReturns the type of configuration element this adapter supports.- Specified by:
getSupportedTypein interfaceCockpitConfigurationAdapter<GridView>- Returns:
- type of configuration element this adapter supports
-
adaptAfterLoad
public GridView adaptAfterLoad(ConfigContext context, GridView gridView) throws CockpitConfigurationException
Description copied from interface:CockpitConfigurationAdapterAdapts given cockpit configuration element after all subsequent configurations are loaded and merged.- Specified by:
adaptAfterLoadin interfaceCockpitConfigurationAdapter<GridView>- Parameters:
context- configuration contextgridView- configuration element- Returns:
- adapted cockpit configuration element
- Throws:
CockpitConfigurationException- if something went wrong
-
adaptBeforeStore
public GridView adaptBeforeStore(ConfigContext context, GridView gridView) throws CockpitConfigurationException
Description copied from interface:CockpitConfigurationAdapterAdapts given cockpit configuration element before it is stored.- Specified by:
adaptBeforeStorein interfaceCockpitConfigurationAdapter<GridView>- Parameters:
context- configuration contextgridView- configuration element- Returns:
- adapted cockpit configuration element
- Throws:
CockpitConfigurationException- if something went wrong
-
-