Class AssistedServiceSessionRestrictionEvaluator
java.lang.Object
de.hybris.platform.assistedservicestorefront.restrictions.AssistedServiceSessionRestrictionEvaluator
- All Implemented Interfaces:
CMSRestrictionEvaluator<AssistedServiceSessionRestrictionModel>
public class AssistedServiceSessionRestrictionEvaluator
extends Object
implements CMSRestrictionEvaluator<AssistedServiceSessionRestrictionModel>
Evaluates an ASM agent through session.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(AssistedServiceSessionRestrictionModel amsSessionRestriction, RestrictionData context) Main method that evaluates given restriction.voidsetDefaultAssistedServiceFacade(AssistedServiceFacade defaultAssistedServiceFacade)
-
Constructor Details
-
AssistedServiceSessionRestrictionEvaluator
public AssistedServiceSessionRestrictionEvaluator()
-
-
Method Details
-
evaluate
public boolean evaluate(AssistedServiceSessionRestrictionModel amsSessionRestriction, RestrictionData context) Description copied from interface:CMSRestrictionEvaluatorMain method that evaluates given restriction.- Specified by:
evaluatein interfaceCMSRestrictionEvaluator<AssistedServiceSessionRestrictionModel>- Parameters:
amsSessionRestriction- given restrictioncontext- all context information required to evaluate restriction- Returns:
truewhen restriction is matched otherwisefalse
-
setDefaultAssistedServiceFacade
-