Корневой элемент beans. Пространство имен: <beans lxmlns="http://www.springframework.org/schema/beans">

Настраиваемый бандл используется для поиска по произвольным модулям

<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:c="http://www.springframework.org/schema/c"
	xmlns="http://www.springframework.org/schema/beans"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">            

 	<!-- Произвольный модуль на базе модудя Входящий документ -->
    <bean id="{bundle name}" class="ru.intertrust.cmj.af.search.dp.CmCustomTypeBundle" p:customType="F_DP_InputRkk" p:resultType="rkk">
        <constructor-arg index="0" value="{bundle id}"/>
        <constructor-arg index="1" value="Электронная карточка" />
        <constructor-arg index="2">
            <list>
                <ref bean="{name parameter}"/>
                <ref bean="linkedDocs"/>
                <ref bean="searchInContent"/>
                <ref bean="searchOnEverywhere"/>
            </list>
        </constructor-arg>
        <constructor-arg index="3" ref="cmj_af_search_messageSource" />
        <property name="typeAggregate" value="main"/>
        <property name="priority" value="1" />
    </bean>  

</beans>

attributes

ПараметрыОписание

id

Уникальный идентификатор

class

ru.intertrust.cmj.af.search.dp.CmCustomTypeBundle

p:customType

Тип искомого объекта в БД

p:resultType

Тип возвращаемого объекта (bundleId объекта, на основе которого построен используемый кастомный модуль - например "rkk")

constructor-arg.index="0"

ЗначенияОписание

value

Идентификатор бандла

constructor-arg.index="1"

ЗначенияОписание

value

Отображаемое название

constructor-arg.index="2"

list

Список параметров

ЗначенияОписание

ref

Ссылка на параметры поиска

constructor-arg.index="3"

ЗначенияОписание

ref

Ссылка на служебный бин cmj_af_search_messageSource

property.name="typeAggregate"

ЗначенияОписание

value

Тип. Указывается main или version

property.name="priority"

ЗначенияОписание

value

Приоритет. На форме должен отображаться только один бандл из типа, с максимальным приоритетом
Статус

Комментарий

Теги и атрибуты: