Class DefaultPageVariationResolverTypeRegistry
java.lang.Object
de.hybris.platform.cmsfacades.pages.service.impl.DefaultPageVariationResolverTypeRegistry
- All Implemented Interfaces:
PageVariationResolverTypeRegistry,org.springframework.beans.factory.InitializingBean
public class DefaultPageVariationResolverTypeRegistry
extends Object
implements PageVariationResolverTypeRegistry, org.springframework.beans.factory.InitializingBean
Default implementation of the
PageVariationResolverTypeRegistry. This implementation uses
autowire-by-type to inject all beans implementing PageVariationResolverType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected Set<PageVariationResolverType>getPageVariationResolverType(String typecode) Get a specificPageVariationResolverTypeby type code.Get all elements in the registry.protected Map<String,PageVariationResolverType> voidsetAllPageVariationResolverTypes(Set<PageVariationResolverType> allPageVariationResolverTypes)
-
Constructor Details
-
DefaultPageVariationResolverTypeRegistry
public DefaultPageVariationResolverTypeRegistry()
-
-
Method Details
-
getPageVariationResolverType
Description copied from interface:PageVariationResolverTypeRegistryGet a specificPageVariationResolverTypeby type code.- Specified by:
getPageVariationResolverTypein interfacePageVariationResolverTypeRegistry- Parameters:
typecode- - the model type code of the element to retrieve from the registry- Returns:
- the element matching the page type. If none is found matching the given page type, return the resolver
type for
AbstractPageModel
-
getPageVariationResolverTypes
Description copied from interface:PageVariationResolverTypeRegistryGet all elements in the registry.- Specified by:
getPageVariationResolverTypesin interfacePageVariationResolverTypeRegistry- Returns:
- all items in the registry; never null
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getAllPageVariationResolverTypes
-
setAllPageVariationResolverTypes
public void setAllPageVariationResolverTypes(Set<PageVariationResolverType> allPageVariationResolverTypes) -
getResolversByType
-