Class GeneratedCampaignRestriction

    • Field Detail

      • CAMPAIGNS

        public static final java.lang.String CAMPAIGNS
        Qualifier of the CMSCampaignRestriction.campaigns attribute
        See Also:
        Constant Field Values
      • CAMPAIGNSFORRESTRICTION_SRC_ORDERED

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

        protected static java.lang.String CAMPAIGNSFORRESTRICTION_TGT_ORDERED
      • CAMPAIGNSFORRESTRICTION_MARKMODIFIED

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

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedCampaignRestriction

        public GeneratedCampaignRestriction()
    • Method Detail

      • getCampaigns

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

        public java.util.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,
                                 java.util.Collection<Campaign> value)
        Generated method - Setter of the CMSCampaignRestriction.campaigns attribute.
        Parameters:
        value - the campaigns
      • setCampaigns

        public void setCampaigns​(java.util.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