Project

General

Profile

Revision e15d2c8e

IDe15d2c8e9bab2461f3a739e50660c3441690550b
Parent 68a19847
Child 82bf3f79

Added by Andreas Kohlbecker almost 4 years ago

ref #6190 removing svn property place holder in first line of code - java files

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/gbif/in/GbifImport.java
1
/**
2
 * Copyright (C) 2016 EDIT
3
 * European Distributed Institute of Taxonomy
4
 * http://www.e-taxonomy.eu
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9

  
1 10
package eu.etaxonomy.cdm.io.specimen.gbif.in;
11

  
2 12
import java.io.IOException;
3 13
import java.net.URISyntaxException;
4 14
import java.util.Collection;
......
34 44
import eu.etaxonomy.cdm.model.taxon.Taxon;
35 45
import eu.etaxonomy.cdm.persistence.query.MatchMode;
36 46

  
37
// $Id$
38
/**
39
 * Copyright (C) 2016 EDIT
40
 * European Distributed Institute of Taxonomy
41
 * http://www.e-taxonomy.eu
42
 *
43
 * The contents of this file are subject to the Mozilla Public License Version 1.1
44
 * See LICENSE.TXT at the top of this package for the full license terms.
45
 */
46

  
47 47
/**
48 48
 * @author k.luther
49 49
 * @date 15.07.2016
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationController.java
1

  
2
// $Id$
3 1
/**
4 2
 * Copyright (C) 2007 EDIT
5 3
 * European Distributed Institute of Taxonomy
......
11 9

  
12 10
package eu.etaxonomy.cdm.api.application;
13 11

  
14
import java.util.EnumSet;
15
import java.util.List;
16
import java.util.UUID;
17

  
18
import org.apache.log4j.Logger;
19
import org.hibernate.SessionFactory;
20
import org.springframework.beans.MutablePropertyValues;
21
import org.springframework.beans.factory.config.BeanDefinition;
22
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
23
import org.springframework.context.ApplicationListener;
24
import org.springframework.context.support.AbstractApplicationContext;
25
import org.springframework.core.io.ClassPathResource;
26
import org.springframework.core.io.Resource;
27
import org.springframework.security.authentication.ProviderManager;
28
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
29
import org.springframework.security.core.Authentication;
30
import org.springframework.security.core.context.SecurityContext;
31
import org.springframework.security.core.context.SecurityContextHolder;
32
import org.springframework.transaction.PlatformTransactionManager;
33
import org.springframework.transaction.TransactionStatus;
34

  
35
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
36
import eu.etaxonomy.cdm.api.service.IAgentService;
37
import eu.etaxonomy.cdm.api.service.IAnnotationService;
38
import eu.etaxonomy.cdm.api.service.IClassificationService;
39
import eu.etaxonomy.cdm.api.service.ICollectionService;
40
import eu.etaxonomy.cdm.api.service.ICommonService;
41
import eu.etaxonomy.cdm.api.service.IDatabaseService;
42
import eu.etaxonomy.cdm.api.service.IDescriptionService;
43
import eu.etaxonomy.cdm.api.service.IEntityConstraintViolationService;
44
import eu.etaxonomy.cdm.api.service.IEntityValidationService;
45
import eu.etaxonomy.cdm.api.service.IEventBaseService;
46
import eu.etaxonomy.cdm.api.service.IFeatureNodeService;
47
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
48
import eu.etaxonomy.cdm.api.service.IGrantedAuthorityService;
49
import eu.etaxonomy.cdm.api.service.IGroupService;
50
import eu.etaxonomy.cdm.api.service.IIdentificationKeyService;
51
import eu.etaxonomy.cdm.api.service.ILocationService;
52
import eu.etaxonomy.cdm.api.service.IMediaService;
53
import eu.etaxonomy.cdm.api.service.IMetadataService;
54
import eu.etaxonomy.cdm.api.service.INameService;
55
import eu.etaxonomy.cdm.api.service.IOccurrenceService;
56
import eu.etaxonomy.cdm.api.service.IPolytomousKeyNodeService;
57
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService;
58
import eu.etaxonomy.cdm.api.service.IPreferenceService;
59
import eu.etaxonomy.cdm.api.service.IProgressMonitorService;
60
import eu.etaxonomy.cdm.api.service.IReferenceService;
61
import eu.etaxonomy.cdm.api.service.IService;
62
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
63
import eu.etaxonomy.cdm.api.service.ITaxonService;
64
import eu.etaxonomy.cdm.api.service.ITermService;
65
import eu.etaxonomy.cdm.api.service.IUserService;
66
import eu.etaxonomy.cdm.api.service.IVocabularyService;
67
import eu.etaxonomy.cdm.api.service.IWorkingSetService;
68
import eu.etaxonomy.cdm.api.service.molecular.IAmplificationService;
69
import eu.etaxonomy.cdm.api.service.molecular.IPrimerService;
70
import eu.etaxonomy.cdm.api.service.molecular.ISequenceService;
71
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
72
import eu.etaxonomy.cdm.common.monitor.NullProgressMonitor;
73
import eu.etaxonomy.cdm.common.monitor.SubProgressMonitor;
74
import eu.etaxonomy.cdm.database.CdmPersistentDataSource;
75
import eu.etaxonomy.cdm.database.DataSourceNotFoundException;
76
import eu.etaxonomy.cdm.database.DbSchemaValidation;
77
import eu.etaxonomy.cdm.database.ICdmDataSource;
78
import eu.etaxonomy.cdm.model.common.CdmBase;
79
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
80
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
81
import eu.etaxonomy.cdm.persistence.hibernate.permission.ICdmPermissionEvaluator;
12
import java.util.EnumSet;

13
import java.util.List;

14
import java.util.UUID;

15

  
16
import org.apache.log4j.Logger;

17
import org.hibernate.SessionFactory;

18
import org.springframework.beans.MutablePropertyValues;

19
import org.springframework.beans.factory.config.BeanDefinition;

20
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;

21
import org.springframework.context.ApplicationListener;

22
import org.springframework.context.support.AbstractApplicationContext;

23
import org.springframework.core.io.ClassPathResource;

24
import org.springframework.core.io.Resource;

25
import org.springframework.security.authentication.ProviderManager;

26
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

27
import org.springframework.security.core.Authentication;

28
import org.springframework.security.core.context.SecurityContext;

29
import org.springframework.security.core.context.SecurityContextHolder;

30
import org.springframework.transaction.PlatformTransactionManager;

31
import org.springframework.transaction.TransactionStatus;

32

  
33
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;

34
import eu.etaxonomy.cdm.api.service.IAgentService;

35
import eu.etaxonomy.cdm.api.service.IAnnotationService;

36
import eu.etaxonomy.cdm.api.service.IClassificationService;

37
import eu.etaxonomy.cdm.api.service.ICollectionService;

38
import eu.etaxonomy.cdm.api.service.ICommonService;

39
import eu.etaxonomy.cdm.api.service.IDatabaseService;

40
import eu.etaxonomy.cdm.api.service.IDescriptionService;

41
import eu.etaxonomy.cdm.api.service.IEntityConstraintViolationService;

42
import eu.etaxonomy.cdm.api.service.IEntityValidationService;

43
import eu.etaxonomy.cdm.api.service.IEventBaseService;

44
import eu.etaxonomy.cdm.api.service.IFeatureNodeService;

45
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;

46
import eu.etaxonomy.cdm.api.service.IGrantedAuthorityService;

47
import eu.etaxonomy.cdm.api.service.IGroupService;

48
import eu.etaxonomy.cdm.api.service.IIdentificationKeyService;

49
import eu.etaxonomy.cdm.api.service.ILocationService;

50
import eu.etaxonomy.cdm.api.service.IMediaService;

51
import eu.etaxonomy.cdm.api.service.IMetadataService;

52
import eu.etaxonomy.cdm.api.service.INameService;

53
import eu.etaxonomy.cdm.api.service.IOccurrenceService;

54
import eu.etaxonomy.cdm.api.service.IPolytomousKeyNodeService;

55
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService;

56
import eu.etaxonomy.cdm.api.service.IPreferenceService;

57
import eu.etaxonomy.cdm.api.service.IProgressMonitorService;

58
import eu.etaxonomy.cdm.api.service.IReferenceService;

59
import eu.etaxonomy.cdm.api.service.IService;

60
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;

61
import eu.etaxonomy.cdm.api.service.ITaxonService;

62
import eu.etaxonomy.cdm.api.service.ITermService;

63
import eu.etaxonomy.cdm.api.service.IUserService;

64
import eu.etaxonomy.cdm.api.service.IVocabularyService;

65
import eu.etaxonomy.cdm.api.service.IWorkingSetService;

66
import eu.etaxonomy.cdm.api.service.molecular.IAmplificationService;

67
import eu.etaxonomy.cdm.api.service.molecular.IPrimerService;

68
import eu.etaxonomy.cdm.api.service.molecular.ISequenceService;

69
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;

70
import eu.etaxonomy.cdm.common.monitor.NullProgressMonitor;

71
import eu.etaxonomy.cdm.common.monitor.SubProgressMonitor;

72
import eu.etaxonomy.cdm.database.CdmPersistentDataSource;

73
import eu.etaxonomy.cdm.database.DataSourceNotFoundException;

74
import eu.etaxonomy.cdm.database.DbSchemaValidation;

75
import eu.etaxonomy.cdm.database.ICdmDataSource;

76
import eu.etaxonomy.cdm.model.common.CdmBase;

77
import eu.etaxonomy.cdm.model.common.DefinedTermBase;

78
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;

79
import eu.etaxonomy.cdm.persistence.hibernate.permission.ICdmPermissionEvaluator;

82 80

  
83 81
/**
84 82
 * @author a.mueller
......
489 487
	@Override
490 488
	public ISequenceService getSequenceService(){
491 489
		return configuration.getSequenceService();
492
	}
493

  
494
	@Override
495
	public IEventBaseService getEventBaseService() {
496
	    return configuration.getEventBaseService();
497 490
	}
498

  
491

  
492
	@Override
493
	public IEventBaseService getEventBaseService() {
494
	    return configuration.getEventBaseService();
495
	}
496

  
499 497

  
500 498

  
501 499
	@Override
......
508 506
	public final IMediaService getMediaService(){
509 507
		return configuration.getMediaService();
510 508
	}
511

  
512

  
513
    @Override
514
    public final IMetadataService getMetadataService(){
515
        return configuration.getMetadataService();
516
    }
509

  
510

  
511
    @Override

512
    public final IMetadataService getMetadataService(){

513
        return configuration.getMetadataService();

514
    }

517 515

  
518 516

  
519 517
	@Override
......
555 553
	@Override
556 554
	public final IFeatureTreeService getFeatureTreeService(){
557 555
		return configuration.getFeatureTreeService();
558
	}
559

  
560
	@Override
561
	public final IPreferenceService getPreferenceService(){
562
	    return configuration.getPreferenceService();
556
	}

557

  
558
	@Override

559
	public final IPreferenceService getPreferenceService(){

560
	    return configuration.getPreferenceService();

563 561
	}
564 562

  
565 563

  
......
715 713
	}
716 714

  
717 715
}
718

  
716

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)