1 |
80e0aa8e
|
Andreas Kohlbecker
|
<?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 |
e68b8cb2
|
Andreas Kohlbecker
|
define('CDM_WS_TAXON', 'taxon');
|
10 |
|
|
|
11 |
12196fd5
|
f.revilla
|
define('CDM_WS_NAME_TYPEDESIGNATIONS', 'name/$0/typeDesignations');
|
12 |
|
|
|
13 |
|
|
define('CDM_WS_PORTAL_NAME_TYPEDESIGNATIONS', 'portal/name/$0/typeDesignations');
|
14 |
80e0aa8e
|
Andreas Kohlbecker
|
|
15 |
|
|
define('CDM_WS_PORTAL_TAXON_NAMETYPEDESIGNATIONS', 'portal/taxon/$0/nameTypeDesignations');
|
16 |
|
|
|
17 |
fa79eacf
|
a.theys
|
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS', 'portal/taxon/$0/descriptions');
|
18 |
70f287a3
|
a.theys
|
define('CDM_WS_PORTAL_TAXON_USEDESCRIPTIONS', 'portal/taxon/$0/useDescriptions');
|
19 |
b8f451b5
|
a.theys
|
define('CDM_WS_PORTAL_TAXON_FINDBESTMATCHINGTAXON', 'bestMatchingTaxon/$0');
|
20 |
|
|
|
21 |
80e0aa8e
|
Andreas Kohlbecker
|
|
22 |
7b098df8
|
Andreas Kohlbecker
|
/**
|
23 |
|
|
* $0 : taxon uud
|
24 |
90713556
|
Andreas Kohlbecker
|
* $1 : simple name of class extending DescriptionElementBase
|
25 |
|
|
*
|
26 |
7b098df8
|
Andreas Kohlbecker
|
*/
|
27 |
|
|
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS_ELEMENTSBYTYPE', 'portal/taxon/$0/descriptions/elementsByType/$1');
|
28 |
|
|
|
29 |
|
|
define('CDM_WS_PORTAL_NAME_DESCRIPTIONS', 'portal/name/$0/taxonNameDescriptions');
|
30 |
80e0aa8e
|
Andreas Kohlbecker
|
|
31 |
31ad58f0
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_DESCRIPTION_AREAS_TREE', 'portal/description/$0/namedAreaTree');
|
32 |
|
|
define('CDM_WS_PORTAL_DESCRIPTION_DISTRIBUTION_TREE', 'portal/description/$0/DistributionTree');
|
33 |
e63edd95
|
f.revilla
|
|
34 |
80e0aa8e
|
Andreas Kohlbecker
|
define('CDM_WS_REFERENCE', 'reference');
|
35 |
|
|
|
36 |
|
|
define('CDM_WS_NOMENCLATURAL_REFERENCE_CITATION', 'reference/$0/nomenclaturalCitation');
|
37 |
3147f061
|
f.revilla
|
|
38 |
|
|
define('CDM_WS_REFERENCE_AUTHORTEAM', 'reference/$0/authorTeam');
|
39 |
80e0aa8e
|
Andreas Kohlbecker
|
|
40 |
|
|
define('CDM_WS_PORTAL_TAXON_FIND', 'portal/taxon/find');
|
41 |
|
|
|
42 |
|
|
define('CDM_WS_PORTAL_TAXON', 'portal/taxon');
|
43 |
|
|
|
44 |
e6404904
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXON_TAXONNODES', 'portal/taxon/$0/taxonNodes');
|
45 |
|
|
|
46 |
80e0aa8e
|
Andreas Kohlbecker
|
define('CDM_WS_NAME_NAMECAHE', 'name/$0/nameCache');
|
47 |
|
|
|
48 |
2507347f
|
a.theys
|
define('CDM_WS_PORTAL_NAME_FINDBYNAME', 'name/findByName/');
|
49 |
|
|
|
50 |
b8f451b5
|
a.theys
|
|
51 |
80e0aa8e
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXON_SYNONYMY', 'portal/taxon/$0/synonymy');
|
52 |
|
|
|
53 |
|
|
define('CDM_WS_PORTAL_TAXON_RELATIONS', 'portal/taxon/$0/taxonRelationships');
|
54 |
|
|
|
55 |
|
|
define('CDM_WS_PORTAL_TAXON_NAMERELATIONS', 'portal/taxon/$0/nameRelationships');
|
56 |
|
|
|
57 |
e63edd95
|
f.revilla
|
define('CDM_WS_PORTAL_TAXON_TO_NAMERELATIONS', 'portal/taxon/$0/toNameRelationships');
|
58 |
|
|
|
59 |
|
|
define('CDM_WS_PORTAL_TAXON_FROM_NAMERELATIONS', 'portal/taxon/$0/fromNameRelationships');
|
60 |
|
|
|
61 |
70e50578
|
Andreas Kohlbecker
|
define('CDM_WS_DESCRIPTION_HAS_STRUCTRURED_DATA', 'description/$0/hasStructuredData');
|
62 |
|
|
|
63 |
|
|
/**
|
64 |
|
|
* /description/{uuid}/naturalLanguageDescription/{featuretree_uuid}
|
65 |
|
|
*/
|
66 |
|
|
define('CDM_WS_DESCRIPTION_NATURALLANGUAGE_DESCRIPTION', 'description/$0/naturalLanguageDescription/$1');
|
67 |
|
|
|
68 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_DESCRIPTIONELEMENT', 'descriptionElement/$0');
|
69 |
b5e773ef
|
Andreas Kohlbecker
|
|
70 |
70f287a3
|
a.theys
|
|
71 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_DESCRIPTIONELEMENT', 'portal/descriptionElement/$0');
|
72 |
e63edd95
|
f.revilla
|
|
73 |
80e0aa8e
|
Andreas Kohlbecker
|
|
74 |
|
|
/**
|
75 |
|
|
* @parameters $0 : the taxon uuid
|
76 |
|
|
*
|
77 |
|
|
* @returns the taxon which is the accepted synonym for the taxon given as
|
78 |
|
|
* parameter taxonUuid. If the taxon specified by taxonUuid is itself the
|
79 |
|
|
* accepted taxon, this one will be returned.
|
80 |
|
|
*/
|
81 |
f9449d44
|
f.revilla
|
define('CDM_WS_PORTAL_TAXON_ACCEPTED', 'portal/taxon/$0/accepted/$1');
|
82 |
80e0aa8e
|
Andreas Kohlbecker
|
|
83 |
a40ad0d2
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXON_MEDIA', 'portal/taxon/$0/media');
|
84 |
|
|
define('CDM_WS_PORTAL_TAXON_SUBTREE_MEDIA', 'portal/taxon/$0/subtree/media');
|
85 |
80e0aa8e
|
Andreas Kohlbecker
|
|
86 |
|
|
/**
|
87 |
|
|
*
|
88 |
|
|
* Gets the root nodes of the taxonomic concept tree for the concept
|
89 |
|
|
* reference specified by the secUuid parameter.
|
90 |
|
|
*
|
91 |
|
|
* stub: treenode_root
|
92 |
|
|
*/
|
93 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY', 'portal/classification');
|
94 |
424beeed
|
Andreas Kohlbecker
|
|
95 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES', 'portal/classification/$0/childNodes');
|
96 |
424beeed
|
Andreas Kohlbecker
|
|
97 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_AT_RANK', 'portal/classification/$0/childNodesAt/$1');
|
98 |
424beeed
|
Andreas Kohlbecker
|
|
99 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_OF_TAXON', 'portal/classification/$0/childNodesOf/$1');
|
100 |
424beeed
|
Andreas Kohlbecker
|
|
101 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM', 'portal/classification/$0/pathFrom/$1');
|
102 |
424beeed
|
Andreas Kohlbecker
|
|
103 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM_TO_RANK', 'portal/classification/$0/pathFrom/$1/toRank/$2');
|
104 |
424beeed
|
Andreas Kohlbecker
|
|
105 |
80e0aa8e
|
Andreas Kohlbecker
|
|
106 |
56eed5df
|
Andreas Kohlbecker
|
define('CDM_WS_PORTAL_TAXONOMY_MEDIA', 'portal/classification/$0/$1');
|
107 |
80e0aa8e
|
Andreas Kohlbecker
|
|
108 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_TERMVOCABULARY', 'termVocabulary/$0');
|
109 |
80e0aa8e
|
Andreas Kohlbecker
|
|
110 |
|
|
define('CDM_WS_TERM_COMPARE', 'term/$0/compareTo/$1');
|
111 |
|
|
|
112 |
|
|
define('CDM_WS_TDWG_LEVEL', 'term/tdwg/$0');
|
113 |
|
|
|
114 |
|
|
/**
|
115 |
|
|
* returns FeatureTrees that are stored in this community store
|
116 |
|
|
*
|
117 |
|
|
*/
|
118 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_FEATURETREE', 'featureTree/$0');
|
119 |
80e0aa8e
|
Andreas Kohlbecker
|
|
120 |
48650990
|
Andreas Kohlbecker
|
//define('CDM_WS_FEATURETREE_CHILDREN', 'featuretree/$0/children');
|
121 |
|
|
|
122 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_FEATURETREES', 'featureTree');
|
123 |
80e0aa8e
|
Andreas Kohlbecker
|
|
124 |
90713556
|
Andreas Kohlbecker
|
define('CDM_WS_GEOSERVICE_DISTRIBUTIONMAP', 'ext/edit/mapServiceParameters/taxonDistributionFor/$0');
|
125 |
|
|
define('CDM_WS_GEOSERVICE_OCCURRENCEMAP', 'ext/edit/mapServiceParameters/taxonOccurrencesFor/$0');
|
126 |
aa582de0
|
Andreas Kohlbecker
|
|
127 |
1529d5f7
|
Andreas Kohlbecker
|
define('CDM_WS_DERIVEDUNIT_FACADE', 'derivedUnitFacade/$0');
|
128 |
2d284a25
|
Andreas Kohlbecker
|
|
129 |
2264b60d
|
Andreas Kohlbecker
|
define('CDM_WS_IDENTIFICATIONKEY', 'identificationKey');
|
130 |
2d284a25
|
Andreas Kohlbecker
|
define('CDM_WS_MEDIAKEY', 'mediaKey');
|
131 |
|
|
define('CDM_WS_MULTIACCESSKEY', 'multiAccessKey');
|
132 |
|
|
define('CDM_WS_POLYTOMOUSKEY', 'polytomousKey');
|
133 |
|
|
define('CDM_WS_POLYTOMOUSKEY_NODE', 'polytomousKeyNode');
|