Project

General

Profile

Revision 7665d3d5

ID7665d3d5a816ea90119248145c645a44e83f0cd7
Parent d63a08c7
Child 86244fd8

Added by Katja Luther about 3 years ago

pass the vocService to the setCountry method

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/UnitsGatheringArea.java
69 69
    public void setParams(String isoCountry, String country, ImportConfiguratorBase<?, ?> config, ITermService termService,
70 70
            IOccurrenceService occurrenceService, IVocabularyService vocService){
71 71

  
72
        this.setCountry(isoCountry, country, config, termService, occurrenceService);
72
        this.setCountry(isoCountry, country, config, termService, occurrenceService, vocService);
73 73
    }
74 74

  
75 75
    /*
......
255 255
     * @param app: the CDM application controller
256 256
     */
257 257
    public void setCountry(String iso, String fullName, ImportConfiguratorBase<?, ?> config, ITermService termService,
258
            IOccurrenceService occurrenceService){
258
            IOccurrenceService occurrenceService, IVocabularyService vocService){
259 259

  
260 260

  
261 261
        if (!StringUtils.isEmpty(iso)){
......
305 305

  
306 306
                }
307 307
                if (areaUUID == null){
308
                    createNamedArea(config, termService, null, fullName, "country");
308
                    createNamedArea(config, termService, vocService, fullName, "country");
309 309
                    NamedArea ar = NamedArea.NewInstance(fullName, fullName, null);
310 310
                    //FIXME add vocabulary
311 311
                    logger.warn("Vocabulary not yet set for new country");

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)