Interface CloneComponentContextProvider
- All Superinterfaces:
CMSItemContextProvider<Map.Entry<String,Object>>
- All Known Implementing Classes:
DefaultCloneComponentContextProvider
public interface CloneComponentContextProvider
extends CMSItemContextProvider<Map.Entry<String,Object>>
Interface responsible for storing (in a stack-like data structure) context information per transaction when cloning a
component.
The provider will store information using the following keys:
CmsfacadesConstants.SESSION_CLONE_COMPONENT_CLONE_MODEL- Used to store the clone component Model representation
CmsfacadesConstants.SESSION_CLONE_COMPONENT_SOURCE_MAP- Used to store the source component
Maprepresentation
- Used to store the source component
CmsfacadesConstants.SESSION_CLONE_COMPONENT_SOURCE_ATTRIBUTE- Used to store the source component attribute value or
Maprepresentation
- Used to store the source component attribute value or
CmsfacadesConstants.SESSION_CLONE_COMPONENT_LOCALE- Used to store the current
Localewhen processing a localized attribute
- Used to store the current
-
Method Summary
Modifier and TypeMethodDescriptionfindItemForKey(String key) Read value fromMap.Entrywithout removing it from the stackbooleanVerify that the clone component operation is being executed by checking if some clone component information has been saved in the session.Methods inherited from interface de.hybris.platform.cmsfacades.cmsitems.CMSItemContextProvider
finalizeItem, getCurrentItem, initializeItem
-
Method Details
-
findItemForKey
Read value fromMap.Entrywithout removing it from the stack -
isInitialized
boolean isInitialized()Verify that the clone component operation is being executed by checking if some clone component information has been saved in the session.- Returns:
- TRUE when clone component information was stored in session; FALSE otherwise
-