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