Class CMSActionRestrictionEvaluator

java.lang.Object
de.hybris.platform.acceleratorcms.evaluator.CMSActionRestrictionEvaluator
All Implemented Interfaces:
CMSRestrictionEvaluator<CMSActionRestrictionModel>

@Deprecated(since="1811", forRemoval=true) public class CMSActionRestrictionEvaluator extends Object implements CMSRestrictionEvaluator<CMSActionRestrictionModel>
Deprecated, for removal: This API element is subject to removal in a future version.
since 1811
  • Constructor Details

    • CMSActionRestrictionEvaluator

      public CMSActionRestrictionEvaluator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • evaluate

      public boolean evaluate(CMSActionRestrictionModel restriction, RestrictionData context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: CMSRestrictionEvaluator
      Main method that evaluates given restriction.
      Specified by:
      evaluate in interface CMSRestrictionEvaluator<CMSActionRestrictionModel>
      Parameters:
      restriction - given restriction
      context - all context information required to evaluate restriction
      Returns:
      true when restriction is matched otherwise false
    • getTypeService

      protected TypeService getTypeService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTypeService

      public void setTypeService(TypeService typeService)
      Deprecated, for removal: This API element is subject to removal in a future version.