public interface BTGEvaluationService
BTGSegmentModel for a user.| Modifier and Type | Method and Description |
|---|---|
void |
evaluateAllSegments(UserGroupModel userGroup,
CMSSiteModel website,
BTGEvaluationContext context,
Collection<CatalogVersionModel> catalogVersion)
Evaluates for all users in userGroup all active segments for specific website and scope using evaluation method
|
void |
evaluateAllSegments(UserModel user,
CMSSiteModel website,
BTGEvaluationContext context)
Evaluates for user all active segments for specific website and scope using evaluation method
|
void |
evaluateAllSegments(UserModel user,
CMSSiteModel website,
BTGEvaluationContext context,
Collection<CatalogVersionModel> catalogVersion)
Evaluates for user all active segments for specific website and scope using evaluation method
|
void |
evaluateAllSegments(UserModel user,
List<CMSSiteModel> websites,
BTGEvaluationContext context)
Evaluates for user all active segments for specific websites and scope using evaluation method
|
void |
evaluateAllSegments(UserModel user,
List<CMSSiteModel> websites,
BTGEvaluationContext context,
Collection<CatalogVersionModel> catalogVersion)
Evaluates for user all active segments for specific websites and scope using evaluation method
|
boolean |
evaluateRule(UserModel user,
BTGRuleModel rule,
BTGEvaluationContext context)
Evaluate specified rule for user by using evaluation method and scope
|
boolean |
evaluateSegment(UserModel user,
BTGSegmentModel segment,
BTGEvaluationContext context)
Evaluate specified segment for user by using evaluation method and scope
|
void evaluateAllSegments(UserModel user, CMSSiteModel website, BTGEvaluationContext context) throws SegmentEvaluationException
user - User for which the segments should be evaluatedwebsite - Evaluate segments for this websitecontext - Context object containing settings for the evaluationSegmentEvaluationExceptionvoid evaluateAllSegments(UserModel user, CMSSiteModel website, BTGEvaluationContext context, Collection<CatalogVersionModel> catalogVersion) throws SegmentEvaluationException
user - User for which the segments should be evaluatedwebsite - Evaluate segments for this websitecontext - Context object containing settings for the evaluationcatalogVersion - catalog version for which segments are evaluatedSegmentEvaluationExceptionvoid evaluateAllSegments(UserGroupModel userGroup, CMSSiteModel website, BTGEvaluationContext context, Collection<CatalogVersionModel> catalogVersion) throws SegmentEvaluationException
userGroup - userGroup for which the segments should be evaluatedwebsite - Evaluate segments for this websitecontext - Context object containing settings for the evaluationcatalogVersion - catalog version for which segments are evaluatedSegmentEvaluationExceptionvoid evaluateAllSegments(UserModel user, List<CMSSiteModel> websites, BTGEvaluationContext context) throws SegmentEvaluationException
user - User for which the segments should be evaluatedwebsites - Evaluate segments for those websitescontext - Context object containing settings for the evaluationSegmentEvaluationExceptionvoid evaluateAllSegments(UserModel user, List<CMSSiteModel> websites, BTGEvaluationContext context, Collection<CatalogVersionModel> catalogVersion) throws SegmentEvaluationException
user - User for which the segments should be evaluatedwebsites - Evaluate segments for those websitescontext - Context object containing settings for the evaluationcatalogVersion - catalog version for which segments are evaluatedSegmentEvaluationExceptionboolean evaluateSegment(UserModel user, BTGSegmentModel segment, BTGEvaluationContext context) throws SegmentEvaluationException
user - User that can fulfilled segmentsegment - Segment we are checkingcontext - Context object containing settings for the evaluationSegmentEvaluationExceptionboolean evaluateRule(UserModel user, BTGRuleModel rule, BTGEvaluationContext context) throws RuleEvaluationException
user - User that can fulfilled segmentrule - Rule we are checkingcontext - Context object containing settings for the evaluationRuleEvaluationExceptionCopyright © 2017 SAP SE. All Rights Reserved.