Class DefaultSiteChannelValidationStrategy
java.lang.Object
de.hybris.platform.acceleratorservices.site.strategies.impl.DefaultSiteChannelValidationStrategy
- All Implemented Interfaces:
SiteChannelValidationStrategy
public class DefaultSiteChannelValidationStrategy
extends Object
implements SiteChannelValidationStrategy
Default implementation of the
SiteChannelValidationStrategy which validated against a configured list of
supported SiteChannel objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<SiteChannel>voidsetSupportedSiteChannels(Set<SiteChannel> supportedSiteChannels) booleanvalidateSiteChannel(SiteChannel siteChannel) Validates theSiteChannel.
-
Constructor Details
-
DefaultSiteChannelValidationStrategy
public DefaultSiteChannelValidationStrategy()
-
-
Method Details
-
validateSiteChannel
Description copied from interface:SiteChannelValidationStrategyValidates theSiteChannel.- Specified by:
validateSiteChannelin interfaceSiteChannelValidationStrategy- Parameters:
siteChannel- theSiteChannelto validate.- Returns:
trueif theSiteChannelis supported,falseotherwise
-
getSupportedSiteChannels
-
setSupportedSiteChannels
-