Class ProductAllYFormDefinitions
java.lang.Object
de.hybris.platform.xyformsservices.attribute.ProductAllYFormDefinitions
- All Implemented Interfaces:
DynamicAttributeHandler<List<YFormDefinitionModel>,,ProductModel> Serializable
public class ProductAllYFormDefinitions
extends Object
implements DynamicAttributeHandler<List<YFormDefinitionModel>,ProductModel>, Serializable
Supports return all the
YFormDefinitionModels from a Product Category hierarchy- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(ProductModel product) Returns all theYFormDefinitionModels that are assigned to its supercategories and all their supercategoriesprotected YFormDefinitionHelpervoidset(ProductModel product, List<YFormDefinitionModel> value) Holds logic behind setter for dynamic attribute.voidsetYFormDefinitionHelper(YFormDefinitionHelper yFormDefinitionHelper)
-
Constructor Details
-
ProductAllYFormDefinitions
public ProductAllYFormDefinitions()
-
-
Method Details
-
get
Returns all theYFormDefinitionModels that are assigned to its supercategories and all their supercategories- Specified by:
getin interfaceDynamicAttributeHandler<List<YFormDefinitionModel>,ProductModel> - Parameters:
product- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<List<YFormDefinitionModel>,ProductModel> - Parameters:
product- model for which dynamic attribute is declared.value- the value which will be used by setter logic.
-
getYFormDefinitionHelper
-
setYFormDefinitionHelper
-