Project

General

Profile

« Previous | Next » 

Revision 1baeb336

Added by Cherian Mathew over 8 years ago

Correct transient service method

View differences:

eu.etaxonomy.taxeditor.cdmlib/.classpath
195 195
	<classpathentry exported="true" kind="lib" path="lib/cdmlib-persistence-3.8.0-SNAPSHOT.jar"/>
196 196
	<classpathentry exported="true" kind="lib" path="lib/cdmlib-print-3.8.0-SNAPSHOT.jar"/>
197 197
	<classpathentry exported="true" kind="lib" path="lib/cdmlib-remote-3.8.0-SNAPSHOT.jar"/>
198
	<classpathentry exported="true" kind="lib" path="lib/cdmlib-services-3.8.0-SNAPSHOT.jar" sourcepath="lib/cdmlib-services-3.8.0-SNAPSHOT-sources.jar"/>
198
	<classpathentry exported="true" kind="lib" path="lib/cdmlib-services-3.8.0-SNAPSHOT.jar"/>
199 199
	<classpathentry exported="true" kind="lib" path="lib/apache-log4j-extras-1.2.17.jar"/>
200 200
	<classpathentry kind="output" path="target/classes"/>
201 201
</classpath>
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientOccurenceService.java
871 871
    }
872 872

  
873 873
    @Override
874
    public boolean moveSequence(DnaSample from, DnaSample to, Sequence sequence) {
874
    public UpdateResult moveSequence(DnaSample from, DnaSample to, Sequence sequence) {
875 875
        return defaultService.moveSequence(from, to, sequence);
876 876
    }
877 877

  
......
1040 1040
    public UpdateResult moveDerivate(UUID specimenFromUuid, UUID specimenToUuid, UUID derivateUuid) {
1041 1041
       return defaultService.moveDerivate(specimenFromUuid, specimenToUuid, derivateUuid);
1042 1042
    }
1043

  
1044
    /* (non-Javadoc)
1045
     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#moveSequence(java.util.UUID, java.util.UUID, java.util.UUID)
1046
     */
1047
    @Override
1048
    public UpdateResult moveSequence(UUID arg0, UUID arg1, UUID arg2) {
1049
        return defaultService.moveSequence(arg0, arg1, arg2);
1050
    }
1043 1051
}
eu.etaxonomy.taxeditor.test/src/test/resources/eu/etaxonomy/taxeditor/session/CdmEntitySessionAwareTest.xml
95 95
  <KeyStatement id="2760" created="2014-10-09 15:42:33.0" uuid="b9702653-f620-4208-bda9-a6fe082004d1" updated="2014-10-09 15:42:44.0" createdby_id="10" updatedby_id="10"/>
96 96
  <KeyStatement id="2761" created="2014-10-09 15:42:55.0" uuid="688a432f-4b57-4c6f-a8f6-0c468a28cb7c" updated="2014-10-09 15:43:03.0" createdby_id="10" updatedby_id="10"/>
97 97

  
98
  <AgentBase DTYPE="Person" id="4809" created="2010-12-21 15:09:59.0" uuid="945d08f2-eb92-45b6-9252-6275ea6d338b" protectedtitlecache="false" />
98
  <AgentBase DTYPE="Person" id="4809" created="2010-12-21 15:09:59.0" uuid="945d08f2-eb92-45b6-9252-6275ea6d338b" protectedtitlecache="false" titleCache="R. A. Graham" nomenclaturaltitle="R. A. Graham"/>
99 99

  
100 100
  <Extension id="10" created="2014-10-09 15:45:41.0" uuid="0d6f35d7-7e76-446a-a017-7e8355ee1b4c" updated="2014-10-09 15:48:01.0" extendedObj_type="eu.etaxonomy.cdm.model.description.PolytomousKey" extendedObj_id="1550" value="http://test.com" createdby_id="10" updatedby_id="10" type_id="2075"/>
101 101

  

Also available in: Unified diff