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

commerce.broadleaf-contentmanagement-module.3.0.15-GA.source-code.bl-cms-contentCreator-applicationContext.xml Maven / Gradle / Ivy

There is a newer version: 3.1.15-GA
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:mo="http://schema.broadleafcommerce.org/mo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
            http://www.springframework.org/schema/context
            http://www.springframework.org/schema/context/spring-context-3.2.xsd
            http://www.springframework.org/schema/aop
            http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
            http://schema.broadleafcommerce.org/mo
            http://schema.broadleafcommerce.org/mo/mo-3.0.xsd">

    <context:component-scan base-package="org.broadleafcommerce.cms">
        <context:exclude-filter type="regex" expression="org.broadleafcommerce.cms.admin.web.controller.*"/>
    </context:component-scan>
    
    <bean id="blCustomPersistenceHandlers" class="org.springframework.beans.factory.config.ListFactoryBean" scope="prototype">
        <property name="sourceList">
            <list>
                <ref bean="blPageTemplateCustomPersistenceHandler" />
                <ref bean="blStructuredContentTypeCustomPersistenceHandler"/>
                <ref bean="blSandBoxItemCustomPersistenceHandler"/>
                <ref bean="blPendingSandBoxItemCustomPersistenceHandler"/>
                <ref bean="blTimeDTOCustomPersistenceHandler"/>
                <ref bean="blRequestDTOCustomPersistenceHandler"/>
                <ref bean="blStructuredContentItemCriteriaCustomPersistenceHandler"/>
                <ref bean="blPageItemCriteriaCustomPersistenceHandler"/>
            </list>
        </property>
    </bean>

   <mo:override id="blMetadataOverrides">
        <mo:overrideItem configurationKey="targetProduct">
            <mo:field name="defaultCategory">
                <mo:property name="excluded" value="false"/>
            </mo:field>
            <mo:field name="id">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="description">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="longDescription">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="activeStartDate">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="activeEndDate">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="defaultCategory.activeStartDate">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="defaultCategory.activeEndDate">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="sku.name">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="sku.salePrice">
                <mo:property name="excluded" value="true"/>
            </mo:field>
            <mo:field name="sku.retailPrice">
                <mo:property name="excluded" value="true"/>
            </mo:field>
        </mo:overrideItem>
    </mo:override>

    <bean id="messageSource" class="org.broadleafcommerce.common.util.BroadleafMergeResourceBundleMessageSource">
        <property name="useCodeAsDefaultMessage" value="${messages.useCodeAsDefaultMessage}" />
        <property name="cacheSeconds" value="${messages.cacheSeconds}" />
        <property name="basenames">
            <list>
                <value>classpath:/messages/ContentManagementMessages</value>
                <value>classpath:/messages/GeneratedMessagesEntityCMS</value>
                <value>classpath:/messages/SandBoxMessages</value>
            </list>
        </property>
    </bean>

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy