public class RatingTypeImpl extends Object implements RatingType
RatingType.Builder| Constructor and Description |
|---|
RatingTypeImpl(RatingTypeBuilderImpl builder,
DefaultRatingTypeImpl defaultTypeRating)
Constructor
|
| 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 RatingTypeImpl(RatingTypeBuilderImpl builder, DefaultRatingTypeImpl defaultTypeRating)
builder - the builderdefaultTypeRating - the default rating implementationpublic void doRating(Rating rating)
doRating in interface RatingTypepublic void cancelRating(Rating rating)
cancelRating in interface RatingTypepublic String getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request)
getPageAddOn in interface RatingTypepublic Class<? extends Rating> getType()
getType in interface RatingTypepublic String getTypeName()
getTypeName in interface RatingTypepublic String getTitle()
getTitle in interface RatingTypepublic String getInfoForExport(String strIdExtendableResource, String strExtendableResourceType)
getInfoForExport in interface RatingTypepublic String getInfoForRecap(String strIdExtendableResource, String strExtendableResourceType)
getInfoForRecap in interface RatingTypepublic List<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType)
getInfoExtender in interface RatingTypepublic List<Rating> getInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType)
getInfoExtenderByList in interface RatingTypeCopyright © 2022 City of Paris. All rights reserved.