public interface RatingType
Modifier and Type | Interface and Description |
---|---|
static interface |
RatingType.Builder
Builder Interface
|
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
|
static RatingType.Builder |
newBuilder(Class<? extends Rating> type,
String strTitle)
Get builder to building an rating type
|
static RatingType |
newRatingType(Class<? extends Rating> type,
String strTitle)
Build a new rating type
|
static RatingType newRatingType(Class<? extends Rating> type, String strTitle)
type
- the type of ratingstrTitle
- the title of rating typestatic RatingType.Builder newBuilder(Class<? extends Rating> type, String strTitle)
type
- the type of ratingstrTitle
- the title of the rating typevoid doRating(Rating rating)
doRating
- the Consumer interfacevoid cancelRating(Rating rating)
doCancelRating
- the Consumer interfaceString getPageAddOn(RatingExtenderConfig ratingExtenderConfig, String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request)
getPageAddOn
- the QuinquaFunction interfaceString getTypeName()
String getTitle()
String getInfoForExport(String strIdExtendableResource, String strExtendableResourceType)
getInfoForExport
- the BinaryOperatorString getInfoForRecap(String strIdExtendableResource, String strExtendableResourceType)
getInfoForRecap
- the BinaryOperatorList<Rating> getInfoExtender(String strIdExtendableResource, String strExtendableResourceType)
getInfoExtender
- the BiFunctionCopyright © 2022 City of Paris. All rights reserved.