Interface CloneComponentContextProvider
-
- All Superinterfaces:
CMSItemContextProvider<java.util.Map.Entry<java.lang.String,java.lang.Object>>
- All Known Implementing Classes:
DefaultCloneComponentContextProvider
public interface CloneComponentContextProvider extends CMSItemContextProvider<java.util.Map.Entry<java.lang.String,java.lang.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectfindItemForKey(java.lang.String key)Read value fromMap.Entrywithout removing it from the stackbooleanisInitialized()Verify 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 Detail
-
findItemForKey
java.lang.Object findItemForKey(java.lang.String key)
Read value fromMap.Entrywithout removing it from the stack- Parameters:
key- the key of theMap.Entry- Returns:
- the value associated to the given key in the
Map.Entry; can be null when the key is not found
-
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
-
-