Package | Description |
---|---|
com.apptus.esales.connector |
This package provides utilities for communication with an eSales cluster
and this package documentation contains information on how to get started.
|
Modifier and Type | Method | Description |
---|---|---|
Result.Attribute |
Result.Ad.getAttribute(String name) |
Get the attribute with the specified name or null if no such attribute exists for this ad.
|
Result.Attribute |
Result.Category.getAttribute(String name) |
Get the attribute with the specified name or null if no such attribute exists for this category.
|
Result.Attribute |
Result.Product.getAttribute(String name) |
Get the attribute with the specified name or null if no such attribute exists for this product.
|
Result.Attribute |
Result.Variant.getAttribute(String name) |
Get the attribute with the specified name or null if no such attribute exists for this variant.
|
static Result.Attribute |
Result.Attribute.mock(String name,
String value) |
Creates a new Attribute object for test purposes.
|
Modifier and Type | Method | Description |
---|---|---|
Iterator<Result.Attribute> |
Result.Ad.iterator() |
|
Iterator<Result.Attribute> |
Result.Category.iterator() |
|
Iterator<Result.Attribute> |
Result.Product.iterator() |
|
Iterator<Result.Attribute> |
Result.Variant.iterator() |
Modifier and Type | Method | Description |
---|---|---|
static Result.Ad |
Result.Ad.mock(String key,
String ticket,
TimePoint startTime,
TimePoint endTime,
Filter included,
Filter related,
String campaignKey,
Result.Products products,
List<Result.Attribute> attributes) |
Creates a new Ad object for test purposes.
|
static Result.CategoryData |
Result.CategoryData.mock(String key,
String ticket,
String parentKey,
String tree,
List<Result.Attribute> attributes,
List<Result.Attribute> specialAttributes) |
Creates a new CategoryData object for test purposes.
|
static Result.CategoryNode |
Result.CategoryNode.mock(String key,
String ticket,
Result.CategoryNode parent,
String parentKey,
List<Result.Attribute> attributes,
List<Result.Attribute> specialAttributes) |
Creates a new leaf CategoryNode object for test purposes.
|
static Result.CategoryNode |
Result.CategoryNode.mock(String key,
String ticket,
Result.CategoryNode parent,
String parentKey,
List<Result.Attribute> attributes,
List<Result.Attribute> specialAttributes,
List<Result.CategoryNode> subcategories) |
Creates a new CategoryNode object with subcategories for test purposes.
|
static Result.Variant |
Result.Variant.mock(String key,
String ticket,
List<Result.Attribute> attributes) |
Creates a new Variant object for test purposes.
|
static Result.Variant |
Result.Variant.mock(String key,
String ticket,
List<Result.Attribute> attributes,
Map<String,List<Result.CategoryData>> categoryReferenceAttributes) |
Creates a new Variant object with category references for test purposes.
|
Copyright © 2021 Apptus Technologies AB. All rights reserved.