Class CategoryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.category.model.CategoryModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClassificationClassModel
,ConfigurationCategoryModel
,VariantCategoryModel
,VariantValueCategoryModel
public class CategoryModel extends ItemModel
Generated model class for type Category first defined at extension catalog.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_CATEGORIESFORPRODUCTCAROUSELCOMPONENT
Generated relation code constant for relationCategoriesForProductCarouselComponent
defining source attributeproductCarouselComponents
in extensioncms2lib
.static java.lang.String
_CATEGORIESFORRESTRICTION
Generated relation code constant for relationCategoriesForRestriction
defining source attributerestrictions
in extensioncms2
.static java.lang.String
_CATEGORYCATEGORYRELATION
Generated relation code constant for relationCategoryCategoryRelation
defining source attributesupercategories
in extensioncatalog
.static java.lang.String
_CATEGORYFEATURECOMPONENTS2CATEGORYREL
Generated relation code constant for relationCategoryFeatureComponents2CategoryRel
defining source attributecategoryFeatureComponents
in extensionacceleratorcms
.static java.lang.String
_PRODUCTLISTCOMPONENTSFORCATEGORY
Generated relation code constant for relationProductListComponentsForCategory
defining source attributeproductListComponents
in extensioncms2lib
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ALLOWEDPRINCIPALS
Generated constant - Attribute key ofCategory.allowedPrincipals
attribute defined at extensioncatalog
.static java.lang.String
ALLSUBCATEGORIES
Generated constant - Attribute key ofCategory.allSubcategories
attribute defined at extensioncatalog
.static java.lang.String
ALLSUPERCATEGORIES
Generated constant - Attribute key ofCategory.allSupercategories
attribute defined at extensioncatalog
.static java.lang.String
ALLYFORMDEFINITIONS
Generated constant - Attribute key ofCategory.allYFormDefinitions
attribute defined at extensionxyformsservices
.static java.lang.String
CATALOG
Generated constant - Attribute key ofCategory.catalog
attribute defined at extensioncatalog
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofCategory.catalogVersion
attribute defined at extensioncatalog
.static java.lang.String
CATEGORIES
Generated constant - Attribute key ofCategory.categories
attribute defined at extensioncatalog
.static java.lang.String
CATEGORYFEATURECOMPONENTS
Generated constant - Attribute key ofCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
.static java.lang.String
CODE
Generated constant - Attribute key ofCategory.code
attribute defined at extensioncatalog
.static java.lang.String
DATA_SHEET
Generated constant - Attribute key ofCategory.data_sheet
attribute defined at extensioncatalog
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofCategory.description
attribute defined at extensioncatalog
.static java.lang.String
DETAIL
Generated constant - Attribute key ofCategory.detail
attribute defined at extensioncatalog
.static java.lang.String
KEYWORDS
Generated constant - Attribute key ofCategory.keywords
attribute defined at extensioncatalog
.static java.lang.String
LINKCOMPONENTS
Generated constant - Attribute key ofCategory.linkComponents
attribute defined at extensioncms2
.static java.lang.String
LOGO
Generated constant - Attribute key ofCategory.logo
attribute defined at extensioncatalog
.static java.lang.String
MEDIAS
Generated constant - Attribute key ofCategory.medias
attribute defined at extensioncatalog
.static java.lang.String
NAME
Generated constant - Attribute key ofCategory.name
attribute defined at extensioncatalog
.static java.lang.String
NORMAL
Generated constant - Attribute key ofCategory.normal
attribute defined at extensioncatalog
.static java.lang.String
ORDER
Generated constant - Attribute key ofCategory.order
attribute defined at extensioncatalog
.static java.lang.String
OTHERS
Generated constant - Attribute key ofCategory.others
attribute defined at extensioncatalog
.static java.lang.String
PICTURE
Generated constant - Attribute key ofCategory.picture
attribute defined at extensioncatalog
.static java.lang.String
PRODUCTCAROUSELCOMPONENTS
Generated constant - Attribute key ofCategory.productCarouselComponents
attribute defined at extensioncms2lib
.static java.lang.String
PRODUCTLISTCOMPONENTS
Generated constant - Attribute key ofCategory.productListComponents
attribute defined at extensioncms2lib
.static java.lang.String
PRODUCTS
Generated constant - Attribute key ofCategory.products
attribute defined at extensioncatalog
.static java.lang.String
PROMOTIONS
Generated constant - Attribute key ofCategory.promotions
attribute defined at extensionpromotions
.static java.lang.String
RESTRICTIONS
Generated constant - Attribute key ofCategory.restrictions
attribute defined at extensioncms2
.static java.lang.String
STOCKLEVELTHRESHOLD
Generated constant - Attribute key ofCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.static java.lang.String
SUPERCATEGORIES
Generated constant - Attribute key ofCategory.supercategories
attribute defined at extensioncatalog
.static java.lang.String
THUMBNAIL
Generated constant - Attribute key ofCategory.thumbnail
attribute defined at extensioncatalog
.static java.lang.String
THUMBNAILS
Generated constant - Attribute key ofCategory.thumbnails
attribute defined at extensioncatalog
.static java.lang.String
VENDORS
Generated constant - Attribute key ofCategory.vendors
attribute defined at extensionmarketplaceservices
.static java.lang.String
YFORMDEFINITIONS
Generated constant - Attribute key ofCategory.yFormDefinitions
attribute defined at extensionxyformsservices
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CategoryModel()
Generated constructor - Default constructor for generic creation.CategoryModel(CatalogVersionModel _catalogVersion, java.lang.String _code)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCategoryModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCategoryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PrincipalModel>
getAllowedPrincipals()
Generated method - Getter of theCategory.allowedPrincipals
attribute defined at extensioncatalog
.java.util.Collection<CategoryModel>
getAllSubcategories()
Generated method - Getter of theCategory.allSubcategories
dynamic attribute defined at extensioncatalog
.java.util.Collection<CategoryModel>
getAllSupercategories()
Generated method - Getter of theCategory.allSupercategories
dynamic attribute defined at extensioncatalog
.java.util.List<YFormDefinitionModel>
getAllYFormDefinitions()
Generated method - Getter of theCategory.allYFormDefinitions
dynamic attribute defined at extensionxyformsservices
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theCategory.catalogVersion
attribute defined at extensioncatalog
.java.util.List<CategoryModel>
getCategories()
Generated method - Getter of theCategory.categories
attribute defined at extensioncatalog
.java.util.List<CategoryFeatureComponentModel>
getCategoryFeatureComponents()
Generated method - Getter of theCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
.java.lang.String
getCode()
Generated method - Getter of theCategory.code
attribute defined at extensioncatalog
.java.util.Collection<MediaModel>
getData_sheet()
Generated method - Getter of theCategory.data_sheet
attribute defined at extensioncatalog
.java.lang.String
getDescription()
Generated method - Getter of theCategory.description
attribute defined at extensioncatalog
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theCategory.description
attribute defined at extensioncatalog
.java.util.Collection<MediaModel>
getDetail()
Generated method - Getter of theCategory.detail
attribute defined at extensioncatalog
.java.util.List<KeywordModel>
getKeywords()
Generated method - Getter of theCategory.keywords
attribute defined at extensioncatalog
.java.util.List<KeywordModel>
getKeywords(java.util.Locale loc)
Generated method - Getter of theCategory.keywords
attribute defined at extensioncatalog
.java.util.List<CMSLinkComponentModel>
getLinkComponents()
Generated method - Getter of theCategory.linkComponents
attribute defined at extensioncms2
.java.util.Collection<MediaModel>
getLogo()
Generated method - Getter of theCategory.logo
attribute defined at extensioncatalog
.java.util.List<MediaModel>
getMedias()
Generated method - Getter of theCategory.medias
attribute defined at extensioncatalog
.java.lang.String
getName()
Generated method - Getter of theCategory.name
attribute defined at extensioncatalog
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theCategory.name
attribute defined at extensioncatalog
.java.util.Collection<MediaModel>
getNormal()
Generated method - Getter of theCategory.normal
attribute defined at extensioncatalog
.java.lang.Integer
getOrder()
Generated method - Getter of theCategory.order
attribute defined at extensioncatalog
.java.util.Collection<MediaModel>
getOthers()
Generated method - Getter of theCategory.others
attribute defined at extensioncatalog
.MediaModel
getPicture()
Generated method - Getter of theCategory.picture
attribute defined at extensioncatalog
.java.util.Collection<ProductCarouselComponentModel>
getProductCarouselComponents()
Generated method - Getter of theCategory.productCarouselComponents
attribute defined at extensioncms2lib
.java.util.List<ProductListComponentModel>
getProductListComponents()
Generated method - Getter of theCategory.productListComponents
attribute defined at extensioncms2lib
.java.util.List<ProductModel>
getProducts()
Generated method - Getter of theCategory.products
attribute defined at extensioncatalog
.java.util.Collection<ProductPromotionModel>
getPromotions()
Generated method - Getter of theCategory.promotions
attribute defined at extensionpromotions
.java.util.Collection<CMSCategoryRestrictionModel>
getRestrictions()
Generated method - Getter of theCategory.restrictions
attribute defined at extensioncms2
.java.lang.Integer
getStockLevelThreshold()
Generated method - Getter of theCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.java.util.List<CategoryModel>
getSupercategories()
Generated method - Getter of theCategory.supercategories
attribute defined at extensioncatalog
.MediaModel
getThumbnail()
Generated method - Getter of theCategory.thumbnail
attribute defined at extensioncatalog
.java.util.Collection<MediaModel>
getThumbnails()
Generated method - Getter of theCategory.thumbnails
attribute defined at extensioncatalog
.java.util.Collection<VendorModel>
getVendors()
Generated method - Getter of theCategory.vendors
attribute defined at extensionmarketplaceservices
.java.util.Set<YFormDefinitionModel>
getYFormDefinitions()
Generated method - Getter of theCategory.yFormDefinitions
attribute defined at extensionxyformsservices
.void
setAllowedPrincipals(java.util.List<PrincipalModel> value)
Generated method - Setter ofCategory.allowedPrincipals
attribute defined at extensioncatalog
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCategory.catalogVersion
attribute defined at extensioncatalog
.void
setCategories(java.util.List<CategoryModel> value)
Generated method - Setter ofCategory.categories
attribute defined at extensioncatalog
.void
setCategoryFeatureComponents(java.util.List<CategoryFeatureComponentModel> value)
Generated method - Setter ofCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
.void
setCode(java.lang.String value)
Generated method - Setter ofCategory.code
attribute defined at extensioncatalog
.void
setData_sheet(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.data_sheet
attribute defined at extensioncatalog
.void
setDescription(java.lang.String value)
Generated method - Setter ofCategory.description
attribute defined at extensioncatalog
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategory.description
attribute defined at extensioncatalog
.void
setDetail(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.detail
attribute defined at extensioncatalog
.void
setKeywords(java.util.List<KeywordModel> value)
Generated method - Setter ofCategory.keywords
attribute defined at extensioncatalog
.void
setKeywords(java.util.List<KeywordModel> value, java.util.Locale loc)
Generated method - Setter ofCategory.keywords
attribute defined at extensioncatalog
.void
setLinkComponents(java.util.List<CMSLinkComponentModel> value)
Generated method - Setter ofCategory.linkComponents
attribute defined at extensioncms2
.void
setLogo(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.logo
attribute defined at extensioncatalog
.void
setMedias(java.util.List<MediaModel> value)
Generated method - Setter ofCategory.medias
attribute defined at extensioncatalog
.void
setName(java.lang.String value)
Generated method - Setter ofCategory.name
attribute defined at extensioncatalog
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategory.name
attribute defined at extensioncatalog
.void
setNormal(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.normal
attribute defined at extensioncatalog
.void
setOrder(java.lang.Integer value)
Generated method - Setter ofCategory.order
attribute defined at extensioncatalog
.void
setOthers(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.others
attribute defined at extensioncatalog
.void
setPicture(MediaModel value)
Generated method - Setter ofCategory.picture
attribute defined at extensioncatalog
.void
setProductCarouselComponents(java.util.Collection<ProductCarouselComponentModel> value)
Generated method - Setter ofCategory.productCarouselComponents
attribute defined at extensioncms2lib
.void
setProductListComponents(java.util.List<ProductListComponentModel> value)
Generated method - Setter ofCategory.productListComponents
attribute defined at extensioncms2lib
.void
setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofCategory.products
attribute defined at extensioncatalog
.void
setPromotions(java.util.Collection<ProductPromotionModel> value)
Generated method - Setter ofCategory.promotions
attribute defined at extensionpromotions
.void
setRestrictions(java.util.Collection<CMSCategoryRestrictionModel> value)
Generated method - Setter ofCategory.restrictions
attribute defined at extensioncms2
.void
setStockLevelThreshold(java.lang.Integer value)
Generated method - Setter ofCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.void
setSupercategories(java.util.List<CategoryModel> value)
Generated method - Setter ofCategory.supercategories
attribute defined at extensioncatalog
.void
setThumbnail(MediaModel value)
Generated method - Setter ofCategory.thumbnail
attribute defined at extensioncatalog
.void
setThumbnails(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.thumbnails
attribute defined at extensioncatalog
.void
setVendors(java.util.Collection<VendorModel> value)
Generated method - Setter ofCategory.vendors
attribute defined at extensionmarketplaceservices
.void
setYFormDefinitions(java.util.Set<YFormDefinitionModel> value)
Generated method - Setter ofCategory.yFormDefinitions
attribute defined at extensionxyformsservices
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_CATEGORYCATEGORYRELATION
public static final java.lang.String _CATEGORYCATEGORYRELATION
Generated relation code constant for relationCategoryCategoryRelation
defining source attributesupercategories
in extensioncatalog
.- See Also:
- Constant Field Values
-
_CATEGORIESFORRESTRICTION
public static final java.lang.String _CATEGORIESFORRESTRICTION
Generated relation code constant for relationCategoriesForRestriction
defining source attributerestrictions
in extensioncms2
.- See Also:
- Constant Field Values
-
_PRODUCTLISTCOMPONENTSFORCATEGORY
public static final java.lang.String _PRODUCTLISTCOMPONENTSFORCATEGORY
Generated relation code constant for relationProductListComponentsForCategory
defining source attributeproductListComponents
in extensioncms2lib
.- See Also:
- Constant Field Values
-
_CATEGORIESFORPRODUCTCAROUSELCOMPONENT
public static final java.lang.String _CATEGORIESFORPRODUCTCAROUSELCOMPONENT
Generated relation code constant for relationCategoriesForProductCarouselComponent
defining source attributeproductCarouselComponents
in extensioncms2lib
.- See Also:
- Constant Field Values
-
_CATEGORYFEATURECOMPONENTS2CATEGORYREL
public static final java.lang.String _CATEGORYFEATURECOMPONENTS2CATEGORYREL
Generated relation code constant for relationCategoryFeatureComponents2CategoryRel
defining source attributecategoryFeatureComponents
in extensionacceleratorcms
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCategory.description
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofCategory.order
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG
Generated constant - Attribute key ofCategory.catalog
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofCategory.catalogVersion
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
NORMAL
public static final java.lang.String NORMAL
Generated constant - Attribute key ofCategory.normal
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
THUMBNAILS
public static final java.lang.String THUMBNAILS
Generated constant - Attribute key ofCategory.thumbnails
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
DETAIL
public static final java.lang.String DETAIL
Generated constant - Attribute key ofCategory.detail
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
LOGO
public static final java.lang.String LOGO
Generated constant - Attribute key ofCategory.logo
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
DATA_SHEET
public static final java.lang.String DATA_SHEET
Generated constant - Attribute key ofCategory.data_sheet
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
OTHERS
public static final java.lang.String OTHERS
Generated constant - Attribute key ofCategory.others
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
THUMBNAIL
public static final java.lang.String THUMBNAIL
Generated constant - Attribute key ofCategory.thumbnail
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
PICTURE
public static final java.lang.String PICTURE
Generated constant - Attribute key ofCategory.picture
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofCategory.name
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCategory.code
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ALLSUBCATEGORIES
public static final java.lang.String ALLSUBCATEGORIES
Generated constant - Attribute key ofCategory.allSubcategories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ALLSUPERCATEGORIES
public static final java.lang.String ALLSUPERCATEGORIES
Generated constant - Attribute key ofCategory.allSupercategories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
KEYWORDS
public static final java.lang.String KEYWORDS
Generated constant - Attribute key ofCategory.keywords
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ALLOWEDPRINCIPALS
public static final java.lang.String ALLOWEDPRINCIPALS
Generated constant - Attribute key ofCategory.allowedPrincipals
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Generated constant - Attribute key ofCategory.products
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
SUPERCATEGORIES
public static final java.lang.String SUPERCATEGORIES
Generated constant - Attribute key ofCategory.supercategories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CATEGORIES
public static final java.lang.String CATEGORIES
Generated constant - Attribute key ofCategory.categories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
MEDIAS
public static final java.lang.String MEDIAS
Generated constant - Attribute key ofCategory.medias
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
RESTRICTIONS
public static final java.lang.String RESTRICTIONS
Generated constant - Attribute key ofCategory.restrictions
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
LINKCOMPONENTS
public static final java.lang.String LINKCOMPONENTS
Generated constant - Attribute key ofCategory.linkComponents
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PRODUCTLISTCOMPONENTS
public static final java.lang.String PRODUCTLISTCOMPONENTS
Generated constant - Attribute key ofCategory.productListComponents
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
PRODUCTCAROUSELCOMPONENTS
public static final java.lang.String PRODUCTCAROUSELCOMPONENTS
Generated constant - Attribute key ofCategory.productCarouselComponents
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
PROMOTIONS
public static final java.lang.String PROMOTIONS
Generated constant - Attribute key ofCategory.promotions
attribute defined at extensionpromotions
.- See Also:
- Constant Field Values
-
CATEGORYFEATURECOMPONENTS
public static final java.lang.String CATEGORYFEATURECOMPONENTS
Generated constant - Attribute key ofCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
.- See Also:
- Constant Field Values
-
STOCKLEVELTHRESHOLD
public static final java.lang.String STOCKLEVELTHRESHOLD
Generated constant - Attribute key ofCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.- See Also:
- Constant Field Values
-
VENDORS
public static final java.lang.String VENDORS
Generated constant - Attribute key ofCategory.vendors
attribute defined at extensionmarketplaceservices
.- See Also:
- Constant Field Values
-
ALLYFORMDEFINITIONS
public static final java.lang.String ALLYFORMDEFINITIONS
Generated constant - Attribute key ofCategory.allYFormDefinitions
attribute defined at extensionxyformsservices
.- See Also:
- Constant Field Values
-
YFORMDEFINITIONS
public static final java.lang.String YFORMDEFINITIONS
Generated constant - Attribute key ofCategory.yFormDefinitions
attribute defined at extensionxyformsservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CategoryModel
public CategoryModel()
Generated constructor - Default constructor for generic creation.
-
CategoryModel
public CategoryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public CategoryModel(CatalogVersionModel _catalogVersion, java.lang.String _code)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCategory
at extensioncatalog
_code
- initial attribute declared by typeCategory
at extensioncatalog
-
CategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public CategoryModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCategory
at extensioncatalog
_code
- initial attribute declared by typeCategory
at extensioncatalog
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getAllowedPrincipals
@Accessor(qualifier="allowedPrincipals", type=GETTER) public java.util.List<PrincipalModel> getAllowedPrincipals()
Generated method - Getter of theCategory.allowedPrincipals
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the allowedPrincipals - Principals which are allowed to access this catalog category
-
getAllSubcategories
@Accessor(qualifier="allSubcategories", type=GETTER) public java.util.Collection<CategoryModel> getAllSubcategories()
Generated method - Getter of theCategory.allSubcategories
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the allSubcategories
-
getAllSupercategories
@Accessor(qualifier="allSupercategories", type=GETTER) public java.util.Collection<CategoryModel> getAllSupercategories()
Generated method - Getter of theCategory.allSupercategories
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the allSupercategories
-
getAllYFormDefinitions
@Accessor(qualifier="allYFormDefinitions", type=GETTER) public java.util.List<YFormDefinitionModel> getAllYFormDefinitions()
Generated method - Getter of theCategory.allYFormDefinitions
dynamic attribute defined at extensionxyformsservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the allYFormDefinitions
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theCategory.catalogVersion
attribute defined at extensioncatalog
.- Returns:
- the catalogVersion - CatalogVersion
-
getCategories
@Accessor(qualifier="categories", type=GETTER) public java.util.List<CategoryModel> getCategories()
Generated method - Getter of theCategory.categories
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the categories - Sub Categories
-
getCategoryFeatureComponents
@Accessor(qualifier="categoryFeatureComponents", type=GETTER) public java.util.List<CategoryFeatureComponentModel> getCategoryFeatureComponents()
Generated method - Getter of theCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the categoryFeatureComponents
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCategory.code
attribute defined at extensioncatalog
.- Returns:
- the code - Code
-
getData_sheet
@Accessor(qualifier="data_sheet", type=GETTER) public java.util.Collection<MediaModel> getData_sheet()
Generated method - Getter of theCategory.data_sheet
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the data_sheet
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCategory.description
attribute defined at extensioncatalog
.- Returns:
- the description - Catalog Category Description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theCategory.description
attribute defined at extensioncatalog
.- Parameters:
loc
- the value localization key- Returns:
- the description - Catalog Category Description
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getDetail
@Accessor(qualifier="detail", type=GETTER) public java.util.Collection<MediaModel> getDetail()
Generated method - Getter of theCategory.detail
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the detail
-
getKeywords
@Accessor(qualifier="keywords", type=GETTER) public java.util.List<KeywordModel> getKeywords()
Generated method - Getter of theCategory.keywords
attribute defined at extensioncatalog
.- Returns:
- the keywords - Keyword
-
getKeywords
@Accessor(qualifier="keywords", type=GETTER) public java.util.List<KeywordModel> getKeywords(java.util.Locale loc)
Generated method - Getter of theCategory.keywords
attribute defined at extensioncatalog
.- Parameters:
loc
- the value localization key- Returns:
- the keywords - Keyword
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getLinkComponents
@Accessor(qualifier="linkComponents", type=GETTER) public java.util.List<CMSLinkComponentModel> getLinkComponents()
Generated method - Getter of theCategory.linkComponents
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the linkComponents
-
getLogo
@Accessor(qualifier="logo", type=GETTER) public java.util.Collection<MediaModel> getLogo()
Generated method - Getter of theCategory.logo
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the logo
-
getMedias
@Accessor(qualifier="medias", type=GETTER) public java.util.List<MediaModel> getMedias()
Generated method - Getter of theCategory.medias
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the medias - Category medias
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theCategory.name
attribute defined at extensioncatalog
.- Returns:
- the name - Name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theCategory.name
attribute defined at extensioncatalog
.- Parameters:
loc
- the value localization key- Returns:
- the name - Name
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getNormal
@Accessor(qualifier="normal", type=GETTER) public java.util.Collection<MediaModel> getNormal()
Generated method - Getter of theCategory.normal
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the normal
-
getOrder
@Accessor(qualifier="order", type=GETTER) public java.lang.Integer getOrder()
Generated method - Getter of theCategory.order
attribute defined at extensioncatalog
.- Returns:
- the order - Order
-
getOthers
@Accessor(qualifier="others", type=GETTER) public java.util.Collection<MediaModel> getOthers()
Generated method - Getter of theCategory.others
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the others
-
getPicture
@Accessor(qualifier="picture", type=GETTER) public MediaModel getPicture()
Generated method - Getter of theCategory.picture
attribute defined at extensioncatalog
.- Returns:
- the picture - Image
-
getProductCarouselComponents
@Accessor(qualifier="productCarouselComponents", type=GETTER) public java.util.Collection<ProductCarouselComponentModel> getProductCarouselComponents()
Generated method - Getter of theCategory.productCarouselComponents
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the productCarouselComponents
-
getProductListComponents
@Accessor(qualifier="productListComponents", type=GETTER) public java.util.List<ProductListComponentModel> getProductListComponents()
Generated method - Getter of theCategory.productListComponents
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the productListComponents
-
getProducts
@Accessor(qualifier="products", type=GETTER) public java.util.List<ProductModel> getProducts()
Generated method - Getter of theCategory.products
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products - Products
-
getPromotions
@Accessor(qualifier="promotions", type=GETTER) public java.util.Collection<ProductPromotionModel> getPromotions()
Generated method - Getter of theCategory.promotions
attribute defined at extensionpromotions
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the promotions - Promotions
-
getRestrictions
@Accessor(qualifier="restrictions", type=GETTER) public java.util.Collection<CMSCategoryRestrictionModel> getRestrictions()
Generated method - Getter of theCategory.restrictions
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictions
-
getStockLevelThreshold
@Accessor(qualifier="stockLevelThreshold", type=GETTER) public java.lang.Integer getStockLevelThreshold()
Generated method - Getter of theCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.- Returns:
- the stockLevelThreshold - Category level inventory threshold value
-
getSupercategories
@Accessor(qualifier="supercategories", type=GETTER) public java.util.List<CategoryModel> getSupercategories()
Generated method - Getter of theCategory.supercategories
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the supercategories - Super Categories
-
getThumbnail
@Accessor(qualifier="thumbnail", type=GETTER) public MediaModel getThumbnail()
Generated method - Getter of theCategory.thumbnail
attribute defined at extensioncatalog
.- Returns:
- the thumbnail - Small Image
-
getThumbnails
@Accessor(qualifier="thumbnails", type=GETTER) public java.util.Collection<MediaModel> getThumbnails()
Generated method - Getter of theCategory.thumbnails
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the thumbnails
-
getVendors
@Accessor(qualifier="vendors", type=GETTER) public java.util.Collection<VendorModel> getVendors()
Generated method - Getter of theCategory.vendors
attribute defined at extensionmarketplaceservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the vendors - Vendors
-
getYFormDefinitions
@Accessor(qualifier="yFormDefinitions", type=GETTER) public java.util.Set<YFormDefinitionModel> getYFormDefinitions()
Generated method - Getter of theCategory.yFormDefinitions
attribute defined at extensionxyformsservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the yFormDefinitions - Form Definitions
-
setAllowedPrincipals
@Accessor(qualifier="allowedPrincipals", type=SETTER) public void setAllowedPrincipals(java.util.List<PrincipalModel> value)
Generated method - Setter ofCategory.allowedPrincipals
attribute defined at extensioncatalog
.- Parameters:
value
- the allowedPrincipals - Principals which are allowed to access this catalog category
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCategory.catalogVersion
attribute defined at extensioncatalog
.- Parameters:
value
- the catalogVersion - CatalogVersion
-
setCategories
@Accessor(qualifier="categories", type=SETTER) public void setCategories(java.util.List<CategoryModel> value)
Generated method - Setter ofCategory.categories
attribute defined at extensioncatalog
.- Parameters:
value
- the categories - Sub Categories
-
setCategoryFeatureComponents
@Accessor(qualifier="categoryFeatureComponents", type=SETTER) public void setCategoryFeatureComponents(java.util.List<CategoryFeatureComponentModel> value)
Generated method - Setter ofCategory.categoryFeatureComponents
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the categoryFeatureComponents
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofCategory.code
attribute defined at extensioncatalog
.- Parameters:
value
- the code - Code
-
setData_sheet
@Accessor(qualifier="data_sheet", type=SETTER) public void setData_sheet(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.data_sheet
attribute defined at extensioncatalog
.- Parameters:
value
- the data_sheet
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCategory.description
attribute defined at extensioncatalog
.- Parameters:
value
- the description - Catalog Category Description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategory.description
attribute defined at extensioncatalog
.- Parameters:
value
- the description - Catalog Category Descriptionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setDetail
@Accessor(qualifier="detail", type=SETTER) public void setDetail(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.detail
attribute defined at extensioncatalog
.- Parameters:
value
- the detail
-
setKeywords
@Accessor(qualifier="keywords", type=SETTER) public void setKeywords(java.util.List<KeywordModel> value)
Generated method - Setter ofCategory.keywords
attribute defined at extensioncatalog
.- Parameters:
value
- the keywords - Keyword
-
setKeywords
@Accessor(qualifier="keywords", type=SETTER) public void setKeywords(java.util.List<KeywordModel> value, java.util.Locale loc)
Generated method - Setter ofCategory.keywords
attribute defined at extensioncatalog
.- Parameters:
value
- the keywords - Keywordloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setLinkComponents
@Accessor(qualifier="linkComponents", type=SETTER) public void setLinkComponents(java.util.List<CMSLinkComponentModel> value)
Generated method - Setter ofCategory.linkComponents
attribute defined at extensioncms2
.- Parameters:
value
- the linkComponents
-
setLogo
@Accessor(qualifier="logo", type=SETTER) public void setLogo(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.logo
attribute defined at extensioncatalog
.- Parameters:
value
- the logo
-
setMedias
@Accessor(qualifier="medias", type=SETTER) public void setMedias(java.util.List<MediaModel> value)
Generated method - Setter ofCategory.medias
attribute defined at extensioncatalog
.- Parameters:
value
- the medias - Category medias
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofCategory.name
attribute defined at extensioncatalog
.- Parameters:
value
- the name - Name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategory.name
attribute defined at extensioncatalog
.- Parameters:
value
- the name - Nameloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setNormal
@Accessor(qualifier="normal", type=SETTER) public void setNormal(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.normal
attribute defined at extensioncatalog
.- Parameters:
value
- the normal
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(java.lang.Integer value)
Generated method - Setter ofCategory.order
attribute defined at extensioncatalog
.- Parameters:
value
- the order - Order
-
setOthers
@Accessor(qualifier="others", type=SETTER) public void setOthers(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.others
attribute defined at extensioncatalog
.- Parameters:
value
- the others
-
setPicture
@Accessor(qualifier="picture", type=SETTER) public void setPicture(MediaModel value)
Generated method - Setter ofCategory.picture
attribute defined at extensioncatalog
.- Parameters:
value
- the picture - Image
-
setProductCarouselComponents
@Accessor(qualifier="productCarouselComponents", type=SETTER) public void setProductCarouselComponents(java.util.Collection<ProductCarouselComponentModel> value)
Generated method - Setter ofCategory.productCarouselComponents
attribute defined at extensioncms2lib
.- Parameters:
value
- the productCarouselComponents
-
setProductListComponents
@Accessor(qualifier="productListComponents", type=SETTER) public void setProductListComponents(java.util.List<ProductListComponentModel> value)
Generated method - Setter ofCategory.productListComponents
attribute defined at extensioncms2lib
.- Parameters:
value
- the productListComponents
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofCategory.products
attribute defined at extensioncatalog
.- Parameters:
value
- the products - Products
-
setPromotions
@Accessor(qualifier="promotions", type=SETTER) public void setPromotions(java.util.Collection<ProductPromotionModel> value)
Generated method - Setter ofCategory.promotions
attribute defined at extensionpromotions
.- Parameters:
value
- the promotions - Promotions
-
setRestrictions
@Accessor(qualifier="restrictions", type=SETTER) public void setRestrictions(java.util.Collection<CMSCategoryRestrictionModel> value)
Generated method - Setter ofCategory.restrictions
attribute defined at extensioncms2
.- Parameters:
value
- the restrictions
-
setStockLevelThreshold
@Accessor(qualifier="stockLevelThreshold", type=SETTER) public void setStockLevelThreshold(java.lang.Integer value)
Generated method - Setter ofCategory.stockLevelThreshold
attribute defined at extensionb2bacceleratorservices
.- Parameters:
value
- the stockLevelThreshold - Category level inventory threshold value
-
setSupercategories
@Accessor(qualifier="supercategories", type=SETTER) public void setSupercategories(java.util.List<CategoryModel> value)
Generated method - Setter ofCategory.supercategories
attribute defined at extensioncatalog
.- Parameters:
value
- the supercategories - Super Categories
-
setThumbnail
@Accessor(qualifier="thumbnail", type=SETTER) public void setThumbnail(MediaModel value)
Generated method - Setter ofCategory.thumbnail
attribute defined at extensioncatalog
.- Parameters:
value
- the thumbnail - Small Image
-
setThumbnails
@Accessor(qualifier="thumbnails", type=SETTER) public void setThumbnails(java.util.Collection<MediaModel> value)
Generated method - Setter ofCategory.thumbnails
attribute defined at extensioncatalog
.- Parameters:
value
- the thumbnails
-
setVendors
@Accessor(qualifier="vendors", type=SETTER) public void setVendors(java.util.Collection<VendorModel> value)
Generated method - Setter ofCategory.vendors
attribute defined at extensionmarketplaceservices
.- Parameters:
value
- the vendors - Vendors
-
setYFormDefinitions
@Accessor(qualifier="yFormDefinitions", type=SETTER) public void setYFormDefinitions(java.util.Set<YFormDefinitionModel> value)
Generated method - Setter ofCategory.yFormDefinitions
attribute defined at extensionxyformsservices
.- Parameters:
value
- the yFormDefinitions - Form Definitions
-
-