Project

General

Profile

Revision c377e2d7

IDc377e2d791e5a0a6cbadc92346d1485e19081c37
Parent 4e17654b
Child 1c12d52c

Added by Katja Luther almost 3 years ago

ref #7041: minor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/dnd/transfer/TaxonNodeTransfer.java
26 26
 * @author c.mathew
27 27
 * @created Mar 25, 2013
28 28
 */
29
public class TaxonNodeTransfer extends CdmObjectTransfer<ITaxonTreeNode> {
29
public class TaxonNodeTransfer extends CdmObjectTransfer<TaxonNode> {
30 30

  
31 31
	private static TaxonNodeTransfer instance = new TaxonNodeTransfer();
32 32
	private static final String TYPE_NAME = "taxonNode-transfer-format";
......
58 58
	 * @see eu.etaxonomy.taxeditor.model.CdmObjectTransfer#loadElement(java.util.UUID)
59 59
	 */
60 60
	@Override
61
	public ITaxonTreeNode loadElement(UUID uuid) {
62
		ITaxonTreeNode result = CdmStore.getService(ITaxonNodeService.class).load(uuid, null);
61
	public TaxonNode loadElement(UUID uuid) {
62
		TaxonNode result = CdmStore.getService(ITaxonNodeService.class).load(uuid, null);
63 63
		if ( result != null){
64 64
			return result;
65 65
		}
66
		result = CdmStore.getService(IClassificationService.class).load(uuid, null);
67
		return result;
66
		return null;
68 67
	}
69 68
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)