Class CMSYmktCampaignRestrictionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class CMSYmktCampaignRestrictionModel extends AbstractRestrictionModel
Generated model class for type CMSYmktCampaignRestriction first defined at extension sapymktsegmentation.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CAMPAIGN

      public static final String CAMPAIGN
      Generated constant - Attribute key of CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
      See Also:
    • MEMBEROFCAMPAIGN

      public static final String MEMBEROFCAMPAIGN
      Generated constant - Attribute key of CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
      See Also:
  • Constructor Details

    • CMSYmktCampaignRestrictionModel

      public CMSYmktCampaignRestrictionModel()
      Generated constructor - Default constructor for generic creation.
    • CMSYmktCampaignRestrictionModel

      public CMSYmktCampaignRestrictionModel(de.hybris.platform.servicelayer.model.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(String _campaign, CatalogVersionModel _catalogVersion, 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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _campaign - initial attribute declared by type CMSYmktCampaignRestriction at extension sapymktsegmentation
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _uid - initial attribute declared by type CMSItem at extension cms2
    • CMSYmktCampaignRestrictionModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSYmktCampaignRestrictionModel(String _campaign, CatalogVersionModel _catalogVersion, ItemModel _owner, 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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _campaign - initial attribute declared by type CMSYmktCampaignRestriction at extension sapymktsegmentation
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getCampaign

      @Accessor(qualifier="campaign", type=GETTER) public String getCampaign()
      Generated method - Getter of the CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
      Returns:
      the campaign - Campaign selected for restriction
    • getMemberOfCampaign

      @Accessor(qualifier="memberOfCampaign", type=GETTER) public Boolean getMemberOfCampaign()
      Generated method - Getter of the CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
      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(String value)
      Generated method - Setter of CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
      Parameters:
      value - the campaign - Campaign selected for restriction
    • setMemberOfCampaign

      @Accessor(qualifier="memberOfCampaign", type=SETTER) public void setMemberOfCampaign(Boolean value)
      Generated method - Setter of CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
      Parameters:
      value - the memberOfCampaign - Determines if restriction is valid when the user is a member of the selected campaign