xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
- http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
+ http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
">
<bean id="genericApiCardinalityPropertyFilter" class="eu.etaxonomy.cdm.remote.json.util.CardinalityPropertyFilter">
<value>TermNode.children</value>
<value>TermNode.feature</value>
- <value>NomenclaturalStatus.citation</value>
+ <value>NomenclaturalStatus.source</value>
+ <value>DescriptionElementSource.citation</value>
<value>TreeNode.data</value>
<value>TreeNode.data</value>
<value>PolytomousKeyNode.feature</value>
<value>PolytomousKeyNode.statement</value>
<value>PolytomousKeyNode.modifyingText</value>
+ <value>PolytomousKeyNode.otherNode</value>
<value>LinkedPolytomousKeyNodeRowDto.childStatement</value>
<value>LinkedPolytomousKeyNodeRowDto.rowQuestion</value>
<entry key="eu.etaxonomy.cdm.model.taxon.TaxonNode">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor" />
</entry>
+ <entry key="eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.location.Point">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.PointBeanProcessor"/>
+ </entry>
<entry key="eu.etaxonomy.cdm.model.reference.Reference">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.ReferenceBaseBeanProcessor"/>
</entry>
<entry key="eu.etaxonomy.cdm.model.description.DescriptionElementBase">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.DescriptionElementBeanProcessor" />
</entry>
+ <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
+ <entry key="eu.etaxonomy.cdm.model.reference.CdmLinkSource">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.CdmLinkSourceBeanProcessor" />
+ </entry>
+ -->
<entry key="eu.etaxonomy.cdm.model.description.StateData">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.StateDataBeanProcessor" />
</entry>
<entry key="org.apache.lucene.document.Document">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
</entry>
+ <entry key="eu.etaxonomy.cdm.api.service.dto.RegistrationDTO">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.RegistrationDtoBeanProcessor" />
+ </entry>
</map>
</property>
<property name="jsonPropertyFilter">
<entry key="java.util.LinkedHashMap">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.TypeDesignationWorkingSet">
+ <entry key="eu.etaxonomy.cdm.api.service.name.TypeDesignationWorkingSet">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="java.net.URI">
+ <entry key="eu.etaxonomy.cdm.common.URI">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
</entry>
+ <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
+ </entry>
</map>
</property>
<property name="ignoreDefaultExcludes" value="true" />
<value>cacheStrategy</value>
<value>createdBy</value>
<value>updatedBy</value>
+ <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
+ <value>cdmSourceTarget</value><! - - OriginalSourceBase.getCdmSourceTarget() -->
</list>
</property>
</bean>
class="eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
</entry>
<entry key="eu.etaxonomy.cdm.model.taxon.TaxonNode">
+ <bean
+ class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNode2DtoBeanProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
<bean
class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
</entry>
<entry key="java.util.Map">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="java.net.URI">
+ <entry key="eu.etaxonomy.cdm.common.URI">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
</entry>
+ <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
+ </entry>
</map>
</property>
<property name="ignoreDefaultExcludes" value="true" />
</bean>
</entry>
<entry key="eu.etaxonomy.cdm.model.name.TaxonName">
- <bean
- class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor" />
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor">
+ <property name="excludes">
+ <set value-type="java.lang.String">
+ <value>homotypicalGroup</value>
+ </set>
+ </property>
+ </bean>
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNode">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor">
+ <property name="replaceMultilanguageText" value="true" />
+ </bean>
</entry>
+ <entry key="eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.name.TypeDesignationBase">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TypeDesignationBaseBeanProcessor">
+ <property name="replaceMultilanguageText" value="true" />
+ </bean>
+ </entry>
<entry key="eu.etaxonomy.cdm.model.name.NameRelationship">
<bean
class="eu.etaxonomy.cdm.remote.json.processor.bean.NameRelationshipBeanProcessor" />
<entry key="eu.etaxonomy.cdm.model.agent.TeamOrPersonBase">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor" />
</entry>
+ <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
+ <entry key="eu.etaxonomy.cdm.model.reference.CdmLinkSource">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.CdmLinkSourceBeanProcessor" />
+ </entry>
+ -->
<entry key="org.apache.lucene.document.Document">
<bean class="eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
</entry>
<property name="replaceMultilanguageText" value="true" />
</bean>
</entry>
+ <entry key="eu.etaxonomy.cdm.model.description.KeyStatement">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.KeyStatementBeanProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.api.service.dto.RegistrationDTO">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.RegistrationDtoBeanProcessor" />
+ </entry>
</map>
</property>
<property name="jsonPropertyFilter">
<entry key="java.util.Map">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="java.net.URI">
+ <entry key="java.util.LinkedHashMap">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.api.service.name.TypeDesignationWorkingSet">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.common.URI">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
</entry>
+ <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor" />
+ </entry>
+ <entry key="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
+ <bean class="eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
+ </entry>
</map>
</property>
<property name="ignoreDefaultExcludes" value="true" />
<value>createdBy</value>
<value>updatedBy</value>
<value>inDescription</value>
+ <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
+ <value>cdmSourceTarget</value>< !- - OriginalSourceBase.getCdmSourceTarget() -->
</list>
</property>
</bean>
<entry key="java.util.Map">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="java.net.URI">
+ <entry key="eu.etaxonomy.cdm.common.URI">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
</entry>
-
</map>
</property>
<property name="ignoreDefaultExcludes" value="true" />
<entry key="java.util.Map">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
</entry>
- <entry key="java.net.URI">
+ <entry key="eu.etaxonomy.cdm.common.URI">
<bean class="eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
</entry>