| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureTestBuilder.Builder.build() |
Feature |
FeatureTestBuilder.ReferenceBuilder.build() |
Feature |
FeatureTestBuilder.BooleanBuilder.build() |
Feature |
FeatureTestBuilder.StringBuilder.build() |
Feature |
FeatureTestBuilder.EnumBuilder.build() |
Feature |
FeatureTestBuilder.DateBuilder.build() |
Feature |
FeatureTestBuilder.NumberBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<FeatureValue> |
AbstractClassificationAttributeTranslator.getFeatureValues(ExcelClassificationAttribute excelAttribute,
Feature feature) |
protected java.util.stream.Stream<java.lang.String> |
AbstractClassificationAttributeTranslator.getStreamOfValuesToJoin(ExcelClassificationAttribute excelAttribute,
Feature feature) |
protected java.util.stream.Stream<java.lang.String> |
AbstractClassificationRangeTranslator.getStreamOfValuesToJoin(ExcelClassificationAttribute excelAttribute,
Feature feature) |
protected java.util.Collection<FeatureValue> |
AbstractClassificationAttributeTranslator.getUnlocalizedFeatureValues(ExcelClassificationAttribute excelAttribute,
Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
Feature |
ClassificationService.getFeature(ItemModel item,
ClassAttributeAssignmentModel assignment)
Deprecated.
since ages - use
ClassificationService.getFeature(ProductModel, ClassAttributeAssignmentModel) instead. |
Feature |
ClassificationService.getFeature(ProductModel product,
ClassAttributeAssignmentModel assignment)
Returns a classification feature for a given product and assignment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClassificationService.setFeature(ProductModel product,
Feature feature)
Sets a single
Feature to the given ProductModel. |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalizedFeature
Localized feature contains collection of values for each language.
|
class |
UnlocalizedFeature
A product feature with its
FeatureValues and along with its ClassAttributeAssignmentModel if any. |
| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureList.getFeatureByAssignment(ClassAttributeAssignmentModel assignment)
Gets the feature by assignment.
|
Feature |
FeatureList.getFeatureByCode(java.lang.String code)
Returns the (typed) feature assigned to the attribute with the given code, or null if there's no such feature.
|
Feature |
FeatureList.getFeatureByName(java.lang.String name)
Returns the feature with the given name of null if there's no such feature.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Feature> |
FeatureList.getFeatures()
Returns the list of features.
|
java.util.Iterator<Feature> |
FeatureList.iterator() |
| Constructor and Description |
|---|
FeatureList(Feature... features)
Initializes this object with variable array of features.
|
| Constructor and Description |
|---|
FeatureList(java.util.List<Feature> features)
Initializes this object with a list of features.
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
DefaultClassificationService.getFeature(ItemModel item,
ClassAttributeAssignmentModel assignment)
Deprecated.
since ages
|
Feature |
DefaultClassificationService.getFeature(ProductModel product,
ClassAttributeAssignmentModel assignment) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultClassificationService.setFeature(ProductModel product,
Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Feature> |
LoadStoreFeaturesStrategy.loadFeatures(java.util.List<ClassAttributeAssignmentModel> assignments,
ProductModel product)
Load features for particular product.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadStoreFeaturesStrategy.replaceFeatures(java.util.List<ClassAttributeAssignmentModel> allAssignments,
ProductModel product,
java.util.List<Feature> features)
Store features for particular product to the database.
|
void |
LoadStoreFeaturesStrategy.storeFeatures(ProductModel product,
java.util.List<Feature> features)
Store features for particular product to the database.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Feature> |
DefaultLoadStoreFeaturesStrategy.loadFeatures(java.util.List<ClassAttributeAssignmentModel> assignments,
ProductModel product) |
protected java.util.List<Feature> |
DefaultLoadStoreFeaturesStrategy.loadTypedFeatures(java.util.List<ClassAttributeAssignmentModel> assignments,
ProductModel product) |
protected java.util.List<Feature> |
DefaultLoadStoreFeaturesStrategy.loadUntypedFeatures(ProductModel product) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultLoadStoreFeaturesStrategy.replaceFeatures(java.util.List<ClassAttributeAssignmentModel> allAssignments,
ProductModel product,
java.util.List<Feature> features) |
void |
DefaultLoadStoreFeaturesStrategy.storeFeatures(ProductModel product,
java.util.List<Feature> features) |
protected java.util.List<ProductFeatureModel> |
DefaultLoadStoreFeaturesStrategy.storeFeaturesInTx(ProductModel product,
java.util.List<Feature> features) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<Feature,FeatureData> |
ProductFeatureListPopulator.getFeatureConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
FeaturePopulator.populate(Feature source,
FeatureData target) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductFeatureListPopulator.setFeatureConverter(Converter<Feature,FeatureData> featureConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected Feature |
ProductClassificationAttributesValueResolver.getFeature(IndexedProperty indexedProperty,
FeatureList featureList) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<FeatureValue> |
ProductClassificationAttributesValueResolver.getFeatureValues(Feature feature,
Qualifier qualifier) |
| Modifier and Type | Method and Description |
|---|---|
protected Feature |
ClassificationPropertyAccessor.getFeatureByCode(EvaluationContext evaluationContext,
ProductModel productModel,
java.lang.String qualifier) |
protected Feature |
ClassificationPropertyAccessor.readModifiedFeature(EvaluationContext evaluationContext,
ProductModel productModel,
java.lang.String qualifier) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<ClassificationClassModel,java.util.List<Feature>> |
ClassificationTabEditorAreaRenderer.prepareDataForRendering(ProductModel product) |
| Modifier and Type | Method and Description |
|---|---|
protected Editor |
ClassificationTabEditorAreaRenderer.createEditor(Feature feature,
WidgetInstanceManager widgetInstanceManager,
boolean canWriteFeature) |
protected void |
ClassificationTabEditorAreaRenderer.ifRangeAllowOneValue(Feature feature,
Editor editor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ClassificationTabEditorAreaRenderer.renderAttributes(Groupbox section,
java.util.List<Feature> features,
WidgetInstanceManager widgetInstanceManager) |
protected void |
ClassificationTabEditorAreaRenderer.renderSection(ClassificationClassModel classificationClassModel,
java.util.List<Feature> features,
Component parent,
WidgetInstanceManager widgetInstanceManager) |
protected void |
ClassificationTabEditorAreaRenderer.saveFeatures(ProductModel productModel,
java.util.Map<java.lang.String,Feature> modifiedProductFeatures) |
protected void |
FeaturePeristanceHandler.saveFeatures(ProductModel productModel,
java.util.Map<java.lang.String,Feature> productFeatures) |
| Modifier and Type | Method and Description |
|---|---|
int |
FeatureComparator.compare(Feature leftObject,
Feature rightObject) |
| Modifier and Type | Method and Description |
|---|---|
static ClassificationInfo |
BackofficeClassificationUtils.convertFeatureToClassificationInfo(Feature feature)
Converts
Feature into ClassificationInfo |
static void |
BackofficeClassificationUtils.updateFeatureWithClassificationInfo(Feature feature,
ClassificationInfo info)
Updates
Feature with values from ClassificationInfo |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ExternalConfigurationFromVariantStrategyImpl.isFeatureRelatedToCurrentProduct(Feature feature,
java.lang.String kbId) |
protected CPSExternalCharacteristic |
ExternalConfigurationFromVariantStrategyImpl.mapToCPSCharacteristics(Feature feature,
ProductModel product) |
protected java.lang.String |
ExternalConfigurationFromVariantStrategyImpl.readCharacteristicName(Feature feature) |
Copyright © 2018 SAP SE. All Rights Reserved.