Class ContentCatalogModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.catalog.model.CatalogModel
de.hybris.platform.cms2.model.contents.ContentCatalogModel
- All Implemented Interfaces:
Serializable
Generated model class for type ContentCatalog first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCatalog2CatalogRelationdefining source attributesuperCatalogin extensioncms2.static final StringGenerated relation code constant for relationCatalogsForCMSSitedefining source attributecmsSitesin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentCatalog.cmsSitesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentCatalog.subCatalogsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentCatalog.superCatalogattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.catalog.model.CatalogModel
_CATALOGSFORBASESTORES, _CATALOGSFORRESTRICTION, _COMPANY2PROVIDEDCATALOGS, _COMPANY2PURCHASEDCATALOGS, ACTIVECATALOGVERSION, AGREEMENTS, BASESTORES, BUYER, CATALOGVERSIONS, DEFAULTCATALOG, DEFAULTCURRENCY, GENERATIONDATE, GENERATORINFO, ID, INCLASSURANCE, INCLDUTY, INCLFREIGHT, INCLPACKING, LANGUAGES, MIMEROOTDIRECTORY, NAME, PREVIEWURLTEMPLATE, RESTRICTIONS, ROOTCATEGORIES, SUPPLIER, TERRITORIES, URLPATTERNS, VERSIONFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersContentCatalogModel(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theContentCatalog.catalogLevelNameattribute defined at extensioncms2.Generated method - Getter of theContentCatalog.catalogLevelNameattribute defined at extensioncms2.Generated method - Getter of theContentCatalog.cmsSitesattribute defined at extensioncms2.Generated method - Getter of theContentCatalog.subCatalogsattribute defined at extensioncms2.Generated method - Getter of theContentCatalog.superCatalogattribute defined at extensioncms2.voidsetCatalogLevelName(String value) Generated method - Setter ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.voidsetCatalogLevelName(String value, Locale loc) Generated method - Setter ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.voidsetCmsSites(Collection<CMSSiteModel> value) Generated method - Setter ofContentCatalog.cmsSitesattribute defined at extensioncms2.voidsetSubCatalogs(Set<ContentCatalogModel> value) Generated method - Setter ofContentCatalog.subCatalogsattribute defined at extensioncms2.voidGenerated method - Setter ofContentCatalog.superCatalogattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.catalog.model.CatalogModel
getActiveCatalogVersion, getAgreements, getBaseStores, getBuyer, getCatalogVersions, getDefaultCatalog, getDefaultCurrency, getGenerationDate, getGeneratorInfo, getId, getInclAssurance, getInclDuty, getInclFreight, getInclPacking, getLanguages, getMimeRootDirectory, getName, getName, getPreviewURLTemplate, getRestrictions, getRootCategories, getSupplier, getTerritories, getUrlPatterns, getVersion, setActiveCatalogVersion, setBaseStores, setBuyer, setCatalogVersions, setDefaultCatalog, setId, setName, setName, setPreviewURLTemplate, setRestrictions, setSupplier, setUrlPatternsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CATALOGSFORCMSSITE
Generated relation code constant for relationCatalogsForCMSSitedefining source attributecmsSitesin extensioncms2.- See Also:
-
_CATALOG2CATALOGRELATION
Generated relation code constant for relationCatalog2CatalogRelationdefining source attributesuperCatalogin extensioncms2.- See Also:
-
CATALOGLEVELNAME
Generated constant - Attribute key ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.- See Also:
-
CMSSITES
Generated constant - Attribute key ofContentCatalog.cmsSitesattribute defined at extensioncms2.- See Also:
-
SUPERCATALOG
Generated constant - Attribute key ofContentCatalog.superCatalogattribute defined at extensioncms2.- See Also:
-
SUBCATALOGS
Generated constant - Attribute key ofContentCatalog.subCatalogsattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
ContentCatalogModel
public ContentCatalogModel()Generated constructor - Default constructor for generic creation. -
ContentCatalogModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ContentCatalogModel
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 typeCatalogat extensioncatalog
-
ContentCatalogModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentCatalogModel(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 typeCatalogat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCatalogLevelName
Generated method - Getter of theContentCatalog.catalogLevelNameattribute defined at extensioncms2.- Returns:
- the catalogLevelName
-
getCatalogLevelName
Generated method - Getter of theContentCatalog.catalogLevelNameattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the catalogLevelName
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getCmsSites
Generated method - Getter of theContentCatalog.cmsSitesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cmsSites
-
getSubCatalogs
Generated method - Getter of theContentCatalog.subCatalogsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the subCatalogs - Sub Catalogs
-
getSuperCatalog
Generated method - Getter of theContentCatalog.superCatalogattribute defined at extensioncms2.- Returns:
- the superCatalog - Super Catalog
-
setCatalogLevelName
Generated method - Setter ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.- Parameters:
value- the catalogLevelName
-
setCatalogLevelName
@Accessor(qualifier="catalogLevelName", type=SETTER) public void setCatalogLevelName(String value, Locale loc) Generated method - Setter ofContentCatalog.catalogLevelNameattribute defined at extensioncms2.- Parameters:
value- the catalogLevelNameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setCmsSites
@Accessor(qualifier="cmsSites", type=SETTER) public void setCmsSites(Collection<CMSSiteModel> value) Generated method - Setter ofContentCatalog.cmsSitesattribute defined at extensioncms2.- Parameters:
value- the cmsSites
-
setSubCatalogs
@Accessor(qualifier="subCatalogs", type=SETTER) public void setSubCatalogs(Set<ContentCatalogModel> value) Generated method - Setter ofContentCatalog.subCatalogsattribute defined at extensioncms2.- Parameters:
value- the subCatalogs - Sub Catalogs
-
setSuperCatalog
@Accessor(qualifier="superCatalog", type=SETTER) public void setSuperCatalog(ContentCatalogModel value) Generated method - Setter ofContentCatalog.superCatalogattribute defined at extensioncms2.- Parameters:
value- the superCatalog - Super Catalog
-