Class AssistedServiceSessionRestrictionEvaluator
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.restrictions.AssistedServiceSessionRestrictionEvaluator
-
- All Implemented Interfaces:
CMSRestrictionEvaluator<AssistedServiceSessionRestrictionModel>
public class AssistedServiceSessionRestrictionEvaluator extends java.lang.Object implements CMSRestrictionEvaluator<AssistedServiceSessionRestrictionModel>
Evaluates an ASM agent through session.
-
-
Constructor Summary
Constructors Constructor Description AssistedServiceSessionRestrictionEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(AssistedServiceSessionRestrictionModel amsSessionRestriction, RestrictionData context)Main method that evaluates given restriction.voidsetDefaultAssistedServiceFacade(AssistedServiceFacade defaultAssistedServiceFacade)
-
-
-
Method Detail
-
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
public void setDefaultAssistedServiceFacade(AssistedServiceFacade defaultAssistedServiceFacade)
-
-