Class GeneratedCustomerReviewManager

java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.extension.Extension
de.hybris.platform.customerreview.jalo.GeneratedCustomerReviewManager
All Implemented Interfaces:
ItemLifecycleListener, Serializable
Direct Known Subclasses:
CustomerReviewManager

public abstract class GeneratedCustomerReviewManager extends Extension
Generated class for type CustomerReviewManager.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedCustomerReviewManager

      public GeneratedCustomerReviewManager()
  • Method Details

    • getDefaultAttributeModes

      public Map<String,Item.AttributeMode> getDefaultAttributeModes(Class<? extends Item> itemClass)
      Overrides:
      getDefaultAttributeModes in class Extension
    • getAverageRating

      public abstract Double getAverageRating(SessionContext ctx, Product item)
      Generated method - Getter of the Product.averageRating attribute.
      Returns:
      the averageRating - The average rating of the product.
    • getAverageRating

      public Double getAverageRating(Product item)
      Generated method - Getter of the Product.averageRating attribute.
      Returns:
      the averageRating - The average rating of the product.
    • getAverageRatingAsPrimitive

      public double getAverageRatingAsPrimitive(SessionContext ctx, Product item)
      Generated method - Getter of the Product.averageRating attribute.
      Returns:
      the averageRating - The average rating of the product.
    • getAverageRatingAsPrimitive

      public double getAverageRatingAsPrimitive(Product item)
      Generated method - Getter of the Product.averageRating attribute.
      Returns:
      the averageRating - The average rating of the product.
    • createCustomerReview

      public CustomerReview createCustomerReview(SessionContext ctx, Map attributeValues)
    • createCustomerReview

      public CustomerReview createCustomerReview(Map attributeValues)
    • getCustomerReviews

      public Collection<CustomerReview> getCustomerReviews(SessionContext ctx, User item)
      Generated method - Getter of the User.customerReviews attribute.
      Returns:
      the customerReviews
    • getCustomerReviews

      public Collection<CustomerReview> getCustomerReviews(User item)
      Generated method - Getter of the User.customerReviews attribute.
      Returns:
      the customerReviews
    • setCustomerReviews

      protected void setCustomerReviews(SessionContext ctx, User item, Collection<CustomerReview> value)
      Generated method - Setter of the User.customerReviews attribute.
      Parameters:
      value - the customerReviews
    • setCustomerReviews

      protected void setCustomerReviews(User item, Collection<CustomerReview> value)
      Generated method - Setter of the User.customerReviews attribute.
      Parameters:
      value - the customerReviews
    • addToCustomerReviews

      protected void addToCustomerReviews(SessionContext ctx, User item, CustomerReview value)
      Generated method - Adds value to customerReviews.
      Parameters:
      value - the item to add to customerReviews
    • addToCustomerReviews

      protected void addToCustomerReviews(User item, CustomerReview value)
      Generated method - Adds value to customerReviews.
      Parameters:
      value - the item to add to customerReviews
    • removeFromCustomerReviews

      protected void removeFromCustomerReviews(SessionContext ctx, User item, CustomerReview value)
      Generated method - Removes value from customerReviews.
      Parameters:
      value - the item to remove from customerReviews
    • removeFromCustomerReviews

      protected void removeFromCustomerReviews(User item, CustomerReview value)
      Generated method - Removes value from customerReviews.
      Parameters:
      value - the item to remove from customerReviews
    • getName

      public String getName()
      Specified by:
      getName in class Extension
    • getNumberOfReviews

      public abstract Integer getNumberOfReviews(SessionContext ctx, Product item)
      Generated method - Getter of the Product.numberOfReviews attribute.
      Returns:
      the numberOfReviews - The number of reviews for the product.
    • getNumberOfReviews

      public Integer getNumberOfReviews(Product item)
      Generated method - Getter of the Product.numberOfReviews attribute.
      Returns:
      the numberOfReviews - The number of reviews for the product.
    • getNumberOfReviewsAsPrimitive

      public int getNumberOfReviewsAsPrimitive(SessionContext ctx, Product item)
      Generated method - Getter of the Product.numberOfReviews attribute.
      Returns:
      the numberOfReviews - The number of reviews for the product.
    • getNumberOfReviewsAsPrimitive

      public int getNumberOfReviewsAsPrimitive(Product item)
      Generated method - Getter of the Product.numberOfReviews attribute.
      Returns:
      the numberOfReviews - The number of reviews for the product.
    • getProductReviews

      public Collection<CustomerReview> getProductReviews(SessionContext ctx, Product item)
      Generated method - Getter of the Product.productReviews attribute.
      Returns:
      the productReviews
    • getProductReviews

      public Collection<CustomerReview> getProductReviews(Product item)
      Generated method - Getter of the Product.productReviews attribute.
      Returns:
      the productReviews
    • setProductReviews

      public void setProductReviews(SessionContext ctx, Product item, Collection<CustomerReview> value)
      Generated method - Setter of the Product.productReviews attribute.
      Parameters:
      value - the productReviews
    • setProductReviews

      public void setProductReviews(Product item, Collection<CustomerReview> value)
      Generated method - Setter of the Product.productReviews attribute.
      Parameters:
      value - the productReviews
    • addToProductReviews

      public void addToProductReviews(SessionContext ctx, Product item, CustomerReview value)
      Generated method - Adds value to productReviews.
      Parameters:
      value - the item to add to productReviews
    • addToProductReviews

      public void addToProductReviews(Product item, CustomerReview value)
      Generated method - Adds value to productReviews.
      Parameters:
      value - the item to add to productReviews
    • removeFromProductReviews

      public void removeFromProductReviews(SessionContext ctx, Product item, CustomerReview value)
      Generated method - Removes value from productReviews.
      Parameters:
      value - the item to remove from productReviews
    • removeFromProductReviews

      public void removeFromProductReviews(Product item, CustomerReview value)
      Generated method - Removes value from productReviews.
      Parameters:
      value - the item to remove from productReviews