Class TmaPscvStatementValidator
java.lang.Object
de.hybris.platform.b2ctelcoservices.compatibility.validators.AbstractTmaPolicyStatementValidator
de.hybris.platform.b2ctelcoservices.compatibility.validators.impl.TmaPscvStatementValidator
Checks if a PscvStatement (typically part of a Policy) is valid or not. e.g. [if] you have and 100mbps(PSCV) internet
connection [then] you can buy maximum 2 media boxes (PO).
- Since:
- 1805
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.config.ConfigurationServiceretrieveApplicableContexts(TmaPolicyStatementModel statement, List<TmaPolicyContext> contexts) Returns the list of contexts for which the statement is valid againstvoidsetComparators(Map<TmaPscvValueType, TmaPolicyPscvValueComparator> comparators) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Methods inherited from class de.hybris.platform.b2ctelcoservices.compatibility.validators.AbstractTmaPolicyStatementValidator
checkQuantity, validatePolicyStatement
-
Constructor Details
-
TmaPscvStatementValidator
public TmaPscvStatementValidator()
-
-
Method Details
-
retrieveApplicableContexts
public List<TmaPolicyContext> retrieveApplicableContexts(TmaPolicyStatementModel statement, List<TmaPolicyContext> contexts) Description copied from class:AbstractTmaPolicyStatementValidatorReturns the list of contexts for which the statement is valid against- Specified by:
retrieveApplicableContextsin classAbstractTmaPolicyStatementValidator- Parameters:
statement- the statement to be validatedcontexts- the contexts to be validated against- Returns:
- the list of contexts for which the statement is valid against
-
getComparators
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService() -
setComparators
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
-