| Modifier and Type | Method and Description |
|---|---|
GenericVariantProductModel |
ModelFactory.createGenericVariantProduct(java.lang.String code,
ProductModel baseProduct,
CatalogVersionModel catalogVersion,
VariantValueCategoryModel... variantSuperCategories) |
| Modifier and Type | Method and Description |
|---|---|
GenericVariantProductModel |
AbstractCommerceServicelayerTransactionalTest.createGenericVariantProduct(java.lang.String code,
ProductModel baseProduct,
CatalogVersionModel catalogVersion,
VariantValueCategoryModel... variantSuperCategories) |
| Modifier and Type | Method and Description |
|---|---|
static GenericVariantProductModel |
VariantMatrixFactoryUtil.mockNewVariantModel(ProductModel baseProductModel,
java.util.List<CategoryModel> valueCategories,
int id) |
| Modifier and Type | Method and Description |
|---|---|
protected GenericVariantProductModel |
VariantOptionDataStockPopulatorTest.mockNewVariantModel() |
protected GenericVariantProductModel |
VariantOptionDataUrlPopulatorTest.mockNewVariantModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
GenericVariantProductModelComparator.compare(GenericVariantProductModel variant1,
GenericVariantProductModel variant2)
Considers variant1 greater then other if, for the same variant category level, the value of the
VariantValueCategoryModel belonging to variant1 has a bigger sequence then the
VariantValueCategoryModel belonging to variant2. |
protected java.util.List<VariantValueCategoryModel> |
GenericVariantProductModelComparator.getVariantValuesCategories(GenericVariantProductModel productModel)
Get the list of
VariantValueCategoryModel related to a specific GenericVariantProductModel. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<GenericVariantProductModel> |
FirstGenericVariantProductUrlValueProvider.getGenericVariantProductModelComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FirstVariantCategoryNameListValueProvider.addCategories(java.util.SortedMap<VariantValueCategoryModel,GenericVariantProductModel> categoryValues,
GenericVariantProductModel variant)
Add first level category from
variant to categoryValues. |
protected java.util.List<VariantValueCategoryModel> |
FirstVariantCategoryNameListValueProvider.getVariantList(GenericVariantProductModel variant)
Get the list of
VariantValueCategoryModel for a given GenericVariantProductModel. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FirstVariantCategoryNameListValueProvider.addCategories(java.util.SortedMap<VariantValueCategoryModel,GenericVariantProductModel> categoryValues,
GenericVariantProductModel variant)
Add first level category from
variant to categoryValues. |
java.lang.String |
SolrFirstVariantCategoryManager.buildSolrPropertyFromCategoryVariantPairs(java.util.SortedMap<VariantValueCategoryModel,GenericVariantProductModel> categoryVariantPairs)
Builds a String to be used in first category name list Solr property.
|
void |
FirstGenericVariantProductUrlValueProvider.setGenericVariantProductModelComparator(java.util.Comparator<GenericVariantProductModel> genericVariantProductModelComparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericVariantProductValidateInterceptor.onValidate(GenericVariantProductModel genericVariant,
InterceptorContext ctx) |
protected void |
GenericVariantProductValidateInterceptor.validateBaseProductSuperCategories(GenericVariantProductModel genericVariant,
java.util.Collection<CategoryModel> variantValueCategories) |
| Modifier and Type | Method and Description |
|---|---|
GenericVariantProductModel |
GenericVariantProductResource.getGenericVariantProductModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected GenericVariantProductModel |
GenericVariantProductResource.readResource(java.lang.String resourceId)
Gets the
GenericVariantProductModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<GenericVariantProductModel> |
GenericVariantProductsResource.getGenericVariantProductsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericVariantProductResource.setGenericVariantProductModel(GenericVariantProductModel value)
Convenience method which just delegates to
#setResourceValue(GenericVariantProductModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericVariantProductsResource.setGenericVariantProductsCollection(java.util.Collection<GenericVariantProductModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
Copyright © 2018 SAP SE. All Rights Reserved.