Class PreviewDataModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreviewDataModel
    extends ItemModel
    Generated model class for type PreviewData first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIVECATALOGVERSION
      Generated constant - Attribute key of PreviewData.activeCatalogVersion attribute defined at extension cms2.
      static java.lang.String ACTIVESITE
      Generated constant - Attribute key of PreviewData.activeSite attribute defined at extension cms2.
      static java.lang.String CATALOGVERSIONS
      Generated constant - Attribute key of PreviewData.catalogVersions attribute defined at extension cms2.
      static java.lang.String CODE
      Generated constant - Attribute key of PreviewData.code attribute defined at extension personalizationcms.
      static java.lang.String COUNTRY
      Generated constant - Attribute key of PreviewData.country attribute defined at extension cms2.
      static java.lang.String EDITMODE
      Generated constant - Attribute key of PreviewData.editMode attribute defined at extension cms2.
      static java.lang.String LANGUAGE
      Generated constant - Attribute key of PreviewData.language attribute defined at extension cms2.
      static java.lang.String LIVEEDIT
      Generated constant - Attribute key of PreviewData.liveEdit attribute defined at extension cms2.
      static java.lang.String PAGE
      Generated constant - Attribute key of PreviewData.page attribute defined at extension cms2.
      static java.lang.String PREVIEWCATALOG
      Generated constant - Attribute key of PreviewData.previewCatalog attribute defined at extension cms2.
      static java.lang.String PREVIEWCATEGORY
      Generated constant - Attribute key of PreviewData.previewCategory attribute defined at extension cms2.
      static java.lang.String PREVIEWPRODUCT
      Generated constant - Attribute key of PreviewData.previewProduct attribute defined at extension cms2.
      static java.lang.String RESOURCEPATH
      Generated constant - Attribute key of PreviewData.resourcePath attribute defined at extension cms2.
      static java.lang.String SEGMENTS
      Generated constant - Attribute key of PreviewData.segments attribute defined at extension personalizationcms.
      static java.lang.String TIME
      Generated constant - Attribute key of PreviewData.time attribute defined at extension cms2.
      static java.lang.String UIEXPERIENCE
      Generated constant - Attribute key of PreviewData.uiExperience attribute defined at extension acceleratorcms.
      static java.lang.String USER
      Generated constant - Attribute key of PreviewData.user attribute defined at extension cms2.
      static java.lang.String USERGROUP
      Generated constant - Attribute key of PreviewData.userGroup attribute defined at extension cms2.
      static java.lang.String VARIATIONS
      Generated constant - Attribute key of PreviewData.variations attribute defined at extension personalizationcms.
      static java.lang.String VERSION
      Generated constant - Attribute key of PreviewData.version attribute defined at extension cms2.
    • Constructor Summary

      Constructors 
      Constructor Description
      PreviewDataModel()
      Generated constructor - Default constructor for generic creation.
      PreviewDataModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      PreviewDataModel​(java.lang.Boolean _liveEdit)
      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
      PreviewDataModel​(java.lang.Boolean _liveEdit, ItemModel _owner)
      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
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of PreviewData.user attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • USERGROUP

        public static final java.lang.String USERGROUP
        Generated constant - Attribute key of PreviewData.userGroup attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • COUNTRY

        public static final java.lang.String COUNTRY
        Generated constant - Attribute key of PreviewData.country attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        Generated constant - Attribute key of PreviewData.language attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • TIME

        public static final java.lang.String TIME
        Generated constant - Attribute key of PreviewData.time attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • LIVEEDIT

        public static final java.lang.String LIVEEDIT
        Generated constant - Attribute key of PreviewData.liveEdit attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • EDITMODE

        public static final java.lang.String EDITMODE
        Generated constant - Attribute key of PreviewData.editMode attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • RESOURCEPATH

        public static final java.lang.String RESOURCEPATH
        Generated constant - Attribute key of PreviewData.resourcePath attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PAGE

        public static final java.lang.String PAGE
        Generated constant - Attribute key of PreviewData.page attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PREVIEWCATEGORY

        public static final java.lang.String PREVIEWCATEGORY
        Generated constant - Attribute key of PreviewData.previewCategory attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PREVIEWPRODUCT

        public static final java.lang.String PREVIEWPRODUCT
        Generated constant - Attribute key of PreviewData.previewProduct attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PREVIEWCATALOG

        public static final java.lang.String PREVIEWCATALOG
        Generated constant - Attribute key of PreviewData.previewCatalog attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • ACTIVESITE

        public static final java.lang.String ACTIVESITE
        Generated constant - Attribute key of PreviewData.activeSite attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • ACTIVECATALOGVERSION

        public static final java.lang.String ACTIVECATALOGVERSION
        Generated constant - Attribute key of PreviewData.activeCatalogVersion attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        Generated constant - Attribute key of PreviewData.version attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • CATALOGVERSIONS

        public static final java.lang.String CATALOGVERSIONS
        Generated constant - Attribute key of PreviewData.catalogVersions attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • UIEXPERIENCE

        public static final java.lang.String UIEXPERIENCE
        Generated constant - Attribute key of PreviewData.uiExperience attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of PreviewData.code attribute defined at extension personalizationcms.
        See Also:
        Constant Field Values
      • VARIATIONS

        public static final java.lang.String VARIATIONS
        Generated constant - Attribute key of PreviewData.variations attribute defined at extension personalizationcms.
        See Also:
        Constant Field Values
      • SEGMENTS

        public static final java.lang.String SEGMENTS
        Generated constant - Attribute key of PreviewData.segments attribute defined at extension personalizationcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PreviewDataModel

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

        public PreviewDataModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • PreviewDataModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PreviewDataModel​(java.lang.Boolean _liveEdit)
        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:
        _liveEdit - initial attribute declared by type PreviewData at extension cms2
      • PreviewDataModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PreviewDataModel​(java.lang.Boolean _liveEdit,
                                ItemModel _owner)
        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:
        _liveEdit - initial attribute declared by type PreviewData at extension cms2
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getActiveCatalogVersion

        @Accessor(qualifier="activeCatalogVersion",
                  type=GETTER)
        public CatalogVersionModel getActiveCatalogVersion()
        Generated method - Getter of the PreviewData.activeCatalogVersion attribute defined at extension cms2.
        Returns:
        the activeCatalogVersion
      • getActiveSite

        @Accessor(qualifier="activeSite",
                  type=GETTER)
        public CMSSiteModel getActiveSite()
        Generated method - Getter of the PreviewData.activeSite attribute defined at extension cms2.
        Returns:
        the activeSite
      • getCatalogVersions

        @Accessor(qualifier="catalogVersions",
                  type=GETTER)
        public java.util.Collection<CatalogVersionModel> getCatalogVersions()
        Generated method - Getter of the PreviewData.catalogVersions attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the catalogVersions
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the PreviewData.code attribute defined at extension personalizationcms.
        Returns:
        the code
      • getCountry

        @Accessor(qualifier="country",
                  type=GETTER)
        public CountryModel getCountry()
        Generated method - Getter of the PreviewData.country attribute defined at extension cms2.
        Returns:
        the country
      • getEditMode

        @Accessor(qualifier="editMode",
                  type=GETTER)
        public java.lang.Boolean getEditMode()
        Generated method - Getter of the PreviewData.editMode attribute defined at extension cms2.
        Returns:
        the editMode
      • getLanguage

        @Accessor(qualifier="language",
                  type=GETTER)
        public LanguageModel getLanguage()
        Generated method - Getter of the PreviewData.language attribute defined at extension cms2.
        Returns:
        the language
      • getLiveEdit

        @Deprecated(since="1811",
                    forRemoval=true)
        @Accessor(qualifier="liveEdit",
                  type=GETTER)
        public java.lang.Boolean getLiveEdit()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811
        Generated method - Getter of the PreviewData.liveEdit attribute defined at extension cms2.
        Returns:
        the liveEdit
      • getPreviewCatalog

        @Accessor(qualifier="previewCatalog",
                  type=GETTER)
        public CatalogModel getPreviewCatalog()
        Generated method - Getter of the PreviewData.previewCatalog attribute defined at extension cms2.
        Returns:
        the previewCatalog
      • getPreviewCategory

        @Accessor(qualifier="previewCategory",
                  type=GETTER)
        public CategoryModel getPreviewCategory()
        Generated method - Getter of the PreviewData.previewCategory attribute defined at extension cms2.
        Returns:
        the previewCategory
      • getPreviewProduct

        @Accessor(qualifier="previewProduct",
                  type=GETTER)
        public ProductModel getPreviewProduct()
        Generated method - Getter of the PreviewData.previewProduct attribute defined at extension cms2.
        Returns:
        the previewProduct
      • getResourcePath

        @Accessor(qualifier="resourcePath",
                  type=GETTER)
        public java.lang.String getResourcePath()
        Generated method - Getter of the PreviewData.resourcePath attribute defined at extension cms2.
        Returns:
        the resourcePath
      • getSegments

        @Accessor(qualifier="segments",
                  type=GETTER)
        public java.util.Collection<CxSegmentModel> getSegments()
        Generated method - Getter of the PreviewData.segments attribute defined at extension personalizationcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the segments
      • getTime

        @Accessor(qualifier="time",
                  type=GETTER)
        public java.util.Date getTime()
        Generated method - Getter of the PreviewData.time attribute defined at extension cms2.
        Returns:
        the time
      • getUiExperience

        @Accessor(qualifier="uiExperience",
                  type=GETTER)
        public UiExperienceLevel getUiExperience()
        Generated method - Getter of the PreviewData.uiExperience attribute defined at extension acceleratorcms.
        Returns:
        the uiExperience
      • getUserGroup

        @Accessor(qualifier="userGroup",
                  type=GETTER)
        public UserGroupModel getUserGroup()
        Generated method - Getter of the PreviewData.userGroup attribute defined at extension cms2.
        Returns:
        the userGroup
      • getVariations

        @Accessor(qualifier="variations",
                  type=GETTER)
        public java.util.Collection<CxVariationModel> getVariations()
        Generated method - Getter of the PreviewData.variations attribute defined at extension personalizationcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the variations
      • setActiveCatalogVersion

        @Accessor(qualifier="activeCatalogVersion",
                  type=SETTER)
        public void setActiveCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of PreviewData.activeCatalogVersion attribute defined at extension cms2.
        Parameters:
        value - the activeCatalogVersion
      • setActiveSite

        @Accessor(qualifier="activeSite",
                  type=SETTER)
        public void setActiveSite​(CMSSiteModel value)
        Generated method - Setter of PreviewData.activeSite attribute defined at extension cms2.
        Parameters:
        value - the activeSite
      • setCatalogVersions

        @Accessor(qualifier="catalogVersions",
                  type=SETTER)
        public void setCatalogVersions​(java.util.Collection<CatalogVersionModel> value)
        Generated method - Setter of PreviewData.catalogVersions attribute defined at extension cms2.
        Parameters:
        value - the catalogVersions
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of PreviewData.code attribute defined at extension personalizationcms.
        Parameters:
        value - the code
      • setCountry

        @Accessor(qualifier="country",
                  type=SETTER)
        public void setCountry​(CountryModel value)
        Generated method - Setter of PreviewData.country attribute defined at extension cms2.
        Parameters:
        value - the country
      • setEditMode

        @Accessor(qualifier="editMode",
                  type=SETTER)
        public void setEditMode​(java.lang.Boolean value)
        Generated method - Setter of PreviewData.editMode attribute defined at extension cms2.
        Parameters:
        value - the editMode
      • setLanguage

        @Accessor(qualifier="language",
                  type=SETTER)
        public void setLanguage​(LanguageModel value)
        Generated method - Setter of PreviewData.language attribute defined at extension cms2.
        Parameters:
        value - the language
      • setLiveEdit

        @Deprecated(since="1811",
                    forRemoval=true)
        @Accessor(qualifier="liveEdit",
                  type=SETTER)
        public void setLiveEdit​(java.lang.Boolean value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811
        Generated method - Setter of PreviewData.liveEdit attribute defined at extension cms2.
        Parameters:
        value - the liveEdit
      • setPreviewCatalog

        @Accessor(qualifier="previewCatalog",
                  type=SETTER)
        public void setPreviewCatalog​(CatalogModel value)
        Generated method - Setter of PreviewData.previewCatalog attribute defined at extension cms2.
        Parameters:
        value - the previewCatalog
      • setPreviewCategory

        @Accessor(qualifier="previewCategory",
                  type=SETTER)
        public void setPreviewCategory​(CategoryModel value)
        Generated method - Setter of PreviewData.previewCategory attribute defined at extension cms2.
        Parameters:
        value - the previewCategory
      • setPreviewProduct

        @Accessor(qualifier="previewProduct",
                  type=SETTER)
        public void setPreviewProduct​(ProductModel value)
        Generated method - Setter of PreviewData.previewProduct attribute defined at extension cms2.
        Parameters:
        value - the previewProduct
      • setResourcePath

        @Accessor(qualifier="resourcePath",
                  type=SETTER)
        public void setResourcePath​(java.lang.String value)
        Generated method - Setter of PreviewData.resourcePath attribute defined at extension cms2.
        Parameters:
        value - the resourcePath
      • setSegments

        @Accessor(qualifier="segments",
                  type=SETTER)
        public void setSegments​(java.util.Collection<CxSegmentModel> value)
        Generated method - Setter of PreviewData.segments attribute defined at extension personalizationcms.
        Parameters:
        value - the segments
      • setTime

        @Accessor(qualifier="time",
                  type=SETTER)
        public void setTime​(java.util.Date value)
        Generated method - Setter of PreviewData.time attribute defined at extension cms2.
        Parameters:
        value - the time
      • setUiExperience

        @Accessor(qualifier="uiExperience",
                  type=SETTER)
        public void setUiExperience​(UiExperienceLevel value)
        Generated method - Setter of PreviewData.uiExperience attribute defined at extension acceleratorcms.
        Parameters:
        value - the uiExperience
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of PreviewData.user attribute defined at extension cms2.
        Parameters:
        value - the user
      • setUserGroup

        @Accessor(qualifier="userGroup",
                  type=SETTER)
        public void setUserGroup​(UserGroupModel value)
        Generated method - Setter of PreviewData.userGroup attribute defined at extension cms2.
        Parameters:
        value - the userGroup
      • setVariations

        @Accessor(qualifier="variations",
                  type=SETTER)
        public void setVariations​(java.util.Collection<CxVariationModel> value)
        Generated method - Setter of PreviewData.variations attribute defined at extension personalizationcms.
        Parameters:
        value - the variations
      • setVersion

        @Accessor(qualifier="version",
                  type=SETTER)
        public void setVersion​(CMSVersionModel value)
        Generated method - Setter of PreviewData.version attribute defined at extension cms2.
        Parameters:
        value - the version