Class DefaultRestrictionData
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.data.impl.DefaultRestrictionData
-
- All Implemented Interfaces:
RestrictionData,java.io.Serializable
- Direct Known Subclasses:
MarketplaceRestrictionDataImpl
public class DefaultRestrictionData extends java.lang.Object implements RestrictionData
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultRestrictionData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogModelgetCatalog()CategoryModelgetCategory()ProductModelgetProduct()java.lang.ObjectgetValue(java.lang.String key)booleanhasCatalog()booleanhasCategory()booleanhasProduct()booleanhasValue(java.lang.String key)voidsetCatalog(CatalogModel catalog)voidsetCategory(CategoryModel category)voidsetProduct(ProductModel product)voidsetValue(java.lang.String key, java.lang.Object value)
-
-
-
Method Detail
-
getCatalog
public CatalogModel getCatalog()
- Specified by:
getCatalogin interfaceRestrictionData
-
getCategory
public CategoryModel getCategory()
- Specified by:
getCategoryin interfaceRestrictionData
-
getProduct
public ProductModel getProduct()
- Specified by:
getProductin interfaceRestrictionData
-
getValue
public java.lang.Object getValue(java.lang.String key)
- Specified by:
getValuein interfaceRestrictionData
-
hasCatalog
public boolean hasCatalog()
- Specified by:
hasCatalogin interfaceRestrictionData
-
hasCategory
public boolean hasCategory()
- Specified by:
hasCategoryin interfaceRestrictionData
-
hasProduct
public boolean hasProduct()
- Specified by:
hasProductin interfaceRestrictionData
-
hasValue
public boolean hasValue(java.lang.String key)
- Specified by:
hasValuein interfaceRestrictionData
-
setCatalog
public void setCatalog(CatalogModel catalog)
- Specified by:
setCatalogin interfaceRestrictionData
-
setCategory
public void setCategory(CategoryModel category)
- Specified by:
setCategoryin interfaceRestrictionData
-
setProduct
public void setProduct(ProductModel product)
- Specified by:
setProductin interfaceRestrictionData
-
setValue
public void setValue(java.lang.String key, java.lang.Object value)- Specified by:
setValuein interfaceRestrictionData
-
-