java.lang.Object
fr.paris.lutece.plugins.extend.modules.rating.service.facade.DefaultRatingTypeImpl
All Implemented Interfaces:
RatingType

public final class DefaultRatingTypeImpl extends Object implements RatingType
  • Method Details

    • doRating

      public void doRating(Rating rating)
      Description copied from interface: RatingType
      Consumer to rate
      Specified by:
      doRating in interface RatingType
    • cancelRating

      public void cancelRating(Rating rating)
      Description copied from interface: RatingType
      Do cancel rating
      Specified by:
      cancelRating in interface RatingType
    • getPageAddOn

      public String getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: RatingType
      GetPageAddOn
      Specified by:
      getPageAddOn in interface RatingType
    • getType

      public Class<? extends Rating> getType()
      Description copied from interface: RatingType
      Get type of this
      Specified by:
      getType in interface RatingType
      Returns:
      type rating
    • getTypeName

      public String getTypeName()
      Description copied from interface: RatingType
      Get the name type of the rating type
      Specified by:
      getTypeName in interface RatingType
      Returns:
      type name
    • getTitle

      public String getTitle()
      Description copied from interface: RatingType
      Get title of rating type
      Specified by:
      getTitle in interface RatingType
      Returns:
      the title of rating
    • getInfoForExport

      public String getInfoForExport(String strIdExtendableResource, String strExtendableResourceType)
      Description copied from interface: RatingType
      BinaryOperator to get the information value associate to the rating Type to export in the file export
      Specified by:
      getInfoForExport in interface RatingType
    • getInfoForRecap

      public String getInfoForRecap(String strIdExtendableResource, String strExtendableResourceType)
      Description copied from interface: RatingType
      BinaryOperator to get the information value associate to the ExtenderType to write in the recap
      Specified by:
      getInfoForRecap in interface RatingType
    • getInfoExtender

      public List<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType)
      Description copied from interface: RatingType
      BiFunction to get the list of extender type information object
      Specified by:
      getInfoExtender in interface RatingType
    • getInfoExtenderByList

      public List<Rating> getInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType)
      Description copied from interface: RatingType
      BiFunction to get the list of extender type information object
      Specified by:
      getInfoExtenderByList in interface RatingType