public class ConsentTemplateModel extends ItemModel
A type of consent associated with a particular store.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
BASESITE
Generated constant - Attribute key of
ConsentTemplate.baseSite attribute defined at extension commerceservices. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
ConsentTemplate.description attribute defined at extension commerceservices. |
static java.lang.String |
EXPOSED
Generated constant - Attribute key of
ConsentTemplate.exposed attribute defined at extension commerceservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
ConsentTemplate.id attribute defined at extension commerceservices. |
static java.lang.String |
NAME
Generated constant - Attribute key of
ConsentTemplate.name attribute defined at extension commerceservices. |
static java.lang.String |
VERSION
Generated constant - Attribute key of
ConsentTemplate.version attribute defined at extension commerceservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ConsentTemplateModel()
Generated constructor - Default constructor for generic creation.
|
ConsentTemplateModel(BaseSiteModel _baseSite,
java.lang.String _id,
java.lang.Integer _version)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ConsentTemplateModel(BaseSiteModel _baseSite,
java.lang.String _id,
ItemModel _owner,
java.lang.Integer _version)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ConsentTemplateModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
BaseSiteModel |
getBaseSite()
Generated method - Getter of the
ConsentTemplate.baseSite attribute defined at extension commerceservices. |
java.lang.String |
getDescription()
Generated method - Getter of the
ConsentTemplate.description attribute defined at extension commerceservices. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
ConsentTemplate.description attribute defined at extension commerceservices. |
java.lang.String |
getId()
Generated method - Getter of the
ConsentTemplate.id attribute defined at extension commerceservices. |
java.lang.String |
getName()
Generated method - Getter of the
ConsentTemplate.name attribute defined at extension commerceservices. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
ConsentTemplate.name attribute defined at extension commerceservices. |
java.lang.Integer |
getVersion()
Generated method - Getter of the
ConsentTemplate.version attribute defined at extension commerceservices. |
boolean |
isExposed()
Generated method - Getter of the
ConsentTemplate.exposed attribute defined at extension commerceservices. |
void |
setBaseSite(BaseSiteModel value)
Generated method - Setter of
ConsentTemplate.baseSite attribute defined at extension commerceservices. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
ConsentTemplate.description attribute defined at extension commerceservices. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
ConsentTemplate.description attribute defined at extension commerceservices. |
void |
setExposed(boolean value)
Generated method - Setter of
ConsentTemplate.exposed attribute defined at extension commerceservices. |
void |
setId(java.lang.String value)
Generated method - Setter of
ConsentTemplate.id attribute defined at extension commerceservices. |
void |
setName(java.lang.String value)
Generated method - Setter of
ConsentTemplate.name attribute defined at extension commerceservices. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
ConsentTemplate.name attribute defined at extension commerceservices. |
void |
setVersion(java.lang.Integer value)
Generated method - Setter of
ConsentTemplate.version attribute defined at extension commerceservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String ID
ConsentTemplate.id attribute defined at extension commerceservices.public static final java.lang.String VERSION
ConsentTemplate.version attribute defined at extension commerceservices.public static final java.lang.String BASESITE
ConsentTemplate.baseSite attribute defined at extension commerceservices.public static final java.lang.String NAME
ConsentTemplate.name attribute defined at extension commerceservices.public static final java.lang.String EXPOSED
ConsentTemplate.exposed attribute defined at extension commerceservices.public static final java.lang.String DESCRIPTION
ConsentTemplate.description attribute defined at extension commerceservices.public ConsentTemplateModel()
public ConsentTemplateModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ConsentTemplateModel(BaseSiteModel _baseSite, java.lang.String _id, java.lang.Integer _version)
_baseSite - initial attribute declared by type ConsentTemplate at extension commerceservices_id - initial attribute declared by type ConsentTemplate at extension commerceservices_version - initial attribute declared by type ConsentTemplate at extension commerceservices@Deprecated public ConsentTemplateModel(BaseSiteModel _baseSite, java.lang.String _id, ItemModel _owner, java.lang.Integer _version)
_baseSite - initial attribute declared by type ConsentTemplate at extension commerceservices_id - initial attribute declared by type ConsentTemplate at extension commerceservices_owner - initial attribute declared by type Item at extension core_version - initial attribute declared by type ConsentTemplate at extension commerceservices@Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
ConsentTemplate.baseSite attribute defined at extension commerceservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
ConsentTemplate.description attribute defined at extension commerceservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
ConsentTemplate.description attribute defined at extension commerceservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
ConsentTemplate.id attribute defined at extension commerceservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
ConsentTemplate.name attribute defined at extension commerceservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
ConsentTemplate.name attribute defined at extension commerceservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="version", type=GETTER) public java.lang.Integer getVersion()
ConsentTemplate.version attribute defined at extension commerceservices.@Accessor(qualifier="exposed", type=GETTER) public boolean isExposed()
ConsentTemplate.exposed attribute defined at extension commerceservices.@Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
ConsentTemplate.baseSite attribute defined at extension commerceservices.value - the baseSite - BaseSite that this consent template belongs to@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
ConsentTemplate.description attribute defined at extension commerceservices.value - the description - Consent Template Description@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
ConsentTemplate.description attribute defined at extension commerceservices.value - the description - Consent Template Descriptionloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="exposed", type=SETTER) public void setExposed(boolean value)
ConsentTemplate.exposed attribute defined at extension commerceservices.value - the exposed - Indicates whether the consent template should be exposed to integrators in a storefront implementation as part of cookie and session information@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
ConsentTemplate.id attribute defined at extension commerceservices.value - the id - Consent Template ID@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
ConsentTemplate.name attribute defined at extension commerceservices.value - the name - Consent Template Name@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
ConsentTemplate.name attribute defined at extension commerceservices.value - the name - Consent Template Nameloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.