Interface RatingType.Builder
-
- All Known Implementing Classes:
RatingTypeBuilderImpl
- Enclosing interface:
- RatingType
public static interface RatingType.BuilderBuilder Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RatingTypebuild()Build rating typeRatingType.BuildercancelRating(Consumer<Rating> doCancelRating)Do cancel ratingRatingType.BuilderdoRating(Consumer<Rating> doRating)Consumer to rateRatingType.BuildergetInfoExtender(BiFunction<String,String,List<Rating>> getInfoExtender)BiFunction to get the list of extender type information objectRatingType.BuildergetInfoExtenderByList(BiFunction<List<String>,String,List<Rating>> getInfoExtenderByList)BiFunction to get the list of extender type information objectRatingType.BuildergetInfoForExport(BinaryOperator<String> getInfoForExport)BinaryOperator to get the information value associate to the rating Type to export in the file exportRatingType.BuildergetInfoForRecap(BinaryOperator<String> getInfoForRecap)BinaryOperator to get the information value associate to the ExtenderType to write in the recapRatingType.BuildergetPageAddOn(QuinquaFunction<RatingExtenderConfig,String,String,String,javax.servlet.http.HttpServletRequest,String> getPageAddOn)GetPageAddOn
-
-
-
Method Detail
-
doRating
RatingType.Builder doRating(Consumer<Rating> doRating)
Consumer to rate- Parameters:
doRating- the Consumer interface- Returns:
- builder
-
cancelRating
RatingType.Builder cancelRating(Consumer<Rating> doCancelRating)
Do cancel rating- Parameters:
doCancelRating- the Consumer interface- Returns:
- builder
-
getPageAddOn
RatingType.Builder getPageAddOn(QuinquaFunction<RatingExtenderConfig,String,String,String,javax.servlet.http.HttpServletRequest,String> getPageAddOn)
GetPageAddOn- Parameters:
getPageAddOn- the QuinquaFunction interface- Returns:
- builder
-
getInfoForExport
RatingType.Builder getInfoForExport(BinaryOperator<String> getInfoForExport)
BinaryOperator to get the information value associate to the rating Type to export in the file export- Parameters:
getInfoForExport- the BinaryOperator- Returns:
- builder
-
getInfoForRecap
RatingType.Builder getInfoForRecap(BinaryOperator<String> getInfoForRecap)
BinaryOperator to get the information value associate to the ExtenderType to write in the recap- Parameters:
getInfoForRecap- the BinaryOperator- Returns:
- builder
-
getInfoExtender
RatingType.Builder getInfoExtender(BiFunction<String,String,List<Rating>> getInfoExtender)
BiFunction to get the list of extender type information object- Parameters:
getInfoExtender- the BiFunction- Returns:
- builder
-
getInfoExtenderByList
RatingType.Builder getInfoExtenderByList(BiFunction<List<String>,String,List<Rating>> getInfoExtenderByList)
BiFunction to get the list of extender type information object- Parameters:
getInfoExtenderByList- the BiFunction- Returns:
- builder
-
build
RatingType build()
Build rating type- Returns:
- the rating type
-
-