Class CMSSecurePortalRestrictionEvaluator
java.lang.Object
de.hybris.platform.b2bacceleratorservices.evaluator.impl.CMSSecurePortalRestrictionEvaluator
- All Implemented Interfaces:
CMSRestrictionEvaluator<CMSSecurePortalRestrictionModel>
public class CMSSecurePortalRestrictionEvaluator
extends Object
implements CMSRestrictionEvaluator<CMSSecurePortalRestrictionModel>
Evaluates a user restriction accordingly to context information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(CMSSecurePortalRestrictionModel cmsUserRestriction, RestrictionData context) Main method that evaluates given restriction.protected BaseSiteServicevoidsetBaseSiteService(BaseSiteService baseSiteService)
-
Constructor Details
-
CMSSecurePortalRestrictionEvaluator
public CMSSecurePortalRestrictionEvaluator()
-
-
Method Details
-
evaluate
public boolean evaluate(CMSSecurePortalRestrictionModel cmsUserRestriction, RestrictionData context) Description copied from interface:CMSRestrictionEvaluatorMain method that evaluates given restriction.- Specified by:
evaluatein interfaceCMSRestrictionEvaluator<CMSSecurePortalRestrictionModel>- Parameters:
cmsUserRestriction- given restrictioncontext- all context information required to evaluate restriction- Returns:
truewhen restriction is matched otherwisefalse
-
getBaseSiteService
-
setBaseSiteService
-