Class GeneratedPersonalizationcmsManager

    • Field Detail

      • PREVIEWDATATOCXVARIATION_SRC_ORDERED

        protected static java.lang.String PREVIEWDATATOCXVARIATION_SRC_ORDERED
        Relation ordering override parameter constants for PreviewDataToCxVariation from ((personalizationcms))
      • PREVIEWDATATOCXVARIATION_TGT_ORDERED

        protected static java.lang.String PREVIEWDATATOCXVARIATION_TGT_ORDERED
      • PREVIEWDATATOCXVARIATION_MARKMODIFIED

        protected static java.lang.String PREVIEWDATATOCXVARIATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for PreviewDataToCxVariation from ((personalizationcms))
      • PREVIEWDATATOCXSEGMENT_SRC_ORDERED

        protected static java.lang.String PREVIEWDATATOCXSEGMENT_SRC_ORDERED
        Relation ordering override parameter constants for PreviewDataToCxSegment from ((personalizationcms))
      • PREVIEWDATATOCXSEGMENT_TGT_ORDERED

        protected static java.lang.String PREVIEWDATATOCXSEGMENT_TGT_ORDERED
      • PREVIEWDATATOCXSEGMENT_MARKMODIFIED

        protected static java.lang.String PREVIEWDATATOCXSEGMENT_MARKMODIFIED
        Relation disable markmodifed parameter constants for PreviewDataToCxSegment from ((personalizationcms))
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedPersonalizationcmsManager

        public GeneratedPersonalizationcmsManager()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx,
                                        PreviewData item)
        Generated method - Getter of the PreviewData.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode​(PreviewData item)
        Generated method - Getter of the PreviewData.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            PreviewData item,
                            java.lang.String value)
        Generated method - Setter of the PreviewData.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(PreviewData item,
                            java.lang.String value)
        Generated method - Setter of the PreviewData.code attribute.
        Parameters:
        value - the code
      • isContainerCleanupEnabled

        public java.lang.Boolean isContainerCleanupEnabled​(SessionContext ctx,
                                                           CxConfig item)
        Generated method - Getter of the CxConfig.containerCleanupEnabled attribute.
        Returns:
        the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • isContainerCleanupEnabled

        public java.lang.Boolean isContainerCleanupEnabled​(CxConfig item)
        Generated method - Getter of the CxConfig.containerCleanupEnabled attribute.
        Returns:
        the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • isContainerCleanupEnabledAsPrimitive

        public boolean isContainerCleanupEnabledAsPrimitive​(SessionContext ctx,
                                                            CxConfig item)
        Generated method - Getter of the CxConfig.containerCleanupEnabled attribute.
        Returns:
        the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • isContainerCleanupEnabledAsPrimitive

        public boolean isContainerCleanupEnabledAsPrimitive​(CxConfig item)
        Generated method - Getter of the CxConfig.containerCleanupEnabled attribute.
        Returns:
        the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • setContainerCleanupEnabled

        public void setContainerCleanupEnabled​(SessionContext ctx,
                                               CxConfig item,
                                               java.lang.Boolean value)
        Generated method - Setter of the CxConfig.containerCleanupEnabled attribute.
        Parameters:
        value - the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • setContainerCleanupEnabled

        public void setContainerCleanupEnabled​(CxConfig item,
                                               java.lang.Boolean value)
        Generated method - Setter of the CxConfig.containerCleanupEnabled attribute.
        Parameters:
        value - the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • setContainerCleanupEnabled

        public void setContainerCleanupEnabled​(SessionContext ctx,
                                               CxConfig item,
                                               boolean value)
        Generated method - Setter of the CxConfig.containerCleanupEnabled attribute.
        Parameters:
        value - the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • setContainerCleanupEnabled

        public void setContainerCleanupEnabled​(CxConfig item,
                                               boolean value)
        Generated method - Setter of the CxConfig.containerCleanupEnabled attribute.
        Parameters:
        value - the containerCleanupEnabled - Attribute defining if cx container should be removed in case there is no actions related to it
      • createCxCmsAction

        public CxCmsAction createCxCmsAction​(java.util.Map attributeValues)
      • createCxCmsComponentContainer

        public CxCmsComponentContainer createCxCmsComponentContainer​(java.util.Map attributeValues)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class Extension
      • getPreviews

        public java.util.Collection<PreviewData> getPreviews​(SessionContext ctx,
                                                             CxVariation item)
        Generated method - Getter of the CxVariation.previews attribute.
        Returns:
        the previews
      • getPreviews

        public java.util.Collection<PreviewData> getPreviews​(CxVariation item)
        Generated method - Getter of the CxVariation.previews attribute.
        Returns:
        the previews
      • getPreviewsCount

        public long getPreviewsCount​(CxVariation item)
      • setPreviews

        public void setPreviews​(SessionContext ctx,
                                CxVariation item,
                                java.util.Collection<PreviewData> value)
        Generated method - Setter of the CxVariation.previews attribute.
        Parameters:
        value - the previews
      • setPreviews

        public void setPreviews​(CxVariation item,
                                java.util.Collection<PreviewData> value)
        Generated method - Setter of the CxVariation.previews attribute.
        Parameters:
        value - the previews
      • addToPreviews

        public void addToPreviews​(SessionContext ctx,
                                  CxVariation item,
                                  PreviewData value)
        Generated method - Adds value to previews.
        Parameters:
        value - the item to add to previews
      • addToPreviews

        public void addToPreviews​(CxVariation item,
                                  PreviewData value)
        Generated method - Adds value to previews.
        Parameters:
        value - the item to add to previews
      • removeFromPreviews

        public void removeFromPreviews​(SessionContext ctx,
                                       CxVariation item,
                                       PreviewData value)
        Generated method - Removes value from previews.
        Parameters:
        value - the item to remove from previews
      • removeFromPreviews

        public void removeFromPreviews​(CxVariation item,
                                       PreviewData value)
        Generated method - Removes value from previews.
        Parameters:
        value - the item to remove from previews
      • getPreviews

        public java.util.Collection<PreviewData> getPreviews​(SessionContext ctx,
                                                             CxSegment item)
        Generated method - Getter of the CxSegment.previews attribute.
        Returns:
        the previews
      • getPreviews

        public java.util.Collection<PreviewData> getPreviews​(CxSegment item)
        Generated method - Getter of the CxSegment.previews attribute.
        Returns:
        the previews
      • getPreviewsCount

        public long getPreviewsCount​(CxSegment item)
      • setPreviews

        public void setPreviews​(SessionContext ctx,
                                CxSegment item,
                                java.util.Collection<PreviewData> value)
        Generated method - Setter of the CxSegment.previews attribute.
        Parameters:
        value - the previews
      • setPreviews

        public void setPreviews​(CxSegment item,
                                java.util.Collection<PreviewData> value)
        Generated method - Setter of the CxSegment.previews attribute.
        Parameters:
        value - the previews
      • addToPreviews

        public void addToPreviews​(SessionContext ctx,
                                  CxSegment item,
                                  PreviewData value)
        Generated method - Adds value to previews.
        Parameters:
        value - the item to add to previews
      • addToPreviews

        public void addToPreviews​(CxSegment item,
                                  PreviewData value)
        Generated method - Adds value to previews.
        Parameters:
        value - the item to add to previews
      • removeFromPreviews

        public void removeFromPreviews​(SessionContext ctx,
                                       CxSegment item,
                                       PreviewData value)
        Generated method - Removes value from previews.
        Parameters:
        value - the item to remove from previews
      • removeFromPreviews

        public void removeFromPreviews​(CxSegment item,
                                       PreviewData value)
        Generated method - Removes value from previews.
        Parameters:
        value - the item to remove from previews
      • getSegments

        public java.util.Collection<CxSegment> getSegments​(SessionContext ctx,
                                                           PreviewData item)
        Generated method - Getter of the PreviewData.segments attribute.
        Returns:
        the segments
      • getSegments

        public java.util.Collection<CxSegment> getSegments​(PreviewData item)
        Generated method - Getter of the PreviewData.segments attribute.
        Returns:
        the segments
      • getSegmentsCount

        public long getSegmentsCount​(PreviewData item)
      • setSegments

        public void setSegments​(SessionContext ctx,
                                PreviewData item,
                                java.util.Collection<CxSegment> value)
        Generated method - Setter of the PreviewData.segments attribute.
        Parameters:
        value - the segments
      • setSegments

        public void setSegments​(PreviewData item,
                                java.util.Collection<CxSegment> value)
        Generated method - Setter of the PreviewData.segments attribute.
        Parameters:
        value - the segments
      • addToSegments

        public void addToSegments​(SessionContext ctx,
                                  PreviewData item,
                                  CxSegment value)
        Generated method - Adds value to segments.
        Parameters:
        value - the item to add to segments
      • addToSegments

        public void addToSegments​(PreviewData item,
                                  CxSegment value)
        Generated method - Adds value to segments.
        Parameters:
        value - the item to add to segments
      • removeFromSegments

        public void removeFromSegments​(SessionContext ctx,
                                       PreviewData item,
                                       CxSegment value)
        Generated method - Removes value from segments.
        Parameters:
        value - the item to remove from segments
      • removeFromSegments

        public void removeFromSegments​(PreviewData item,
                                       CxSegment value)
        Generated method - Removes value from segments.
        Parameters:
        value - the item to remove from segments
      • getVariations

        public java.util.Collection<CxVariation> getVariations​(SessionContext ctx,
                                                               PreviewData item)
        Generated method - Getter of the PreviewData.variations attribute.
        Returns:
        the variations
      • getVariations

        public java.util.Collection<CxVariation> getVariations​(PreviewData item)
        Generated method - Getter of the PreviewData.variations attribute.
        Returns:
        the variations
      • getVariationsCount

        public long getVariationsCount​(PreviewData item)
      • setVariations

        public void setVariations​(SessionContext ctx,
                                  PreviewData item,
                                  java.util.Collection<CxVariation> value)
        Generated method - Setter of the PreviewData.variations attribute.
        Parameters:
        value - the variations
      • setVariations

        public void setVariations​(PreviewData item,
                                  java.util.Collection<CxVariation> value)
        Generated method - Setter of the PreviewData.variations attribute.
        Parameters:
        value - the variations
      • addToVariations

        public void addToVariations​(SessionContext ctx,
                                    PreviewData item,
                                    CxVariation value)
        Generated method - Adds value to variations.
        Parameters:
        value - the item to add to variations
      • addToVariations

        public void addToVariations​(PreviewData item,
                                    CxVariation value)
        Generated method - Adds value to variations.
        Parameters:
        value - the item to add to variations
      • removeFromVariations

        public void removeFromVariations​(SessionContext ctx,
                                         PreviewData item,
                                         CxVariation value)
        Generated method - Removes value from variations.
        Parameters:
        value - the item to remove from variations
      • removeFromVariations

        public void removeFromVariations​(PreviewData item,
                                         CxVariation value)
        Generated method - Removes value from variations.
        Parameters:
        value - the item to remove from variations