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