Package de.hybris.platform.catalog.model
Class CatalogModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.catalog.model.CatalogModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClassificationSystemModel
,ContentCatalogModel
public class CatalogModel extends ItemModel
Generated model class for type Catalog 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
_CATALOGSFORBASESTORES
Generated relation code constant for relationCatalogsForBaseStores
defining source attributebaseStores
in extensionbasecommerce
.static java.lang.String
_CATALOGSFORRESTRICTION
Generated relation code constant for relationCatalogsForRestriction
defining source attributerestrictions
in extensioncms2
.static java.lang.String
_COMPANY2PROVIDEDCATALOGS
Generated relation code constant for relationCompany2ProvidedCatalogs
defining source attributesupplier
in extensioncatalog
.static java.lang.String
_COMPANY2PURCHASEDCATALOGS
Generated relation code constant for relationCompany2PurchasedCatalogs
defining source attributebuyer
in extensioncatalog
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTIVECATALOGVERSION
Generated constant - Attribute key ofCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.static java.lang.String
AGREEMENTS
Generated constant - Attribute key ofCatalog.agreements
attribute defined at extensioncatalog
.static java.lang.String
BASESTORES
Generated constant - Attribute key ofCatalog.baseStores
attribute defined at extensionbasecommerce
.static java.lang.String
BUYER
Generated constant - Attribute key ofCatalog.buyer
attribute defined at extensioncatalog
.static java.lang.String
CATALOGVERSIONS
Generated constant - Attribute key ofCatalog.catalogVersions
attribute defined at extensioncatalog
.static java.lang.String
DEFAULTCATALOG
Generated constant - Attribute key ofCatalog.defaultCatalog
attribute defined at extensioncatalog
.static java.lang.String
DEFAULTCURRENCY
Generated constant - Attribute key ofCatalog.defaultCurrency
attribute defined at extensioncatalog
.static java.lang.String
GENERATIONDATE
Generated constant - Attribute key ofCatalog.generationDate
attribute defined at extensioncatalog
.static java.lang.String
GENERATORINFO
Generated constant - Attribute key ofCatalog.generatorInfo
attribute defined at extensioncatalog
.static java.lang.String
ID
Generated constant - Attribute key ofCatalog.id
attribute defined at extensioncatalog
.static java.lang.String
INCLASSURANCE
Generated constant - Attribute key ofCatalog.inclAssurance
attribute defined at extensioncatalog
.static java.lang.String
INCLDUTY
Generated constant - Attribute key ofCatalog.inclDuty
attribute defined at extensioncatalog
.static java.lang.String
INCLFREIGHT
Generated constant - Attribute key ofCatalog.inclFreight
attribute defined at extensioncatalog
.static java.lang.String
INCLPACKING
Generated constant - Attribute key ofCatalog.inclPacking
attribute defined at extensioncatalog
.static java.lang.String
LANGUAGES
Generated constant - Attribute key ofCatalog.languages
attribute defined at extensioncatalog
.static java.lang.String
MIMEROOTDIRECTORY
Generated constant - Attribute key ofCatalog.mimeRootDirectory
attribute defined at extensioncatalog
.static java.lang.String
NAME
Generated constant - Attribute key ofCatalog.name
attribute defined at extensioncatalog
.static java.lang.String
PREVIEWURLTEMPLATE
Generated constant - Attribute key ofCatalog.previewURLTemplate
attribute defined at extensioncatalog
.static java.lang.String
RESTRICTIONS
Generated constant - Attribute key ofCatalog.restrictions
attribute defined at extensioncms2
.static java.lang.String
ROOTCATEGORIES
Generated constant - Attribute key ofCatalog.rootCategories
attribute defined at extensioncatalog
.static java.lang.String
SUPPLIER
Generated constant - Attribute key ofCatalog.supplier
attribute defined at extensioncatalog
.static java.lang.String
TERRITORIES
Generated constant - Attribute key ofCatalog.territories
attribute defined at extensioncatalog
.static java.lang.String
URLPATTERNS
Generated constant - Attribute key ofCatalog.urlPatterns
attribute defined at extensioncatalog
.static java.lang.String
VERSION
Generated constant - Attribute key ofCatalog.version
attribute defined at extensioncatalog
.-
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 CatalogModel()
Generated constructor - Default constructor for generic creation.CatalogModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCatalogModel(java.lang.String _id)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCatalogModel(java.lang.String _id, 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 parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogVersionModel
getActiveCatalogVersion()
Generated method - Getter of theCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.java.util.Collection<AgreementModel>
getAgreements()
Generated method - Getter of theCatalog.agreements
dynamic attribute defined at extensioncatalog
.java.util.Collection<BaseStoreModel>
getBaseStores()
Generated method - Getter of theCatalog.baseStores
attribute defined at extensionbasecommerce
.CompanyModel
getBuyer()
Generated method - Getter of theCatalog.buyer
attribute defined at extensioncatalog
.java.util.Set<CatalogVersionModel>
getCatalogVersions()
Generated method - Getter of theCatalog.catalogVersions
attribute defined at extensioncatalog
.java.lang.Boolean
getDefaultCatalog()
Generated method - Getter of theCatalog.defaultCatalog
attribute defined at extensioncatalog
.CurrencyModel
getDefaultCurrency()
Generated method - Getter of theCatalog.defaultCurrency
dynamic attribute defined at extensioncatalog
.java.util.Date
getGenerationDate()
Generated method - Getter of theCatalog.generationDate
dynamic attribute defined at extensioncatalog
.java.lang.String
getGeneratorInfo()
Generated method - Getter of theCatalog.generatorInfo
dynamic attribute defined at extensioncatalog
.java.lang.String
getId()
Generated method - Getter of theCatalog.id
attribute defined at extensioncatalog
.java.lang.Boolean
getInclAssurance()
Generated method - Getter of theCatalog.inclAssurance
dynamic attribute defined at extensioncatalog
.java.lang.Boolean
getInclDuty()
Generated method - Getter of theCatalog.inclDuty
dynamic attribute defined at extensioncatalog
.java.lang.Boolean
getInclFreight()
Generated method - Getter of theCatalog.inclFreight
dynamic attribute defined at extensioncatalog
.java.lang.Boolean
getInclPacking()
Generated method - Getter of theCatalog.inclPacking
dynamic attribute defined at extensioncatalog
.java.util.Collection<LanguageModel>
getLanguages()
Generated method - Getter of theCatalog.languages
dynamic attribute defined at extensioncatalog
.java.lang.String
getMimeRootDirectory()
Generated method - Getter of theCatalog.mimeRootDirectory
dynamic attribute defined at extensioncatalog
.java.lang.String
getName()
Generated method - Getter of theCatalog.name
attribute defined at extensioncatalog
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theCatalog.name
attribute defined at extensioncatalog
.java.lang.String
getPreviewURLTemplate()
Generated method - Getter of theCatalog.previewURLTemplate
attribute defined at extensioncatalog
.java.util.Collection<CMSCatalogRestrictionModel>
getRestrictions()
Generated method - Getter of theCatalog.restrictions
attribute defined at extensioncms2
.java.util.List<CategoryModel>
getRootCategories()
Generated method - Getter of theCatalog.rootCategories
dynamic attribute defined at extensioncatalog
.CompanyModel
getSupplier()
Generated method - Getter of theCatalog.supplier
attribute defined at extensioncatalog
.java.util.Collection<CountryModel>
getTerritories()
Generated method - Getter of theCatalog.territories
dynamic attribute defined at extensioncatalog
.java.util.Collection<java.lang.String>
getUrlPatterns()
Generated method - Getter of theCatalog.urlPatterns
attribute defined at extensioncatalog
.java.lang.String
getVersion()
Generated method - Getter of theCatalog.version
dynamic attribute defined at extensioncatalog
.void
setActiveCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.void
setBaseStores(java.util.Collection<BaseStoreModel> value)
Generated method - Setter ofCatalog.baseStores
attribute defined at extensionbasecommerce
.void
setBuyer(CompanyModel value)
Generated method - Setter ofCatalog.buyer
attribute defined at extensioncatalog
.void
setCatalogVersions(java.util.Set<CatalogVersionModel> value)
Generated method - Setter ofCatalog.catalogVersions
attribute defined at extensioncatalog
.void
setDefaultCatalog(java.lang.Boolean value)
Generated method - Setter ofCatalog.defaultCatalog
attribute defined at extensioncatalog
.void
setId(java.lang.String value)
Generated method - Setter ofCatalog.id
attribute defined at extensioncatalog
.void
setName(java.lang.String value)
Generated method - Setter ofCatalog.name
attribute defined at extensioncatalog
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCatalog.name
attribute defined at extensioncatalog
.void
setPreviewURLTemplate(java.lang.String value)
Generated method - Setter ofCatalog.previewURLTemplate
attribute defined at extensioncatalog
.void
setRestrictions(java.util.Collection<CMSCatalogRestrictionModel> value)
Generated method - Setter ofCatalog.restrictions
attribute defined at extensioncms2
.void
setSupplier(CompanyModel value)
Generated method - Setter ofCatalog.supplier
attribute defined at extensioncatalog
.void
setUrlPatterns(java.util.Collection<java.lang.String> value)
Generated method - Setter ofCatalog.urlPatterns
attribute defined at extensioncatalog
.-
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
-
_COMPANY2PROVIDEDCATALOGS
public static final java.lang.String _COMPANY2PROVIDEDCATALOGS
Generated relation code constant for relationCompany2ProvidedCatalogs
defining source attributesupplier
in extensioncatalog
.- See Also:
- Constant Field Values
-
_COMPANY2PURCHASEDCATALOGS
public static final java.lang.String _COMPANY2PURCHASEDCATALOGS
Generated relation code constant for relationCompany2PurchasedCatalogs
defining source attributebuyer
in extensioncatalog
.- See Also:
- Constant Field Values
-
_CATALOGSFORBASESTORES
public static final java.lang.String _CATALOGSFORBASESTORES
Generated relation code constant for relationCatalogsForBaseStores
defining source attributebaseStores
in extensionbasecommerce
.- See Also:
- Constant Field Values
-
_CATALOGSFORRESTRICTION
public static final java.lang.String _CATALOGSFORRESTRICTION
Generated relation code constant for relationCatalogsForRestriction
defining source attributerestrictions
in extensioncms2
.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofCatalog.id
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofCatalog.name
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ACTIVECATALOGVERSION
public static final java.lang.String ACTIVECATALOGVERSION
Generated constant - Attribute key ofCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
ROOTCATEGORIES
public static final java.lang.String ROOTCATEGORIES
Generated constant - Attribute key ofCatalog.rootCategories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
DEFAULTCATALOG
public static final java.lang.String DEFAULTCATALOG
Generated constant - Attribute key ofCatalog.defaultCatalog
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
Generated constant - Attribute key ofCatalog.version
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
MIMEROOTDIRECTORY
public static final java.lang.String MIMEROOTDIRECTORY
Generated constant - Attribute key ofCatalog.mimeRootDirectory
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
GENERATIONDATE
public static final java.lang.String GENERATIONDATE
Generated constant - Attribute key ofCatalog.generationDate
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
DEFAULTCURRENCY
public static final java.lang.String DEFAULTCURRENCY
Generated constant - Attribute key ofCatalog.defaultCurrency
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
INCLFREIGHT
public static final java.lang.String INCLFREIGHT
Generated constant - Attribute key ofCatalog.inclFreight
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
INCLPACKING
public static final java.lang.String INCLPACKING
Generated constant - Attribute key ofCatalog.inclPacking
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
INCLASSURANCE
public static final java.lang.String INCLASSURANCE
Generated constant - Attribute key ofCatalog.inclAssurance
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
INCLDUTY
public static final java.lang.String INCLDUTY
Generated constant - Attribute key ofCatalog.inclDuty
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
TERRITORIES
public static final java.lang.String TERRITORIES
Generated constant - Attribute key ofCatalog.territories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
LANGUAGES
public static final java.lang.String LANGUAGES
Generated constant - Attribute key ofCatalog.languages
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
GENERATORINFO
public static final java.lang.String GENERATORINFO
Generated constant - Attribute key ofCatalog.generatorInfo
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
AGREEMENTS
public static final java.lang.String AGREEMENTS
Generated constant - Attribute key ofCatalog.agreements
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
PREVIEWURLTEMPLATE
public static final java.lang.String PREVIEWURLTEMPLATE
Generated constant - Attribute key ofCatalog.previewURLTemplate
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
URLPATTERNS
public static final java.lang.String URLPATTERNS
Generated constant - Attribute key ofCatalog.urlPatterns
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CATALOGVERSIONS
public static final java.lang.String CATALOGVERSIONS
Generated constant - Attribute key ofCatalog.catalogVersions
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
SUPPLIER
public static final java.lang.String SUPPLIER
Generated constant - Attribute key ofCatalog.supplier
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
BUYER
public static final java.lang.String BUYER
Generated constant - Attribute key ofCatalog.buyer
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofCatalog.baseStores
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
RESTRICTIONS
public static final java.lang.String RESTRICTIONS
Generated constant - Attribute key ofCatalog.restrictions
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CatalogModel
public CatalogModel()
Generated constructor - Default constructor for generic creation.
-
CatalogModel
public CatalogModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CatalogModel
@Deprecated(since="4.1.1", forRemoval=true) public CatalogModel(java.lang.String _id)
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:
_id
- initial attribute declared by typeCatalog
at extensioncatalog
-
CatalogModel
@Deprecated(since="4.1.1", forRemoval=true) public CatalogModel(java.lang.String _id, 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:
_id
- initial attribute declared by typeCatalog
at extensioncatalog
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getActiveCatalogVersion
@Accessor(qualifier="activeCatalogVersion", type=GETTER) public CatalogVersionModel getActiveCatalogVersion()
Generated method - Getter of theCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.- Returns:
- the activeCatalogVersion - active CatalogVersion
-
getAgreements
@Accessor(qualifier="agreements", type=GETTER) public java.util.Collection<AgreementModel> getAgreements()
Generated method - Getter of theCatalog.agreements
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the agreements - Agreement Collection
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Collection<BaseStoreModel> getBaseStores()
Generated method - Getter of theCatalog.baseStores
attribute defined at extensionbasecommerce
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getBuyer
@Accessor(qualifier="buyer", type=GETTER) public CompanyModel getBuyer()
Generated method - Getter of theCatalog.buyer
attribute defined at extensioncatalog
.- Returns:
- the buyer
-
getCatalogVersions
@Accessor(qualifier="catalogVersions", type=GETTER) public java.util.Set<CatalogVersionModel> getCatalogVersions()
Generated method - Getter of theCatalog.catalogVersions
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the catalogVersions
-
getDefaultCatalog
@Accessor(qualifier="defaultCatalog", type=GETTER) public java.lang.Boolean getDefaultCatalog()
Generated method - Getter of theCatalog.defaultCatalog
attribute defined at extensioncatalog
.- Returns:
- the defaultCatalog - Default catalog
-
getDefaultCurrency
@Accessor(qualifier="defaultCurrency", type=GETTER) public CurrencyModel getDefaultCurrency()
Generated method - Getter of theCatalog.defaultCurrency
dynamic attribute defined at extensioncatalog
.- Returns:
- the defaultCurrency - Default Currency
-
getGenerationDate
@Accessor(qualifier="generationDate", type=GETTER) public java.util.Date getGenerationDate()
Generated method - Getter of theCatalog.generationDate
dynamic attribute defined at extensioncatalog
.- Returns:
- the generationDate - Generation Date
-
getGeneratorInfo
@Accessor(qualifier="generatorInfo", type=GETTER) public java.lang.String getGeneratorInfo()
Generated method - Getter of theCatalog.generatorInfo
dynamic attribute defined at extensioncatalog
.- Returns:
- the generatorInfo - Generator Info
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theCatalog.id
attribute defined at extensioncatalog
.- Returns:
- the id - ID
-
getInclAssurance
@Accessor(qualifier="inclAssurance", type=GETTER) public java.lang.Boolean getInclAssurance()
Generated method - Getter of theCatalog.inclAssurance
dynamic attribute defined at extensioncatalog
.- Returns:
- the inclAssurance - incl.Assurance
-
getInclDuty
@Accessor(qualifier="inclDuty", type=GETTER) public java.lang.Boolean getInclDuty()
Generated method - Getter of theCatalog.inclDuty
dynamic attribute defined at extensioncatalog
.- Returns:
- the inclDuty - incl.Duty
-
getInclFreight
@Accessor(qualifier="inclFreight", type=GETTER) public java.lang.Boolean getInclFreight()
Generated method - Getter of theCatalog.inclFreight
dynamic attribute defined at extensioncatalog
.- Returns:
- the inclFreight - incl.Freight
-
getInclPacking
@Accessor(qualifier="inclPacking", type=GETTER) public java.lang.Boolean getInclPacking()
Generated method - Getter of theCatalog.inclPacking
dynamic attribute defined at extensioncatalog
.- Returns:
- the inclPacking - incl.Packing
-
getLanguages
@Accessor(qualifier="languages", type=GETTER) public java.util.Collection<LanguageModel> getLanguages()
Generated method - Getter of theCatalog.languages
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the languages - Language
-
getMimeRootDirectory
@Accessor(qualifier="mimeRootDirectory", type=GETTER) public java.lang.String getMimeRootDirectory()
Generated method - Getter of theCatalog.mimeRootDirectory
dynamic attribute defined at extensioncatalog
.- Returns:
- the mimeRootDirectory - Mime Root Directory
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theCatalog.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 theCatalog.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
-
getPreviewURLTemplate
@Accessor(qualifier="previewURLTemplate", type=GETTER) public java.lang.String getPreviewURLTemplate()
Generated method - Getter of theCatalog.previewURLTemplate
attribute defined at extensioncatalog
.- Returns:
- the previewURLTemplate
-
getRestrictions
@Accessor(qualifier="restrictions", type=GETTER) public java.util.Collection<CMSCatalogRestrictionModel> getRestrictions()
Generated method - Getter of theCatalog.restrictions
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictions
-
getRootCategories
@Accessor(qualifier="rootCategories", type=GETTER) public java.util.List<CategoryModel> getRootCategories()
Generated method - Getter of theCatalog.rootCategories
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the rootCategories - The categories of the active CatalogVersion
-
getSupplier
@Accessor(qualifier="supplier", type=GETTER) public CompanyModel getSupplier()
Generated method - Getter of theCatalog.supplier
attribute defined at extensioncatalog
.- Returns:
- the supplier
-
getTerritories
@Accessor(qualifier="territories", type=GETTER) public java.util.Collection<CountryModel> getTerritories()
Generated method - Getter of theCatalog.territories
dynamic attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the territories - Territory
-
getUrlPatterns
@Accessor(qualifier="urlPatterns", type=GETTER) public java.util.Collection<java.lang.String> getUrlPatterns()
Generated method - Getter of theCatalog.urlPatterns
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the urlPatterns - Collection of URL patterns
-
getVersion
@Accessor(qualifier="version", type=GETTER) public java.lang.String getVersion()
Generated method - Getter of theCatalog.version
dynamic attribute defined at extensioncatalog
.- Returns:
- the version - version
-
setActiveCatalogVersion
@Accessor(qualifier="activeCatalogVersion", type=SETTER) public void setActiveCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCatalog.activeCatalogVersion
attribute defined at extensioncatalog
.- Parameters:
value
- the activeCatalogVersion - active CatalogVersion
-
setBaseStores
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(java.util.Collection<BaseStoreModel> value)
Generated method - Setter ofCatalog.baseStores
attribute defined at extensionbasecommerce
.- Parameters:
value
- the baseStores
-
setBuyer
@Accessor(qualifier="buyer", type=SETTER) public void setBuyer(CompanyModel value)
Generated method - Setter ofCatalog.buyer
attribute defined at extensioncatalog
.- Parameters:
value
- the buyer
-
setCatalogVersions
@Accessor(qualifier="catalogVersions", type=SETTER) public void setCatalogVersions(java.util.Set<CatalogVersionModel> value)
Generated method - Setter ofCatalog.catalogVersions
attribute defined at extensioncatalog
.- Parameters:
value
- the catalogVersions
-
setDefaultCatalog
@Accessor(qualifier="defaultCatalog", type=SETTER) public void setDefaultCatalog(java.lang.Boolean value)
Generated method - Setter ofCatalog.defaultCatalog
attribute defined at extensioncatalog
.- Parameters:
value
- the defaultCatalog - Default catalog
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Setter ofCatalog.id
attribute defined at extensioncatalog
.- Parameters:
value
- the id - ID
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofCatalog.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 ofCatalog.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
-
setPreviewURLTemplate
@Accessor(qualifier="previewURLTemplate", type=SETTER) public void setPreviewURLTemplate(java.lang.String value)
Generated method - Setter ofCatalog.previewURLTemplate
attribute defined at extensioncatalog
.- Parameters:
value
- the previewURLTemplate
-
setRestrictions
@Accessor(qualifier="restrictions", type=SETTER) public void setRestrictions(java.util.Collection<CMSCatalogRestrictionModel> value)
Generated method - Setter ofCatalog.restrictions
attribute defined at extensioncms2
.- Parameters:
value
- the restrictions
-
setSupplier
@Accessor(qualifier="supplier", type=SETTER) public void setSupplier(CompanyModel value)
Generated method - Setter ofCatalog.supplier
attribute defined at extensioncatalog
.- Parameters:
value
- the supplier
-
-