| Package | Description |
|---|---|
| de.hybris.platform.btg.condition | |
| de.hybris.platform.btg.condition.impl | |
| de.hybris.platform.btg.dao | |
| de.hybris.platform.btg.dao.impl | |
| de.hybris.platform.btg.integration | |
| de.hybris.platform.btg.model |
Contains generated models for each type of de.hybris.platform.btg.jalo package.
|
| de.hybris.platform.btg.resource | |
| de.hybris.platform.btg.services | |
| de.hybris.platform.btg.services.impl | |
| de.hybris.platform.btgcockpit.sync | |
| de.hybris.platform.btgcockpit.wizard.page | |
| de.hybris.platform.btgcockpit.wizard.page.btgexpressioncomponent.expressioncomponent.model |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConditionEvaluator<T extends BTGConditionModel>
Generic evaluator for any kind of conditions.
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
ConditionEvaluator.checkConditionForUser(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context)
return last condition evaluation/forced result for user
|
ConditionEvaluator |
ConditionEvaluatorRegistry.getConditionEvaluator(BTGConditionModel condition)
Returns an evaluator that is applicable for the condition
|
boolean |
ConditionEvaluator.invalidateCondition(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context)
Invalidate latest condition results for given user.
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
DefaultBTGExpressionEvaluator.checkConditionForUser(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context) |
protected Boolean |
DefaultBTGExpressionEvaluator.earlyEvaluate(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context,
BTGConditionResultModel lastConditionResult)
This method allows to make evaluation based on some predefined rules, without actually trying to do full
evaluation.
|
protected Boolean |
IgnoreInvalidatedExpressionEvaluator.earlyEvaluate(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context,
BTGConditionResultModel lastConditionResult)
Deprecated.
|
ConditionEvaluator |
DefaultConditionEvaluatorRegistry.getConditionEvaluator(BTGConditionModel condition) |
boolean |
DefaultBTGExpressionEvaluator.invalidateCondition(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context) |
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
BTGDao.getLastResult(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
String jaloSesionId)
Return last result entry for condition and user
|
boolean |
BTGDao.isConditionResultChanged(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
boolean newResult,
String jaloSessionId)
|
| Modifier and Type | Method and Description |
|---|---|
protected BTGConditionModel |
DefaultResultDataCachingBTGDaoTest.createAndSaveCondition(BTGResultScope resultScope) |
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
ResultCachingBTGDaoDecorator.getLastResult(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
String jaloSessionId) |
BTGConditionResultModel |
DefaultResultDataCachingBTGDao.getLastResult(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
String jaloSessionId) |
BTGConditionResultModel |
DefaultBTGDao.getLastResult(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
String jaloSessionId) |
boolean |
ResultCachingBTGDaoDecorator.isConditionResultChanged(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
boolean newResult,
String jaloSessionId) |
boolean |
DefaultResultDataCachingBTGDao.isConditionResultChanged(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
boolean newResult,
String jaloSessionId) |
boolean |
DefaultBTGDao.isConditionResultChanged(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
boolean currentResult,
String jaloSessionId) |
| Constructor and Description |
|---|
BTGResultCacheKey(UserModel user,
BTGConditionModel condition,
BTGResultScope resultScope,
String jaloSessionId) |
| Modifier and Type | Method and Description |
|---|---|
protected BTGConditionModel |
BTGIntegrationTest.createExpression(BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand) |
protected BTGConditionModel |
BTGIntegrationTest.createExpressionInRuleAndSegment(BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand) |
| Modifier and Type | Method and Description |
|---|---|
protected BTGRuleModel |
BTGIntegrationTest.createRule(CatalogVersionModel catVersion,
Collection<BTGConditionModel> conditions,
String code,
BTGRuleType ruleType) |
| Modifier and Type | Class and Description |
|---|---|
class |
BTGExpressionModel
Generated model class for type BTGExpression first defined at extension btg.
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionModel |
BTGConditionResultModel.getCondition()
Generated method - Getter of the
BTGConditionResult.condition attribute defined at extension btg. |
| Modifier and Type | Method and Description |
|---|---|
Collection<BTGConditionModel> |
BTGRuleModel.getConditions()
Generated method - Getter of the
BTGRule.conditions attribute defined at extension btg. |
| Modifier and Type | Method and Description |
|---|---|
void |
BTGConditionResultModel.setCondition(BTGConditionModel value)
Generated method - Setter of
BTGConditionResult.condition attribute defined at extension btg. |
| Modifier and Type | Method and Description |
|---|---|
void |
BTGRuleModel.setConditions(Collection<BTGConditionModel> value)
Generated method - Setter of
BTGRule.conditions attribute defined at extension btg. |
| Constructor and Description |
|---|
BTGConditionResultModel(BTGConditionModel _condition,
BTGResultScope _resultScope)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
BTGConditionResultModel(BTGConditionModel _condition,
ItemModel _owner,
BTGResultScope _resultScope)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionModel |
BTGConditionResource.getBTGConditionModel()
Convenience method which just delegates to
#getResourceValue() |
protected BTGConditionModel |
BTGConditionResource.readResource(String resourceId)
Gets the
BTGConditionModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
Collection<BTGConditionModel> |
BTGConditionsResource.getBTGConditionsCollection()
Convenience method which just delegates to
#getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
BTGConditionResource.setBTGConditionModel(BTGConditionModel value)
Convenience method which just delegates to
#setResourceValue(BTGConditionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
BTGConditionsResource.setBTGConditionsCollection(Collection<BTGConditionModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
BTGConditionModel |
ExpressionService.createExpression(BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand,
CatalogVersionModel catalogVersion)
Creates a new BTG expression.
|
BTGConditionModel |
ExpressionService.updateExpression(BTGExpressionModel existingExpression,
BTGOperandModel updatedLeftOperand,
String updatedOperator,
BTGOperandModel updatedRightOperand)
Updates an existing BTG expression.
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
BTGResultService.checkConditionForUser(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context)
Checks the UserToBTGConditionelation for the given user and rule
|
boolean |
BTGResultService.isFulfilled(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context)
Checks if the given condition is fulfilled for the given user.
|
void |
BTGResultService.setConditionResult(boolean result,
UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context)
Manually marks a condition fulfilled/not fulfilled.
|
void |
BTGResultService.setConditionResult(boolean result,
UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context,
boolean forced)
Manually marks a condition fulfilled/not fulfilled and forced/not forced.
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionModel |
DefaultExpressionService.createExpression(BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand,
CatalogVersionModel catalogVersion) |
BTGConditionModel |
DefaultExpressionService.updateExpression(BTGExpressionModel existingExpression,
BTGOperandModel updatedLeftOperand,
String updatedOperator,
BTGOperandModel updatedRightOperand) |
| Modifier and Type | Method and Description |
|---|---|
BTGConditionResultModel |
DefaultBTGResultService.checkConditionForUser(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context) |
boolean |
DefaultBTGResultService.isFulfilled(UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context) |
void |
DefaultBTGResultService.setConditionResult(boolean result,
UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context) |
void |
DefaultBTGResultService.setConditionResult(boolean result,
UserModel user,
BTGConditionModel condition,
BTGEvaluationContext context,
boolean forced) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<BTGConditionModel> |
BTGSynchronizationService.getBTGConditionsForRule(BTGRuleModel btgRule) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<BTGItemModel> |
BTGSynchronizationService.getBTGExpressionComponents(BTGConditionModel btgExpression)
Returns operands and operator for given
BTGExpressionModel |
| Modifier and Type | Method and Description |
|---|---|
protected BTGConditionModel |
BTGExpressionPageController.createExpression(BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand,
BTGRuleModel rule)
Creates an expression
|
| Modifier and Type | Method and Description |
|---|---|
BTGConditionModel |
BTGExpressionComponentCreatorModel.createConditionOnly(BTGRuleModel rule) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BTGExpressionComponentCreatorModel.isPreparedToSave(BTGConditionModel existingExpression,
BTGOperandModel leftOperand,
BTGOperatorModel operator,
BTGOperandModel rightOperand) |
Copyright © 2017 SAP SE. All Rights Reserved.