Краткое описание
Настраиваемый бандл используется для поиска по произвольным модулям
<?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="{DOP name}" p:resultType="{bundle type}"> <constructor-arg index="0" value="{custom bundle type}"/> <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>
Настройка настраиваемого бандла
Уникальный идентификатор
Идентификатор возвращаемого бандла
Название бандла. Задается вручную или выбирается из существующих названий.
Формат: %{<название бандла>}
<constructor-arg index="1" value="%{cmj-AF.search.bundle.name.allDoc}" />
Список параметров
ГОТОВО
Параметры и атрибуты: