Class GeneratedCampaignRestriction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
CampaignRestriction

public abstract class GeneratedCampaignRestriction extends AbstractRestriction
Generated class for type CMSCampaignRestriction.
See Also:
  • Field Details

    • CAMPAIGNS

      public static final String CAMPAIGNS
      Qualifier of the CMSCampaignRestriction.campaigns attribute
      See Also:
    • CAMPAIGNSFORRESTRICTION_SRC_ORDERED

      protected static String CAMPAIGNSFORRESTRICTION_SRC_ORDERED
      Relation ordering override parameter constants for CampaignsForRestriction from ((cms2))
    • CAMPAIGNSFORRESTRICTION_TGT_ORDERED

      protected static String CAMPAIGNSFORRESTRICTION_TGT_ORDERED
    • CAMPAIGNSFORRESTRICTION_MARKMODIFIED

      protected static String CAMPAIGNSFORRESTRICTION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CampaignsForRestriction from ((cms2))
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedCampaignRestriction

      public GeneratedCampaignRestriction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAbstractRestriction
    • getCampaigns

      public Collection<Campaign> getCampaigns(SessionContext ctx)
      Generated method - Getter of the CMSCampaignRestriction.campaigns attribute.
      Returns:
      the campaigns
    • getCampaigns

      public Collection<Campaign> getCampaigns()
      Generated method - Getter of the CMSCampaignRestriction.campaigns attribute.
      Returns:
      the campaigns
    • getCampaignsCount

      public long getCampaignsCount(SessionContext ctx)
    • getCampaignsCount

      public long getCampaignsCount()
    • setCampaigns

      public void setCampaigns(SessionContext ctx, Collection<Campaign> value)
      Generated method - Setter of the CMSCampaignRestriction.campaigns attribute.
      Parameters:
      value - the campaigns
    • setCampaigns

      public void setCampaigns(Collection<Campaign> value)
      Generated method - Setter of the CMSCampaignRestriction.campaigns attribute.
      Parameters:
      value - the campaigns
    • addToCampaigns

      public void addToCampaigns(SessionContext ctx, Campaign value)
      Generated method - Adds value to campaigns.
      Parameters:
      value - the item to add to campaigns
    • addToCampaigns

      public void addToCampaigns(Campaign value)
      Generated method - Adds value to campaigns.
      Parameters:
      value - the item to add to campaigns
    • removeFromCampaigns

      public void removeFromCampaigns(SessionContext ctx, Campaign value)
      Generated method - Removes value from campaigns.
      Parameters:
      value - the item to remove from campaigns
    • removeFromCampaigns

      public void removeFromCampaigns(Campaign value)
      Generated method - Removes value from campaigns.
      Parameters:
      value - the item to remove from campaigns
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class GeneratedAbstractRestriction