mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
75 lines
3.3 KiB
XML
75 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
|
|
|
<bean id="uploadConfigurationDefault" class="org.dspace.submit.model.UploadConfiguration">
|
|
<property name="name" value="upload"></property>
|
|
<property name="configurationService" ref="org.dspace.services.ConfigurationService"/>
|
|
<property name="metadata" value="bitstream-metadata" />
|
|
<property name="options">
|
|
<list>
|
|
<ref bean="openAccess"/>
|
|
<ref bean="lease"/>
|
|
<ref bean="embargoed" />
|
|
<ref bean="administrator"/>
|
|
<!-- <ref bean="networkAdministration"/> -->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="openAccess" class="org.dspace.submit.model.AccessConditionOption">
|
|
<property name="groupName" value="Anonymous"/>
|
|
<property name="name" value="openaccess"/>
|
|
<property name="hasStartDate" value="false"/>
|
|
<property name="hasEndDate" value="false"/>
|
|
</bean>
|
|
<bean id="lease" class="org.dspace.submit.model.AccessConditionOption">
|
|
<property name="groupName" value="Anonymous"/>
|
|
<!--
|
|
use the selectGroupName to specify the group containing the subgroups
|
|
that can be used for the policy
|
|
<property name="selectGroupName" value="Lease Groups"/>
|
|
-->
|
|
<property name="name" value="lease"/>
|
|
<property name="hasStartDate" value="false"/>
|
|
<property name="hasEndDate" value="true"/>
|
|
<property name="endDateLimit" value="+6MONTHS"/>
|
|
</bean>
|
|
<bean id="embargoed" class="org.dspace.submit.model.AccessConditionOption">
|
|
<property name="groupName" value="Anonymous"/>
|
|
<!--
|
|
use the selectGroupName to specify the group containing the subgroups
|
|
that can be used for the policy
|
|
<property name="selectGroupName" value="Embargoed Groups"/>
|
|
-->
|
|
<property name="name" value="embargo"/>
|
|
<property name="hasStartDate" value="true"/>
|
|
<property name="startDateLimit" value="+36MONTHS"/>
|
|
<property name="hasEndDate" value="false"/>
|
|
|
|
</bean>
|
|
<bean id="administrator" class="org.dspace.submit.model.AccessConditionOption">
|
|
<property name="groupName" value="Administrator"/>
|
|
<property name="name" value="administrator"/>
|
|
<property name="hasStartDate" value="false"/>
|
|
<property name="hasEndDate" value="false"/>
|
|
</bean>
|
|
<!-- <bean id="networkAdministration" class="org.dspace.submit.model.AccessConditionOption">
|
|
<property name="groupName" value="INSTITUTIONAL_NETWORK"/>
|
|
<property name="name" value="networkAdministration"/>
|
|
<property name="hasStartDate" value="false"/>
|
|
<property name="hasEndDate" value="false"/>
|
|
</bean> -->
|
|
|
|
<bean id="uploadConfigurationService" class="org.dspace.submit.model.UploadConfigurationService">
|
|
<property name="map">
|
|
<map>
|
|
<entry key="upload" value-ref="uploadConfigurationDefault" />
|
|
</map>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans>
|