All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spot-cms-base.1.0.20-BETA-20181129.source-code.merged-itemtypes.xml Maven / Gradle / Ivy

There is a newer version: 1.0.21-BETA-20190513
Show newest version
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <enum package="io.spotnext.itemtype.core.enumeration" name="UserRole">
        <description>The user role used to determine access rights and authorizations.</description>
        <value code="ADMIN"/>
        <value code="USER"/>
        <value code="ANONYMOUS"/>
    </enum>
    <enum package="io.spotnext.itemtype.cms.enumeration" name="TemplateRenderEngine">
        <description>The render engine used to render cms items.</description>
        <value code="VELOCITY"/>
        <value code="FREEMARKER"/>
        <value code="THYMELEAF"/>
        <value code="JSP"/>
    </enum>
    <enum package="io.spotnext.itemtype.core.enumeration" name="DataFormat">
        <description>Formats that are supported for import of data.</description>
        <value code="ImpEx"/>
        <value code="JSON"/>
        <value code="XML"/>
    </enum>
    <enum package="io.spotnext.itemtype.cms.enumeration" name="HtmlLinkTarget">
        <description>Represents an HTML link target used.</description>
        <value code="BLANK"/>
        <value code="SELF"/>
        <value code="PARENT"/>
        <value code="TOP"/>
    </enum>
    <enum package="io.spotnext.itemtype.cms.enumeration" name="Orientation">
        <description>Defines the orientation, eg. for layouts.</description>
        <value code="TOP"/>
        <value code="BOTTOM"/>
        <value code="LEFT"/>
        <value code="RIGHT"/>
    </enum>
    <enum package="io.spotnext.itemtype.core.enumeration" name="ApprovalStatus">
        <description>The approval status, eg. of products or CMS items.</description>
        <value code="APPROVED"/>
        <value code="UNAPPROVED"/>
    </enum>
    <type typeCode="abstractcmsitem" extends="UniqueIdItem" abstract="true" package="io.spotnext.itemtype.cms" name="AbstractCmsItem">
        <properties>
            <property name="catalogVersion" type="CatalogVersion">
                <description>The content catalog of the item.</description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
            <property name="renderEngine" type="TemplateRenderEngine">
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
        </properties>
    </type>
    <type typeCode="user" extends="Principal" package="io.spotnext.itemtype.core.user" name="User">
        <description>Represents a user.</description>
        <properties>
            <property name="emailAddress" type="String">
                <description>The main email address of the user.</description>
            </property>
            <property name="password" type="String">
                <description>The login password, can be encrypted.</description>
            </property>
        </properties>
    </type>
    <type typeCode="address" abstract="true" package="io.spotnext.itemtype.core.user" name="Address">
        <properties>
            <property name="streetName" type="String"/>
            <property name="streetNumber" type="String"/>
            <property name="city" type="String"/>
            <property name="postalCode" type="String"/>
            <property name="state" type="String"/>
            <property name="country" type="Country"/>
        </properties>
    </type>
    <type typeCode="configuration" extends="UniqueIdItem" package="io.spotnext.itemtype.core.configuration" name="Configuration">
        <description>This type can be used to store a set of configuration entries.</description>
        <properties>
            <property name="description" type="String">
                <description>The short description of the configuration's purpose.</description>
            </property>
        </properties>
    </type>
    <type typeCode="abstractcmscontainercomponent" extends="AbstractCmsComponent" abstract="true" package="io.spotnext.itemtype.cms" name="AbstractCmsContainerComponent">
        <properties/>
    </type>
    <type typeCode="htmlcomponent" extends="AbstractCmsComponent" package="io.spotnext.itemtype.cms" name="HtmlComponent">
        <properties>
            <property name="content" type="String">
                <description>The HTML content, that will be rendered. Can contain any valid HTML, even scripts and styles.</description>
                <persistence columnType="LONGVARCHAR"></persistence>
            </property>
        </properties>
    </type>
    <type typeCode="cmsonecolumnlayout" extends="CmsBaseLayout" package="io.spotnext.itemtype.cms" name="CmsOneColumnLayout">
        <properties>
            <property name="header" type="AbstractCmsComponent">
                <description>The component that will be used as header on top of the page.</description>
                <annotations>
                    <annotation javaClass="io.spotnext.cms.annotations.Renderable"/>
                </annotations>
            </property>
            <property name="footer" type="AbstractCmsComponent">
                <description>The component that will be used as footer at the bottom of the page.</description>
                <annotations>
                    <annotation javaClass="io.spotnext.cms.annotations.Renderable"/>
                </annotations>
            </property>
        </properties>
    </type>
    <type typeCode="useraddress" extends="Address" package="io.spotnext.itemtype.core.user" name="UserAddress">
        <properties>
            <property name="emailAddress" type="String"/>
            <property name="phone" type="String"/>
        </properties>
    </type>
    <type typeCode="localizedstring" package="io.spotnext.itemtype.core.internationalization" name="LocalizedString">
        <description>This type can be used to store localized strings.</description>
        <interfaces>
            <interface javaClass="io.spotnext.infrastructure.type.Localizable">
                <genericType value="String"/>
            </interface>
        </interfaces>
        <properties>
            <property name="en" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="en_GB" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="de" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="de_DE" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="fr" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="fr_FR" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="es" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="es_ES" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="it" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="it_IT" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="ja" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
            <property name="ja_JP" type="String">
                <modifiers readable="false" writable="false"/>
            </property>
        </properties>
    </type>
    <type typeCode="buttoncomponent" extends="LinkComponent" package="io.spotnext.itemtype.cms" name="ButtonComponent">
        <properties>
            <property name="onClick" type="String">
                <description>The javascript onClick handler.</description>
            </property>
        </properties>
    </type>
    <type typeCode="usergroup" extends="PrincipalGroup" package="io.spotnext.itemtype.core.user" name="UserGroup">
        <description>The base type all user group-like structures.</description>
    </type>
    <type typeCode="filemedia" extends="Media" package="io.spotnext.itemtype.core.media" name="FileMedia">
        <properties>
            <property name="dataPath" type="String">
                <description>The file path to the data object.</description>
            </property>
            <property name="data" type="ByteArray">
                <description>The content of the data object (read from the filesystem).</description>
                <accessors valueProvider="mediaDataValueProvider"/>
            </property>
        </properties>
    </type>
    <type typeCode="navigationbar" extends="AbstractNavigationContainer" package="io.spotnext.itemtype.cms" name="NavigationBar"/>
    <type typeCode="item" abstract="true" package="io.spotnext.infrastructure.type" name="Item"/>
    <type typeCode="language" package="io.spotnext.itemtype.core.internationalization" name="Language">
        <description>This represents a language object and it's locale.</description>
        <properties>
            <property name="iso3Code" type="String">
                <description>
                    The ISO-3 code of the language.
                    @see https://en.wikipedia.org/wiki/ISO_639-3.
                </description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                    <annotation javaClass="org.hibernate.validator.constraints.Length">
                        <argument name="min" numberValue="3"/>
                        <argument name="max" numberValue="3"/>
                    </annotation>
                </annotations>
            </property>
            <property name="isoCode" type="String">
                <description>
                    The ISO-3 code of the language.
                    @see https://en.wikipedia.org/wiki/ISO_639-1.
                </description>
                <annotations>
                    <annotation javaClass="org.hibernate.validator.constraints.Length">
                        <argument name="max" numberValue="2"/>
                    </annotation>
                </annotations>
            </property>
            <property name="name" type="LocalizedString" localized="true">
                <description>The international name of the language.</description>
            </property>
        </properties>
    </type>
    <type typeCode="imagecomponent" extends="LinkComponent" package="io.spotnext.itemtype.cms" name="ImageComponent">
        <properties>
            <property name="media" type="Media">
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
        </properties>
    </type>
    <type typeCode="uniqueiditem" persistable="false" abstract="true" package="io.spotnext.itemtype.core" name="UniqueIdItem">
        <description>The base type of all types that have a unique id property.</description>
        <properties>
            <property name="uid" type="String">
                <description>The unique id of the object.</description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="org.hibernate.validator.constraints.Length">
                        <argument name="min" numberValue="3"/>
                    </annotation>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
                <persistence indexed="true"></persistence>
            </property>
        </properties>
    </type>
    <type typeCode="currency" package="io.spotnext.itemtype.core.internationalization" name="Currency">
        <description>Represents a currency.</description>
        <properties>
            <property name="isoCode" type="String">
                <description>The iso code of the currency.</description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
            <property name="name" type="LocalizedString" localized="true">
                <description>The localized name of the currency.</description>
            </property>
        </properties>
    </type>
    <type typeCode="catalogversion" extends="UniqueIdItem" package="io.spotnext.itemtype.core.catalog" name="CatalogVersion">
        <description>A catalog version holds catalogable types that can be synchronized into another catalog version.</description>
        <properties>
            <property name="name" type="String">
                <description>The name of the catalog version.</description>
            </property>
            <property name="synchronizationTarget" type="CatalogVersion">
                <description>The target catalog version to which all containing items will be synchronized..</description>
            </property>
        </properties>
    </type>
    <type typeCode="contactdetailstype" extends="UniqueIdItem" package="io.spotnext.itemtype.core.user" name="ContactDetailsType">
        <properties>
            <property name="name" type="String">
                <description>The name of the contact details type.</description>
            </property>
        </properties>
    </type>
    <type typeCode="metatag" extends="ConfigEntry" package="io.spotnext.itemtype.cms" name="MetaTag"/>
    <type typeCode="abstractnavigationcontainer" extends="AbstractCmsContainerComponent" abstract="true" package="io.spotnext.itemtype.cms" name="AbstractNavigationContainer">
        <properties/>
    </type>
    <type typeCode="cmsbaselayout" extends="AbstractCmsItem" abstract="true" package="io.spotnext.itemtype.cms" name="CmsBaseLayout">
        <properties>
            <property name="renderTemplateFile" type="String">
                <description>The path (in the resources/templates folder) to the render template file used to render this CMS item.</description>
            </property>
            <property name="renderTemplateScript" type="String">
                <description>The template script used to render this CMS item. This has priority over the ${@link #getRenderTemplateFile} property.</description>
            </property>
        </properties>
    </type>
    <type typeCode="cmsrestriction" package="io.spotnext.itemtype.cms" name="CmsRestriction">
        <properties>
            <property name="evaluator" type="String">
                <description>The spring bean id of the corresponding evaluator implementation.</description>
            </property>
            <property name="evaluatorScript" type="String">
                <description>The beanshell script that evaluates the cms item visibility.</description>
            </property>
        </properties>
    </type>
    <type typeCode="cmspage" extends="CmsBaseLayout" abstract="true" package="io.spotnext.itemtype.cms" name="CmsPage">
        <properties>
            <property name="title" type="LocalizedString">
                <description>The page title (in the browser window).</description>
                <annotations>
                    <annotation javaClass="io.spotnext.cms.annotations.Renderable"/>
                </annotations>
            </property>
            <property name="favIconPath" type="String">
                <description>The (publicly available) path to the favIcon.</description>
                <annotations>
                    <annotation javaClass="io.spotnext.cms.annotations.Renderable"/>
                </annotations>
            </property>
            <property name="favIcon" type="ImageMedia">
                <description>The image media containing the favIcon.</description>
                <annotations>
                    <annotation javaClass="io.spotnext.cms.annotations.Renderable"/>
                </annotations>
            </property>
        </properties>
    </type>
    <type typeCode="imagemedia" extends="FileMedia" package="io.spotnext.itemtype.cms.media" name="ImageMedia">
        <properties/>
    </type>
    <type typeCode="media" extends="AbstractMedia" package="io.spotnext.itemtype.core.media" name="Media">
        <properties>
            <property name="data" type="ByteArray">
                <description>The content of the data object.</description>
                <persistence columnType="BLOB"></persistence>
            </property>
        </properties>
    </type>
    <type typeCode="menucomponent" extends="AbstractMenuComponent" package="io.spotnext.itemtype.cms" name="MenuComponent">
        <properties/>
    </type>
    <type typeCode="cmshomepage" extends="CmsPage" package="io.spotnext.itemtype.cms" name="CmsHomePage"/>
    <type typeCode="localizationvalue" extends="UniqueIdItem" package="io.spotnext.itemtype.core.internationalization" name="LocalizationValue">
        <description>This type can be used to store localized values different languages/locales.</description>
        <properties>
            <property name="locale" type="Locale">
                <description>
				The locale of the translation key.
			</description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
            <property name="value" type="String">
                <description>The localized value of the key.</description>
            </property>
        </properties>
    </type>
    <type typeCode="catalog" extends="UniqueIdItem" package="io.spotnext.itemtype.core.catalog" name="Catalog">
        <description>This is the container for all category and product-related types. It can have multiple catalog version.</description>
        <properties>
            <property name="name" type="String">
                <description>The name of the catalog.</description>
            </property>
        </properties>
    </type>
    <type typeCode="catalogitem" persistable="false" extends="UniqueIdItem" abstract="true" package="io.spotnext.itemtype.core" name="CatalogItem">
        <description>The base type all types that are catalogable.</description>
        <properties>
            <property name="catalogVersion" type="CatalogVersion">
                <description>The catalog version this item belongs to.</description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                </annotations>
            </property>
        </properties>
    </type>
    <type typeCode="configentry" extends="UniqueIdItem" package="io.spotnext.itemtype.core.configuration" name="ConfigEntry">
        <description>This type can be used to store a configuration entry.</description>
        <properties>
            <property name="stringValue" type="String"/>
            <property name="intValue" type="Integer"/>
            <property name="longValue" type="Long"/>
            <property name="doubleValue" type="Double"/>
            <property name="floatValue" type="Float"/>
            <property name="description" type="String">
                <description>The short description of the configuration entry's purpose.</description>
            </property>
        </properties>
    </type>
    <type typeCode="abstractmenucomponent" extends="LinkComponent" package="io.spotnext.itemtype.cms" name="AbstractMenuComponent">
        <properties/>
    </type>
    <type typeCode="linkcomponent" extends="AbstractCmsComponent" package="io.spotnext.itemtype.cms" name="LinkComponent">
        <properties>
            <property name="name" type="LocalizedString">
                <description>The navigation entry name.</description>
            </property>
            <property name="href" type="String">
                <description>The href of the link.</description>
            </property>
            <property name="target" type="HtmlLinkTarget">
                <description>The HTML link target.</description>
            </property>
        </properties>
    </type>
    <type typeCode="country" package="io.spotnext.itemtype.core.internationalization" name="Country">
        <properties>
            <property name="isoCode" type="String">
                <description>
                    The ISO-2 code of the country.
                    @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
                </description>
                <modifiers unique="true"/>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                    <annotation javaClass="org.hibernate.validator.constraints.Length">
                        <argument name="min" numberValue="2"/>
                        <argument name="max" numberValue="2"/>
                    </annotation>
                </annotations>
            </property>
            <property name="iso3Code" type="String">
                <description>
				The ISO-3 code of the country.
				@see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.
			</description>
                <annotations>
                    <annotation javaClass="javax.validation.constraints.NotNull"/>
                    <annotation javaClass="org.hibernate.validator.constraints.Length">
                        <argument name="min" numberValue="3"/>
                        <argument name="max" numberValue="3"/>
                    </annotation>
                </annotations>
            </property>
            <property name="shortName" type="LocalizedString" localized="true">
                <description>The short name of the country, eg. "Austria".</description>
            </property>
            <property name="longName" type="LocalizedString" localized="true">
                <description>The long name of the country, eg. "Republic of Austria".</description>
            </property>
            <property name="phoneCountryCode" type="String">
                <description>The phone country code, eg. +43 or 0043 for Austria</description>
            </property>
        </properties>
    </type>
    <type typeCode="principalgroup" extends="Principal" abstract="true" package="io.spotnext.itemtype.core.user" name="PrincipalGroup">
        <description>The base type all principal group-like structures.</description>
        <properties/>
    </type>
    <type typeCode="addresstype" extends="UniqueIdItem" package="io.spotnext.itemtype.core.user" name="AddressType">
        <properties>
            <property name="name" type="String">
                <description>The name of the address type.</description>
            </property>
        </properties>
    </type>
    <type typeCode="mediacontainer" extends="CatalogItem" package="io.spotnext.itemtype.core.media" name="MediaContainer">
        <properties/>
    </type>
    <type typeCode="abstractcmscomponent" extends="AbstractCmsItem" abstract="true" package="io.spotnext.itemtype.cms" name="AbstractCmsComponent">
        <properties>
            <property name="onlyOneRestrictionMustApply" type="Boolean">
                <description>
					If set to true, only one restriction must evaluate to "show cms item"
					for the item to be visible.
				</description>
            </property>
        </properties>
    </type>
    <type typeCode="principal" extends="UniqueIdItem" abstract="true" package="io.spotnext.itemtype.core.user" name="Principal">
        <description>The base type all user related item types.</description>
        <properties>
            <property name="shortName" type="String">
                <description>The short name identifying the principal object.
                </description>
            </property>
        </properties>
    </type>
    <type typeCode="abstractmedia" extends="CatalogItem" abstract="true" package="io.spotnext.itemtype.core.media" name="AbstractMedia">
        <properties>
            <property name="mimeType" type="String">
                <description>The mime type of the content.</description>
            </property>
            <property name="encoding" type="String">
                <description>The encoding of the content, eg. "UTF-8" or "base64".</description>
            </property>
        </properties>
    </type>
</types>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy