Interface CMSRestrictionService

    • Method Detail

      • evaluateCMSComponent

        boolean evaluateCMSComponent​(AbstractCMSComponentModel component,
                                     RestrictionData data)
        Evaluate cms component for RestrictionData context object.
        Parameters:
        component - the component
        data - the data
        Returns:
        true, if successful
      • evaluatePages

        java.util.Collection<AbstractPageModel> evaluatePages​(java.util.Collection<AbstractPageModel> pages,
                                                              RestrictionData data)
        Evaluate pages for RestrictionData context object.
        Parameters:
        pages - the pages
        data - the data
        Returns:
        the collection
      • getCategoryCodesForRestriction

        java.util.Collection<java.lang.String> getCategoryCodesForRestriction​(CMSCategoryRestrictionModel restriction)
        Gets the category codes for restriction.
        Parameters:
        restriction - the restriction
        Returns:
        the category codes for restriction
      • getProductCodesForRestriction

        java.util.Collection<java.lang.String> getProductCodesForRestriction​(CMSProductRestrictionModel restriction)
        Gets the product codes for restriction.
        Parameters:
        restriction - the restriction
        Returns:
        the product codes for restriction