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, wait
newBuilder, newRatingType
public void doRating(Rating rating)
RatingType
doRating
in interface RatingType
public void cancelRating(Rating rating)
RatingType
cancelRating
in interface RatingType
public String getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request)
RatingType
getPageAddOn
in interface RatingType
public Class<? extends Rating> getType()
RatingType
getType
in interface RatingType
public String getTypeName()
RatingType
getTypeName
in interface RatingType
public String getTitle()
RatingType
getTitle
in interface RatingType
public String getInfoForExport(String strIdExtendableResource, String strExtendableResourceType)
RatingType
getInfoForExport
in interface RatingType
public String getInfoForRecap(String strIdExtendableResource, String strExtendableResourceType)
RatingType
getInfoForRecap
in interface RatingType
public List<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType)
RatingType
getInfoExtender
in interface RatingType
public List<Rating> getInfoExtenderByList(List<String> listIdExtendableResource, String strExtendableResourceType)
RatingType
getInfoExtenderByList
in interface RatingType
Copyright © 2022 City of Paris. All rights reserved.