Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
 xmlns:p="http://www.springframework.org/schema/p"
4
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
 xmlns:context="http://www.springframework.org/schema/context"
6
 xsi:schemaLocation="http://www.springframework.org/schema/beans 
7
 http://www.springframework.org/schema/beans/spring-beans.xsd
8
 http://www.springframework.org/schema/context  
9
 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
10
 
11
	<bean id="resourceMapDeleteSubprocessor" class="org.dataone.cn.indexer.parser.BaseDocumentDeleteSubprocessor">
12
		<property name="biDirectionalRelationFields">
13
			<list>
14
				<value>documents</value>
15
				<value>isDocumentedBy</value>
16
			</list>
17
		</property>	
18
		<property name="uniDirectionalRelationFields">
19
			<list>
20
				<value>resourceMap</value>
21
			</list>
22
		</property>	
23
		<property name="relationSourceFormatId" value="http://www.openarchives.org/ore/terms"></property>
24
		<property name="relationSourceField" value="resourceMap"></property>
25
	</bean>
26
	
27
	<!--  for removing annotations about other documents in the index -->
28
	<bean id="annotationDeleteSubprocessor" class="edu.ucsb.nceas.metacat.index.MetacatDocumentDeleteSubprocessor">
29
		<property name="biDirectionalRelationFields">
30
			<list>
31
				<value>sem_annotates</value>
32
				<value>sem_annotated_by</value>
33
			</list>
34
		</property>
35
		<property name="uniDirectionalRelationFields">
36
			<list>
37
				<value>sem_annotation</value>
38
			</list>
39
		</property>	
40
		<property name="relationSourceFormatId" value="http://docs.annotatorjs.org/en/v1.2.x/annotation-format.html"></property>
41
		<property name="relationSourceField" value="sem_annotated_by"></property>
42
	</bean>
43
 
44
 </beans>
45
 
(2-2/14)