Class CMSYmktCampaignRestrictionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cms2.model.contents.CMSItemModel
-
- de.hybris.platform.cms2.model.restrictions.AbstractRestrictionModel
-
- com.hybris.ymkt.segmentation.model.CMSYmktCampaignRestrictionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CMSYmktCampaignRestrictionModel extends AbstractRestrictionModel
Generated model class for type CMSYmktCampaignRestriction first defined at extension sapymktsegmentation.- 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
_TYPECODE
Generated model type code constant.static java.lang.String
CAMPAIGN
Generated constant - Attribute key ofCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.static java.lang.String
MEMBEROFCAMPAIGN
Generated constant - Attribute key ofCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.-
Fields inherited from class de.hybris.platform.cms2.model.restrictions.AbstractRestrictionModel
_RESTRICTIONSFORCOMPONENTS, _RESTRICTIONSFORPAGES, COMPONENTS, DESCRIPTION, INVERSERESTRICTIONS, PAGES, TYPE, TYPECODE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, UID
-
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 CMSYmktCampaignRestrictionModel()
Generated constructor - Default constructor for generic creation.CMSYmktCampaignRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCMSYmktCampaignRestrictionModel(java.lang.String _campaign, CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSYmktCampaignRestrictionModel(java.lang.String _campaign, CatalogVersionModel _catalogVersion, java.lang.String _uid)
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
getCampaign()
Generated method - Getter of theCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.java.lang.Boolean
getMemberOfCampaign()
Generated method - Getter of theCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.void
setCampaign(java.lang.String value)
Generated method - Setter ofCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.void
setMemberOfCampaign(java.lang.Boolean value)
Generated method - Setter ofCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.-
Methods inherited from class de.hybris.platform.cms2.model.restrictions.AbstractRestrictionModel
getComponents, getDescription, getInverseRestrictions, getPages, getType, getType, getTypeCode, setComponents, setInverseRestrictions, setPages
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, setUid
-
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
-
CAMPAIGN
public static final java.lang.String CAMPAIGN
Generated constant - Attribute key ofCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.- See Also:
- Constant Field Values
-
MEMBEROFCAMPAIGN
public static final java.lang.String MEMBEROFCAMPAIGN
Generated constant - Attribute key ofCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CMSYmktCampaignRestrictionModel
public CMSYmktCampaignRestrictionModel()
Generated constructor - Default constructor for generic creation.
-
CMSYmktCampaignRestrictionModel
public CMSYmktCampaignRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CMSYmktCampaignRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSYmktCampaignRestrictionModel(java.lang.String _campaign, CatalogVersionModel _catalogVersion, java.lang.String _uid)
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:
_campaign
- initial attribute declared by typeCMSYmktCampaignRestriction
at extensionsapymktsegmentation
_catalogVersion
- initial attribute declared by typeCMSItem
at extensioncms2
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
CMSYmktCampaignRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSYmktCampaignRestrictionModel(java.lang.String _campaign, CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
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:
_campaign
- initial attribute declared by typeCMSYmktCampaignRestriction
at extensionsapymktsegmentation
_catalogVersion
- initial attribute declared by typeCMSItem
at extensioncms2
_owner
- initial attribute declared by typeItem
at extensioncore
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
-
Method Detail
-
getCampaign
@Accessor(qualifier="campaign", type=GETTER) public java.lang.String getCampaign()
Generated method - Getter of theCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.- Returns:
- the campaign - Campaign selected for restriction
-
getMemberOfCampaign
@Accessor(qualifier="memberOfCampaign", type=GETTER) public java.lang.Boolean getMemberOfCampaign()
Generated method - Getter of theCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.- Returns:
- the memberOfCampaign - Determines if restriction is valid when the user is a member of the selected campaign
-
setCampaign
@Accessor(qualifier="campaign", type=SETTER) public void setCampaign(java.lang.String value)
Generated method - Setter ofCMSYmktCampaignRestriction.campaign
attribute defined at extensionsapymktsegmentation
.- Parameters:
value
- the campaign - Campaign selected for restriction
-
setMemberOfCampaign
@Accessor(qualifier="memberOfCampaign", type=SETTER) public void setMemberOfCampaign(java.lang.Boolean value)
Generated method - Setter ofCMSYmktCampaignRestriction.memberOfCampaign
attribute defined at extensionsapymktsegmentation
.- Parameters:
value
- the memberOfCampaign - Determines if restriction is valid when the user is a member of the selected campaign
-
-