1
|
<?php
|
2
|
|
3
|
define('CDM_WS_PORTAL_MEDIA', 'portal/media');
|
4
|
|
5
|
define('CDM_WS_MEDIA_METADATA', 'media/$0/metadata');
|
6
|
|
7
|
define('CDM_WS_NAME', 'name');
|
8
|
|
9
|
define('CDM_WS_TAXON', 'taxon');
|
10
|
|
11
|
define('CDM_WS_NAME_TYPEDESIGNATIONS', 'name/$0/typeDesignations');
|
12
|
|
13
|
define('CDM_WS_PORTAL_NAME_TYPEDESIGNATIONS', 'portal/name/$0/typeDesignations');
|
14
|
|
15
|
define('CDM_WS_PORTAL_TAXON_NAMETYPEDESIGNATIONS', 'portal/taxon/$0/nameTypeDesignations');
|
16
|
|
17
|
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS', 'portal/taxon/$0/descriptions');
|
18
|
|
19
|
/**
|
20
|
* $0 : taxon uud
|
21
|
* $1 : simple name of class extending DescriptionElementBase
|
22
|
*
|
23
|
*/
|
24
|
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS_ELEMENTSBYTYPE', 'portal/taxon/$0/descriptions/elementsByType/$1');
|
25
|
|
26
|
define('CDM_WS_PORTAL_NAME_DESCRIPTIONS', 'portal/name/$0/taxonNameDescriptions');
|
27
|
|
28
|
define('CDM_WS_PORTAL_DESCRIPTION_AREAS_TREE', 'portal/description/$0,$1/namedAreaTree');
|
29
|
define('CDM_WS_PORTAL_DESCRIPTION_DISTRIBUTION_TREE', 'portal/description/$0,$1/DistributionTree');
|
30
|
|
31
|
define('CDM_WS_REFERENCE', 'reference');
|
32
|
|
33
|
define('CDM_WS_NOMENCLATURAL_REFERENCE_CITATION', 'reference/$0/nomenclaturalCitation');
|
34
|
|
35
|
define('CDM_WS_REFERENCE_AUTHORTEAM', 'reference/$0/authorTeam');
|
36
|
|
37
|
define('CDM_WS_PORTAL_TAXON_FIND', 'portal/taxon/find');
|
38
|
|
39
|
define('CDM_WS_PORTAL_TAXON', 'portal/taxon');
|
40
|
|
41
|
define('CDM_WS_PORTAL_TAXON_TAXONNODES', 'portal/taxon/$0/taxonNodes');
|
42
|
|
43
|
define('CDM_WS_NAME_NAMECAHE', 'name/$0/nameCache');
|
44
|
|
45
|
define('CDM_WS_PORTAL_TAXON_SYNONYMY', 'portal/taxon/$0/synonymy');
|
46
|
|
47
|
define('CDM_WS_PORTAL_TAXON_RELATIONS', 'portal/taxon/$0/taxonRelationships');
|
48
|
|
49
|
define('CDM_WS_PORTAL_TAXON_NAMERELATIONS', 'portal/taxon/$0/nameRelationships');
|
50
|
|
51
|
define('CDM_WS_PORTAL_TAXON_TO_NAMERELATIONS', 'portal/taxon/$0/toNameRelationships');
|
52
|
|
53
|
define('CDM_WS_PORTAL_TAXON_FROM_NAMERELATIONS', 'portal/taxon/$0/fromNameRelationships');
|
54
|
|
55
|
define('CDM_WS_DESCRIPTION_HAS_STRUCTRURED_DATA', 'description/$0/hasStructuredData');
|
56
|
|
57
|
/**
|
58
|
* /description/{uuid}/naturalLanguageDescription/{featuretree_uuid}
|
59
|
*/
|
60
|
define('CDM_WS_DESCRIPTION_NATURALLANGUAGE_DESCRIPTION', 'description/$0/naturalLanguageDescription/$1');
|
61
|
|
62
|
define('CDM_WS_DESCRIPTIONELEMENT', 'descriptionElement/$0');
|
63
|
|
64
|
define('CDM_WS_PORTAL_DESCRIPTIONELEMENT', 'portal/descriptionElement/$0');
|
65
|
|
66
|
|
67
|
/**
|
68
|
* @parameters $0 : the taxon uuid
|
69
|
*
|
70
|
* @returns the taxon which is the accepted synonym for the taxon given as
|
71
|
* parameter taxonUuid. If the taxon specified by taxonUuid is itself the
|
72
|
* accepted taxon, this one will be returned.
|
73
|
*/
|
74
|
define('CDM_WS_PORTAL_TAXON_ACCEPTED', 'portal/taxon/$0/accepted');
|
75
|
|
76
|
define('CDM_WS_PORTAL_TAXON_MEDIA', 'portal/taxon/$0/media/$1/$2');
|
77
|
define('CDM_WS_PORTAL_TAXON_SUBTREE_MEDIA', 'portal/taxon/$0/subtree/media/$1/$2');
|
78
|
|
79
|
/**
|
80
|
*
|
81
|
* Gets the root nodes of the taxonomic concept tree for the concept
|
82
|
* reference specified by the secUuid parameter.
|
83
|
*
|
84
|
* stub: treenode_root
|
85
|
*/
|
86
|
define('CDM_WS_PORTAL_TAXONOMY', 'portal/taxonTree');
|
87
|
|
88
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES', 'portal/taxonTree/$0/childNodes');
|
89
|
|
90
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_AT_RANK', 'portal/taxonTree/$0/childNodesAt/$1');
|
91
|
|
92
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_OF_TAXON', 'portal/taxonTree/$0/childNodesOf/$1');
|
93
|
|
94
|
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM', 'portal/taxonTree/$0/pathFrom/$1');
|
95
|
|
96
|
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM_TO_RANK', 'portal/taxonTree/$0/pathFrom/$1/toRank/$2');
|
97
|
|
98
|
|
99
|
define('CDM_WS_PORTAL_TAXONOMY_MEDIA', 'portal/taxonTree/$0/$1');
|
100
|
|
101
|
define('CDM_WS_TERMVOCABULARY', 'termVocabulary/$0');
|
102
|
|
103
|
define('CDM_WS_TERM_COMPARE', 'term/$0/compareTo/$1');
|
104
|
|
105
|
define('CDM_WS_TDWG_LEVEL', 'term/tdwg/$0');
|
106
|
|
107
|
/**
|
108
|
* returns FeatureTrees that are stored in this community store
|
109
|
*
|
110
|
*/
|
111
|
define('CDM_WS_FEATURETREE', 'featureTree/$0');
|
112
|
|
113
|
//define('CDM_WS_FEATURETREE_CHILDREN', 'featuretree/$0/children');
|
114
|
|
115
|
define('CDM_WS_FEATURETREES', 'featureTree');
|
116
|
|
117
|
define('CDM_WS_GEOSERVICE_DISTRIBUTIONMAP', 'ext/edit/mapServiceParameters/taxonDistributionFor/$0');
|
118
|
define('CDM_WS_GEOSERVICE_OCCURRENCEMAP', 'ext/edit/mapServiceParameters/taxonOccurrencesFor/$0');
|
119
|
|
120
|
define('CDM_WS_DERIVEDUNIT_FACADE', 'derivedUnitFacade/$0');
|