Class DefaultRatingTypeImpl
java.lang.Object
fr.paris.lutece.plugins.extend.modules.rating.service.facade.DefaultRatingTypeImpl
- All Implemented Interfaces:
RatingType
-
Nested Class Summary
Nested classes/interfaces inherited from interface fr.paris.lutece.plugins.extend.modules.rating.service.facade.RatingType
RatingType.Builder -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelRating(Rating rating) Do cancel ratingvoidConsumer to rategetInfoExtender(String strIdExtendableResource, String strExtendableResourceType) BiFunction to get the list of extender type information objectgetInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType) BiFunction to get the list of extender type information objectgetInfoForExport(String strIdExtendableResource, String strExtendableResourceType) BinaryOperator to get the information value associate to the rating Type to export in the file exportgetInfoForRecap(String strIdExtendableResource, String strExtendableResourceType) BinaryOperator to get the information value associate to the ExtenderType to write in the recapgetPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, jakarta.servlet.http.HttpServletRequest request) GetPageAddOngetTitle()Get title of rating typegetType()Get type of thisGet the name type of the rating type
-
Method Details
-
doRating
Description copied from interface:RatingTypeConsumer to rate- Specified by:
doRatingin interfaceRatingType
-
cancelRating
Description copied from interface:RatingTypeDo cancel rating- Specified by:
cancelRatingin interfaceRatingType
-
getPageAddOn
public String getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, jakarta.servlet.http.HttpServletRequest request) Description copied from interface:RatingTypeGetPageAddOn- Specified by:
getPageAddOnin interfaceRatingType
-
getType
Description copied from interface:RatingTypeGet type of this- Specified by:
getTypein interfaceRatingType- Returns:
- type rating
-
getTypeName
Description copied from interface:RatingTypeGet the name type of the rating type- Specified by:
getTypeNamein interfaceRatingType- Returns:
- type name
-
getTitle
Description copied from interface:RatingTypeGet title of rating type- Specified by:
getTitlein interfaceRatingType- Returns:
- the title of rating
-
getInfoForExport
Description copied from interface:RatingTypeBinaryOperator to get the information value associate to the rating Type to export in the file export- Specified by:
getInfoForExportin interfaceRatingType
-
getInfoForRecap
Description copied from interface:RatingTypeBinaryOperator to get the information value associate to the ExtenderType to write in the recap- Specified by:
getInfoForRecapin interfaceRatingType
-
getInfoExtender
public List<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType) Description copied from interface:RatingTypeBiFunction to get the list of extender type information object- Specified by:
getInfoExtenderin interfaceRatingType
-
getInfoExtenderByList
public List<Rating> getInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType) Description copied from interface:RatingTypeBiFunction to get the list of extender type information object- Specified by:
getInfoExtenderByListin interfaceRatingType
-