api for unlink mindmaps

This commit is contained in:
Claudio Barril
2014-02-02 04:09:28 -03:00
parent 734463d233
commit 8db7f5015f
14 changed files with 269 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
<value>com/wisemapping/model/AccessAuditory.hbm.xml</value>
<value>com/wisemapping/model/MindMapHistory.hbm.xml</value>
<value>com/wisemapping/model/Label.hbm.xml</value>
<value>com/wisemapping/model/LabelMindmap.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">

View File

@@ -17,5 +17,9 @@
<bean id="labelManager" class="com.wisemapping.dao.LabelManagerImpl">
<property name="hibernateTemplate" ref="hibernateTemplate"/>
</bean>
<bean id="labelMindmapManager" class="com.wisemapping.dao.LabelMindmapManagerImpl">
<property name="hibernateTemplate" ref="hibernateTemplate"/>
</bean>
</beans>
</beans>

View File

@@ -45,6 +45,7 @@
<value>com.wisemapping.rest.model.RestLogItem</value>
<value>com.wisemapping.rest.model.RestLockInfo</value>
<value>com.wisemapping.rest.model.RestLabel</value>
<value>com.wisemapping.rest.model.RestLabelMindmap</value>
</list>
</property>
</bean>

View File

@@ -72,6 +72,22 @@
</property>
</bean>
<bean id="labelMindmapServiceTarget" class="com.wisemapping.service.LabelMindmapServiceImpl">
<property name="labelMindmapManager" ref="labelMindmapManager"/>
</bean>
<bean id="labelMindmapService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager" ref="transactionManager"/>
<property name="target">
<ref local="labelMindmapServiceTarget"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${mail.smtp.host}"/>
<property name="port" value="${mail.smtp.port}"/>