Project

General

Profile

Revision 046b8cfb

ID046b8cfb760987917610e0f610222dc5d820b3d4
Parent 75e3aef5
Child 30acb146

Added by Andreas Müller 9 months ago

cleanup

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonNodeService.java
99 99
//	public List<UuidAndTitleCache<TaxonNode>> listChildNodesAsUuidAndTitleCache(ITaxonTreeNode parent);
100 100

  
101 101
	/**
102
     *returns the childnodes of the taxonNode, if recursive is true it returns all descendants, if sort is true the nodes are sorted
102
     *Returns the childnodes of the taxonNode, if recursive is true it returns all descendants, if sort is true the nodes are sorted
103 103
     *
104 104
     * @param taxonNode
105 105
     * @param recursive
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImpl.java
716 716
    @Override
717 717
    @Transactional
718 718
    public UpdateResult moveTaxonNode(UUID taxonNodeUuid, UUID targetNodeUuid, int movingType){
719
        TaxonNode taxonNode = HibernateProxyHelper.deproxy(dao.load(taxonNodeUuid), TaxonNode.class);
720
    	TaxonNode targetNode = HibernateProxyHelper.deproxy(dao.load(targetNodeUuid), TaxonNode.class);
719
        TaxonNode taxonNode = HibernateProxyHelper.deproxy(dao.load(taxonNodeUuid));
720
    	TaxonNode targetNode = HibernateProxyHelper.deproxy(dao.load(targetNodeUuid));
721 721
    	UpdateResult result = moveTaxonNode(taxonNode, targetNode, movingType);
722 722
    	return result;
723 723
    }
cdmlib-test/src/main/resources/dbscripts/001-cdm.h2.sql
2329 2329
	KEY_ID INT,
2330 2330
	DESCRIPTION_ID INT
2331 2331
);
2332
-- 0 +/- SELECT COUNT(*) FROM PUBLIC.INTEXTREFERENCE;
2332
-- 0 +/- SELECT COUNT(*) FROM PUBLIC.CDMLINK;
2333 2333
CREATE CACHED TABLE PUBLIC.CDMLINK_AUD(
2334 2334
    DTYPE VARCHAR(31) NOT NULL,
2335 2335
    ID INTEGER NOT NULL,
......
2354 2354
	KEY_ID INT,
2355 2355
	DESCRIPTION_ID INT
2356 2356
);
2357
-- 0 +/- SELECT COUNT(*) FROM PUBLIC.INTEXTREFERENCE_AUD;
2357
-- 0 +/- SELECT COUNT(*) FROM PUBLIC.CDMLINK_AUD;
2358 2358
CREATE CACHED TABLE PUBLIC.INSTITUTIONALMEMBERSHIP(
2359 2359
    ID INTEGER NOT NULL,
2360 2360
    CREATED TIMESTAMP,

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)