Project

General

Profile

Download (5.55 KB) Statistics
| Branch: | Tag: | Revision:
1 6657531f Andreas Kohlbecker
<?php
2
/**
3
 * @file
4
 * CDM Server URI definitions.
5
 */
6 d9763fd3 Andreas Kohlbecker
define('CDM_WS_PORTAL_AGENT', 'portal/agent');
7 6657531f Andreas Kohlbecker
define('CDM_WS_REFERENCE', 'reference');
8 1ce9afb7 Patric Plitzner
define('CDM_WS_REFERENCE_AUTHORTEAM', 'reference/$0/authorship');
9 6657531f Andreas Kohlbecker
define('CDM_WS_NOMENCLATURAL_REFERENCE_CITATION', 'reference/$0/nomenclaturalCitation');
10
11
define('CDM_WS_NAME', 'name');
12
define('CDM_WS_NAME_NAMECAHE', 'name/$0/nameCache');
13
define('CDM_WS_NAME_TYPEDESIGNATIONS', 'name/$0/typeDesignations');
14
15 d0d068e9 Andreas Kohlbecker
define('CDM_WS_PORTAL_NAME', 'portal/name');
16 6657531f Andreas Kohlbecker
define('CDM_WS_PORTAL_NAME_FINDBYNAME', 'name/findByName/');
17
define('CDM_WS_PORTAL_NAME_DESCRIPTIONS', 'portal/name/$0/taxonNameDescriptions');
18
define('CDM_WS_PORTAL_NAME_TYPEDESIGNATIONS', 'portal/name/$0/typeDesignations');
19
20
define('CDM_WS_TAXON', 'taxon');
21 61b6ee11 Andreas Kohlbecker
define('CDM_WS_TAXON_CLASSIFICATIONS', 'taxon/$0/classifications');
22 6657531f Andreas Kohlbecker
define('CDM_WS_TAXON_FINDBY_DESCRIPTIONELEMENT_FULLTEXT', 'taxon/findByDescriptionElementFullText');
23 33fee414 Andreas Kohlbecker
/**
24
 * Parameter $0 : the taxon uuid.
25
 *
26
 * Returns the taxon which is the accepted synonym for the taxon given as
27
 * parameter taxonUuid. If the taxon specified by taxonUuid is itself the
28
 * accepted taxon, this one will be returned.
29
 */
30 9c9d11f7 Andreas Kohlbecker
define('CDM_WS_PORTAL_TAXON_ACCEPTED', 'portal/taxon/$0/accepted/$1');
31 6657531f Andreas Kohlbecker
32
define('CDM_WS_PORTAL_TAXON', 'portal/taxon');
33
define('CDM_WS_PORTAL_TAXON_SYNONYMY', 'portal/taxon/$0/synonymy');
34
define('CDM_WS_PORTAL_TAXON_RELATIONS', 'portal/taxon/$0/taxonRelationships');
35
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS', 'portal/taxon/$0/descriptions');
36 7663cd0b Andreas Kohlbecker
define('CDM_WS_PORTAL_TAXON_TAXONNODEAGENTRELATIONS', 'portal/taxon/$0/taxonNodeAgentRelations/$1');
37 6657531f Andreas Kohlbecker
38
/**
39
 * Parameter $0: taxon UUID.
40
 * Parameter $1: simple name of the class extending DescriptionElementBase.
41
 */
42
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS_ELEMENTSBYTYPE', 'portal/taxon/$0/descriptions/elementsByType/$1');
43
define('CDM_WS_PORTAL_TAXON_USEDESCRIPTIONS', 'portal/taxon/$0/useDescriptions');
44
define('CDM_WS_PORTAL_TAXON_TO_NAMERELATIONS', 'portal/taxon/$0/toNameRelationships');
45
define('CDM_WS_PORTAL_TAXON_FROM_NAMERELATIONS', 'portal/taxon/$0/fromNameRelationships');
46
define('CDM_WS_PORTAL_TAXON_MEDIA', 'portal/taxon/$0/media');
47
define('CDM_WS_PORTAL_TAXON_SUBTREE_MEDIA', 'portal/taxon/$0/subtree/media');
48
49
define('CDM_WS_PORTAL_TAXON_TAXONNODES', 'portal/taxon/$0/taxonNodes');
50
define('CDM_WS_PORTAL_TAXON_FIND', 'portal/taxon/find');
51 6280e639 Andreas Kohlbecker
define('CDM_WS_PORTAL_TAXON_SEARCH', 'portal/taxon/search');
52 6657531f Andreas Kohlbecker
define('CDM_WS_PORTAL_TAXON_FINDBY_DESCRIPTIONELEMENT_FULLTEXT', 'portal/taxon/findByDescriptionElementFullText');
53
54
/**
55
 * /description/{uuid}/naturalLanguageDescription/{featuretree_uuid}
56
 */
