Project

General

Profile

Revision cd37d4f5

IDcd37d4f5e09aa1bdca6275562578c7e7c2f1a04c
Parent 4eb265cf
Child d30b5c09

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/json/jsonConfigurations.xml
108 108
    </property>
109 109
    <property name="jsonBeanProcessors">
110 110
      <map>
111
      <entry key="org.hibernate.proxy.HibernateProxy">
112
        <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
113
      </entry>
114
      <entry key="eu.etaxonomy.cdm.model.common.TermBase">
115
        <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TermBaseBeanProcessor">
116
           <property name="excludes">
117
             <set value-type="java.lang.String">
118
                 <value>partOf</value><!-- FIXME exclude partOf to avoid  lazy loading exceptions  -->
119
                 <value>kindOf</value><!-- FIXME exclude kindOf to avoid  lazy loading exceptions  -->
120
                 <value>infraGenericMarker</value><!-- FIXME leads to IllegalStateException if not excluded  -->
121
             </set>
122
          </property>
123
        </bean>
124
        </entry>
125
        <entry key="eu.etaxonomy.cdm.model.media.Media">
126
          <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.MediaBeanProcessor">
127
            <property name="replaceTitle" value="true" />
128
            <property name="replaceDescription" value="true" />
129
          </bean>
130
        </entry>
131
        <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNode">
132
          <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor" />
133
        </entry>
134
        <entry key="eu.etaxonomy.cdm.model.reference.Reference">
135
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.ReferenceBaseBeanProcessor"/>
136
        </entry>
137
        <entry key="eu.etaxonomy.cdm.model.name.TaxonName">
138
          <bean
139
            class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor">
140
            <property name="skipTaggedName" value="true" />
141
          </bean>
142
        </entry>
143
        <entry key="eu.etaxonomy.cdm.model.name.TypeDesignationBase">
144
          <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TypeDesignationBaseBeanProcessor"/>
145
        </entry>
146
        <entry key="eu.etaxonomy.cdm.model.description.KeyStatement">
147
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.KeyStatementBeanProcessor" />
148
        </entry>
149
        <entry key="eu.etaxonomy.cdm.model.agent.TeamOrPersonBase">
150
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor" />
151
        </entry>
152
        <entry key="eu.etaxonomy.cdm.model.description.DescriptionElementBase">
153
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.DescriptionElementBeanProcessor" />
154
        </entry>
155
        <entry key="eu.etaxonomy.cdm.model.description.StateData">
156
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.StateDataBeanProcessor" />
157
        </entry>
158
        <entry key="org.apache.lucene.document.Document">
159
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
111
        <entry key="org.hibernate.proxy.HibernateProxy">
112
          <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
160 113
        </entry>
114
        <entry key="eu.etaxonomy.cdm.model.common.TermBase">
115
          <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TermBaseBeanProcessor">
116
             <property name="excludes">
117
               <set value-type="java.lang.String">
118
                   <value>partOf</value><!-- FIXME exclude partOf to avoid  lazy loading exceptions  -->
119
                   <value>kindOf</value><!-- FIXME exclude kindOf to avoid  lazy loading exceptions  -->
120
                   <value>infraGenericMarker</value><!-- FIXME leads to IllegalStateException if not excluded  -->
121
               </set>
122
            </property>
123
           </bean>
124
         </entry>
125
         <entry key="eu.etaxonomy.cdm.model.media.Media">
126
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.MediaBeanProcessor">
127
              <property name="replaceTitle" value="true" />
128
              <property name="replaceDescription" value="true" />
129
            </bean>
130
         </entry>
131
         <entry key="eu.etaxonomy.cdm.model.taxon.TaxonNode">
132
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor" />
133
         </entry>
134
         <entry key="eu.etaxonomy.cdm.model.reference.Reference">
135
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.ReferenceBaseBeanProcessor"/>
136
         </entry>
137
         <entry key="eu.etaxonomy.cdm.model.name.TaxonName">
138
            <bean
139
              class="eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor">
140
              <property name="skipTaggedName" value="true" />
141
            </bean>
142
         </entry>
143
         <entry key="eu.etaxonomy.cdm.model.name.TypeDesignationBase">
144
            <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TypeDesignationBaseBeanProcessor"/>
145
         </entry>
146
         <entry key="eu.etaxonomy.cdm.model.description.KeyStatement">
147
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.KeyStatementBeanProcessor" />
148
         </entry>
149
         <entry key="eu.etaxonomy.cdm.model.agent.TeamOrPersonBase">
150
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor" />
151
         </entry>
152
         <entry key="eu.etaxonomy.cdm.model.description.DescriptionElementBase">
153
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.DescriptionElementBeanProcessor" />
154
         </entry>
155
         <entry key="eu.etaxonomy.cdm.model.description.StateData">
156
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.StateDataBeanProcessor" />
157
         </entry>
158
         <entry key="org.apache.lucene.document.Document">
159
              <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
160
         </entry>
161 161
      </map>
162 162
    </property>
163 163
    <property name="jsonPropertyFilter">

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)