public abstract class PdtRowEurope1AttributeHandler<T extends PDTRowModel,MODEL extends ProductModel> extends Object implements DynamicAttributeHandler<Collection<T>,MODEL>
| Modifier and Type | Field and Description |
|---|---|
protected FlexibleSearchService |
flexibleSearchService |
protected SessionService |
sessionService |
protected TypeService |
typeService |
| Constructor and Description |
|---|
PdtRowEurope1AttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<T> |
addWildCardsPdtRows(ProductModel product,
Collection<T> ownPdtRows) |
protected Collection<T> |
filteroutWildcardsPdtRows(ProductModel product,
Collection<T> pdtRows) |
Collection<T> |
get(MODEL model)
Holds logic behind getter for dynamic attribute.
|
protected abstract Collection<T> |
getOwnPdtRowModels(ProductModel product) |
protected abstract Comparator<T> |
getPdtRowComparator() |
protected abstract PK |
getProductGroupPK(ProductModel product) |
protected abstract String |
getType() |
void |
set(MODEL model,
Collection<T> value)
Holds logic behind setter for dynamic attribute.
|
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
protected abstract void |
setOwnPdtRowModels(ProductModel product,
Collection<T> ownPdtRows) |
void |
setSessionService(SessionService sessionService) |
void |
setTypeService(TypeService typeService) |
protected Collection<T> |
sortPdtRows(Collection<T> pdtRows) |
protected boolean |
useFastAlg() |
protected TypeService typeService
protected FlexibleSearchService flexibleSearchService
protected SessionService sessionService
public Collection<T> get(MODEL model)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<Collection<T extends PDTRowModel>,MODEL extends ProductModel>model - model for which dynamic attribute is declared.public void set(MODEL model, Collection<T> value)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<Collection<T extends PDTRowModel>,MODEL extends ProductModel>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.protected Collection<T> addWildCardsPdtRows(ProductModel product, Collection<T> ownPdtRows)
protected Collection<T> filteroutWildcardsPdtRows(ProductModel product, Collection<T> pdtRows)
protected abstract PK getProductGroupPK(ProductModel product)
protected abstract Collection<T> getOwnPdtRowModels(ProductModel product)
protected abstract void setOwnPdtRowModels(ProductModel product, Collection<T> ownPdtRows)
protected abstract Comparator<T> getPdtRowComparator()
protected abstract String getType()
protected Collection<T> sortPdtRows(Collection<T> pdtRows)
protected boolean useFastAlg()
public void setTypeService(TypeService typeService)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setSessionService(SessionService sessionService)
Copyright © 2017 SAP SE. All Rights Reserved.