57 15fc5483 Andreas Kohlbecker
define('CDM_WS_DESCRIPTION_NAMEDAREAS_IN_USE', 'description/namedAreasInUse');
58 6657531f Andreas Kohlbecker
define('CDM_WS_DESCRIPTION_NATURALLANGUAGE_DESCRIPTION', 'description/$0/naturalLanguageDescription/$1');
59
define('CDM_WS_DESCRIPTION_HAS_STRUCTRURED_DATA', 'description/$0/hasStructuredData');
60
61 bfb2b81a Andreas Kohlbecker
define('CDM_WS_PORTAL_DESCRIPTION', 'portal/description/$0');
62 6657531f Andreas Kohlbecker
define('CDM_WS_PORTAL_DESCRIPTION_AREAS_TREE', 'portal/description/$0/namedAreaTree');
63 0b9fefc3 Andreas Kohlbecker
64
65 092744e1 Andreas Kohlbecker
define('CDM_WS_PORTAL_DESCRIPTION_DISTRIBUTION_INFO_FOR', 'portal/description/distributionInfoFor/$0');
66 6657531f Andreas Kohlbecker
67
define('CDM_WS_DESCRIPTIONELEMENT', 'descriptionElement/$0');
68 37252893 Andreas Kohlbecker
define('CDM_WS_DESCRIPTIONELEMENT_BY_TAXON', 'portal/descriptionElement/byTaxon');
69 6657531f Andreas Kohlbecker
define('CDM_WS_PORTAL_DESCRIPTIONELEMENT', 'portal/descriptionElement/$0');
70
71
/**
72
 * Gets the root nodes of the taxonomic concept tree for the concept
73
 * reference specified by the secUuid parameter.
74
 *
75
 * stub: treenode_root
76
 */
77
define('CDM_WS_PORTAL_TAXONOMY', 'portal/classification');
78
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES', 'portal/classification/$0/childNodes');
79
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_AT_RANK', 'portal/classification/$0/childNodesAt/$1');
80
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_OF_TAXON', 'portal/classification/$0/childNodesOf/$1');
81
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM', 'portal/classification/$0/pathFrom/$1');
82
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM_TO_RANK', 'portal/classification/$0/pathFrom/$1/toRank/$2');
83
define('CDM_WS_PORTAL_TAXONOMY_MEDIA', 'portal/classification/$0/$1');
84
85
define('CDM_WS_TERMVOCABULARY', 'termVocabulary/$0');
86
87
define('CDM_WS_TERM_COMPARE', 'term/$0/compareTo/$1');
88 211709bc Andreas Kohlbecker
define('CDM_WS_TERM', 'term');
89 6657531f Andreas Kohlbecker
90
/**
91
 * Returns FeatureTrees that are stored in this community store.
92
 */
93 42f2e1e0 Andreas Kohlbecker
define('CDM_WS_FEATURETREE', 'portal/featureTree/$0');
94
define('CDM_WS_FEATURETREES', 'portal/featureTree');
95
// define('CDM_WS_FEATURETREE_CHILDREN', 'featureTree/$0/children');
96 6657531f Andreas Kohlbecker
define('CDM_WS_GEOSERVICE_DISTRIBUTIONMAP', 'ext/edit/mapServiceParameters/taxonDistributionFor/$0');
97
define('CDM_WS_GEOSERVICE_OCCURRENCEMAP', 'ext/edit/mapServiceParameters/taxonOccurrencesFor/$0');
98
99 3a0d572f Andreas Kohlbecker
define('CDM_WS_OCCURRENCE', 'occurrence');
100 1ce9afb7 Patric Plitzner
define('CDM_WS_PORTAL_OCCURRENCE', 'portal/occurrence');
101 3a0d572f Andreas Kohlbecker
/**
102
 * url query paramaters:
103
 *
104
 * @param taxonUuid
105
 * @param relationshipUuids e.g. CongruentTo;  "60974c98-64ab-4574-bb5c-c110f6db634d"
106
 * @param relationshipInversUuids
107
 * @param maxDepth null for unlimited
108
 * @param pageNumber
109
 * @param pageSize
110
 * @var unknown_type
111
 */
112
define('CDM_WS_OCCURRENCE_BY_ASSOCIATEDTAXON', 'occurrence/byAssociatedTaxon');
113
114 6657531f Andreas Kohlbecker
define('CDM_WS_DERIVEDUNIT_FACADE', 'derivedUnitFacade/$0');
115
116
define('CDM_WS_IDENTIFICATIONKEY', 'identificationKey');
117
define('CDM_WS_MEDIAKEY', 'mediaKey');
118
define('CDM_WS_MULTIACCESSKEY', 'multiAccessKey');
119
define('CDM_WS_POLYTOMOUSKEY', 'polytomousKey');
120
define('CDM_WS_POLYTOMOUSKEY_NODE', 'polytomousKeyNode');
121
122
define('CDM_WS_PORTAL_MEDIA', 'portal/media');
123
124
define('CDM_WS_MEDIA_METADATA', 'media/$0/metadata');
125
126
define('CDM_WS_MANAGE_REINDEX', 'manage/reindex');
127
define('CDM_WS_MANAGE_PURGE', 'manage/purge');