public final class DefaultRatingTypeImpl extends Object implements RatingType
RatingType.Builder| Modifier and Type | Method and Description |
|---|---|
void |
cancelRating(Rating rating)
Do cancel rating
|
void |
doRating(Rating rating)
Consumer to rate
|
List<Rating> |
getInfoExtender(String strIdExtendableResource,
String strExtendableResourceType)
BiFunction to get the list of extender type information object
|
List<Rating> |
getInfoExtenderByList(List<String> listIdExtendableResource,
String strExtendableResourceType)
BiFunction to get the list of extender type information object
|
String |
getInfoForExport(String strIdExtendableResource,
String strExtendableResourceType)
BinaryOperator to get the information value associate to the rating Type to export in the file export
|
String |
getInfoForRecap(String strIdExtendableResource,
String strExtendableResourceType)
BinaryOperator to get the information value associate to the ExtenderType to write in the recap
|
String |
getPageAddOn(RatingExtenderConfig ratingExtenderConfig,
String strIdExtendableResource,
String strExtendableResourceType,
String strParameters,
javax.servlet.http.HttpServletRequest request)
GetPageAddOn
|
String |
getTitle()
Get title of rating type
|
Class<? extends Rating> |
getType()
Get type of this
|
String |
getTypeName()
Get the name type of the rating type
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewBuilder, newRatingTypepublic void doRating(Rating rating)
RatingTypedoRating in interface RatingTypepublic void cancelRating(Rating rating)
RatingTypecancelRating in interface RatingTypepublic String getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request)
RatingTypegetPageAddOn in interface RatingTypepublic Class<? extends Rating> getType()
RatingTypegetType in interface RatingTypepublic String getTypeName()
RatingTypegetTypeName in interface RatingTypepublic String getTitle()
RatingTypegetTitle in interface RatingTypepublic String getInfoForExport(String strIdExtendableResource, String strExtendableResourceType)
RatingTypegetInfoForExport in interface RatingTypepublic String getInfoForRecap(String strIdExtendableResource, String strExtendableResourceType)
RatingTypegetInfoForRecap in interface RatingTypepublic List<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType)
RatingTypegetInfoExtender in interface RatingTypepublic List<Rating> getInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType)
RatingTypegetInfoExtenderByList in interface RatingTypeCopyright © 2022 City of Paris. All rights reserved.