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:
java.io.Serializable
public class ContentCatalogModel extends CatalogModel
Generated model class for type ContentCatalog first defined at extension cms2.- 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
_CATALOG2CATALOGRELATION
Generated relation code constant for relationCatalog2CatalogRelation
defining source attributesuperCatalog
in extensioncms2
.static java.lang.String
_CATALOGSFORCMSSITE
Generated relation code constant for relationCatalogsForCMSSite
defining source attributecmsSites
in extensioncms2
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CATALOGLEVELNAME
Generated constant - Attribute key ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.static java.lang.String
CMSSITES
Generated constant - Attribute key ofContentCatalog.cmsSites
attribute defined at extensioncms2
.static java.lang.String
SUBCATALOGS
Generated constant - Attribute key ofContentCatalog.subCatalogs
attribute defined at extensioncms2
.static java.lang.String
SUPERCATALOG
Generated constant - Attribute key ofContentCatalog.superCatalog
attribute 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, VERSION
-
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 ContentCatalogModel()
Generated constructor - Default constructor for generic creation.ContentCatalogModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextContentCatalogModel(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 parametersContentCatalogModel(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 java.lang.String
getCatalogLevelName()
Generated method - Getter of theContentCatalog.catalogLevelName
attribute defined at extensioncms2
.java.lang.String
getCatalogLevelName(java.util.Locale loc)
Generated method - Getter of theContentCatalog.catalogLevelName
attribute defined at extensioncms2
.java.util.Collection<CMSSiteModel>
getCmsSites()
Generated method - Getter of theContentCatalog.cmsSites
attribute defined at extensioncms2
.java.util.Set<ContentCatalogModel>
getSubCatalogs()
Generated method - Getter of theContentCatalog.subCatalogs
attribute defined at extensioncms2
.ContentCatalogModel
getSuperCatalog()
Generated method - Getter of theContentCatalog.superCatalog
attribute defined at extensioncms2
.void
setCatalogLevelName(java.lang.String value)
Generated method - Setter ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.void
setCatalogLevelName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.void
setCmsSites(java.util.Collection<CMSSiteModel> value)
Generated method - Setter ofContentCatalog.cmsSites
attribute defined at extensioncms2
.void
setSubCatalogs(java.util.Set<ContentCatalogModel> value)
Generated method - Setter ofContentCatalog.subCatalogs
attribute defined at extensioncms2
.void
setSuperCatalog(ContentCatalogModel value)
Generated method - Setter ofContentCatalog.superCatalog
attribute 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, setUrlPatterns
-
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
-
_CATALOGSFORCMSSITE
public static final java.lang.String _CATALOGSFORCMSSITE
Generated relation code constant for relationCatalogsForCMSSite
defining source attributecmsSites
in extensioncms2
.- See Also:
- Constant Field Values
-
_CATALOG2CATALOGRELATION
public static final java.lang.String _CATALOG2CATALOGRELATION
Generated relation code constant for relationCatalog2CatalogRelation
defining source attributesuperCatalog
in extensioncms2
.- See Also:
- Constant Field Values
-
CATALOGLEVELNAME
public static final java.lang.String CATALOGLEVELNAME
Generated constant - Attribute key ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
CMSSITES
public static final java.lang.String CMSSITES
Generated constant - Attribute key ofContentCatalog.cmsSites
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
SUPERCATALOG
public static final java.lang.String SUPERCATALOG
Generated constant - Attribute key ofContentCatalog.superCatalog
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
SUBCATALOGS
public static final java.lang.String SUBCATALOGS
Generated constant - Attribute key ofContentCatalog.subCatalogs
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentCatalogModel
public ContentCatalogModel()
Generated constructor - Default constructor for generic creation.
-
ContentCatalogModel
public ContentCatalogModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
ContentCatalogModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentCatalogModel(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
-
ContentCatalogModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentCatalogModel(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
-
getCatalogLevelName
@Accessor(qualifier="catalogLevelName", type=GETTER) public java.lang.String getCatalogLevelName()
Generated method - Getter of theContentCatalog.catalogLevelName
attribute defined at extensioncms2
.- Returns:
- the catalogLevelName
-
getCatalogLevelName
@Accessor(qualifier="catalogLevelName", type=GETTER) public java.lang.String getCatalogLevelName(java.util.Locale loc)
Generated method - Getter of theContentCatalog.catalogLevelName
attribute defined at extensioncms2
.- Parameters:
loc
- the value localization key- Returns:
- the catalogLevelName
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getCmsSites
@Accessor(qualifier="cmsSites", type=GETTER) public java.util.Collection<CMSSiteModel> getCmsSites()
Generated method - Getter of theContentCatalog.cmsSites
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cmsSites
-
getSubCatalogs
@Accessor(qualifier="subCatalogs", type=GETTER) public java.util.Set<ContentCatalogModel> getSubCatalogs()
Generated method - Getter of theContentCatalog.subCatalogs
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the subCatalogs - Sub Catalogs
-
getSuperCatalog
@Accessor(qualifier="superCatalog", type=GETTER) public ContentCatalogModel getSuperCatalog()
Generated method - Getter of theContentCatalog.superCatalog
attribute defined at extensioncms2
.- Returns:
- the superCatalog - Super Catalog
-
setCatalogLevelName
@Accessor(qualifier="catalogLevelName", type=SETTER) public void setCatalogLevelName(java.lang.String value)
Generated method - Setter ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.- Parameters:
value
- the catalogLevelName
-
setCatalogLevelName
@Accessor(qualifier="catalogLevelName", type=SETTER) public void setCatalogLevelName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofContentCatalog.catalogLevelName
attribute defined at extensioncms2
.- Parameters:
value
- the catalogLevelNameloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setCmsSites
@Accessor(qualifier="cmsSites", type=SETTER) public void setCmsSites(java.util.Collection<CMSSiteModel> value)
Generated method - Setter ofContentCatalog.cmsSites
attribute defined at extensioncms2
.- Parameters:
value
- the cmsSites
-
setSubCatalogs
@Accessor(qualifier="subCatalogs", type=SETTER) public void setSubCatalogs(java.util.Set<ContentCatalogModel> value)
Generated method - Setter ofContentCatalog.subCatalogs
attribute defined at extensioncms2
.- Parameters:
value
- the subCatalogs - Sub Catalogs
-
setSuperCatalog
@Accessor(qualifier="superCatalog", type=SETTER) public void setSuperCatalog(ContentCatalogModel value)
Generated method - Setter ofContentCatalog.superCatalog
attribute defined at extensioncms2
.- Parameters:
value
- the superCatalog - Super Catalog
-
-