Project

General

Profile

Revision e830b16f

IDe830b16f8c0b2d203b658ea7e500af1d2237921c
Parent ec8b3c45
Child cc651bea

Added by Andreas Müller about 2 months ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/TaxonNode.java
494 494
        return addChildTaxon(taxon, index, DescriptionElementSource.NewPrimarySourceInstance(citation, microCitation));
495 495
    }
496 496

  
497

  
498 497
    @Override
499 498
    public TaxonNode addChildTaxon(Taxon taxon, int index, DescriptionElementSource source) {
500 499
        Classification classification = CdmBase.deproxy(this.getClassification());
......
535 534
    @Override
536 535
    public TaxonNode addChildNode(TaxonNode child, int index, Reference reference, String microReference){
537 536
        return addChildNode(child, index, DescriptionElementSource.NewPrimarySourceInstance(reference, microReference));
538

  
539 537
    }
540 538

  
541 539

  
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v512_515/Reference2SourceMover.java
91 91
            id++;
92 92

  
93 93
            datasource.executeUpdate(caseType.replaceTableNames(sql));
94

  
95 94
        }
96 95
    }
97 96
}
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v515_518/SchemaUpdater_5152_5180.java
114 114
        //9094
115 115
        // update TaxonNode.source from IdentifiableSource to DescriptionElementSource
116 116
        stepName = "update TaxonNode.source from IdentifiableSource to DescriptionElementSource";
117
        String sql = "UPDATE @@OriginalSourceBase@@ "
117
        String sql = " UPDATE @@OriginalSourceBase@@ "
118 118
                   + " SET DTYPE = 'DescriptionElementSource' "
119 119
                   + " WHERE id IN (SELECT source_id FROM TaxonNode tn)";
120 120
        SimpleSchemaUpdaterStep.NewAuditedInstance(stepList, stepName, sql, tableName, 99);
cdmlib-services/src/main/resources/eu/etaxonomy/cdm/services_security_base.xml
27 27
        <property name="permissionEvaluator" ref="cdmPermissionEvaluator" />
28 28
    </bean>
29 29

  
30

  
31 30
    <bean id="daoAuthenticationProvider" class="org.springframework.security.authentication.dao.DaoAuthenticationProvider">
32 31
        <property name="userDetailsService" ref="userService"/>
33 32
        <property name="saltSource" ref="saltSource"/>
......
48 47
        </constructor-arg>
49 48
    </bean>
50 49

  
51

  
52 50
    <!--
53 51
        Run-As Authentication Replacement for system operations
54 52
        as e.g. performed by the eu.etaxonomy.cdm.api.application.FirstDataInserter

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)