Go to the source code of this file.
|
const CROP_PREFIX char *CR_NAME_S | CROP_CONCAT_VAL (CONTEXT_PREFIX_SCHEMA_ORG_S, "name") |
|
const CROP_PREFIX char *CR_AGROVOC_URL_S | CROP_CONCAT_VAL (CONTEXT_PREFIX_SCHEMA_ORG_S, "url") |
|
const CROP_PREFIX char *CR_AGROVOC_PREFERRED_TERM_S | CROP_VAL ("preferred_term") |
|
const CROP_PREFIX char *CR_SYNONYMS_S | CROP_VAL ("synonyms") |
|
Crop * | AllocateCrop (bson_oid_t *id_p, const char *name_s, const char *argovoc_preferred_term_s, const char *agrovoc_uri_s, char **synonyms_ss) |
|
void | FreeCrop (Crop *crop_p) |
|
json_t * | GetCropAsJSON (Crop *crop_p, const ViewFormat format, const FieldTrialServiceData *data_p) |
|
Crop * | GetCropFromJSON (const json_t *crop_json_p, const FieldTrialServiceData *data_p) |
|
bool | SaveCrop (Crop *crop_p, const FieldTrialServiceData *data_p) |
|
Crop * | GetCropByIdString (const char *id_s, const FieldTrialServiceData *data_p) |
|
Crop * | GetCropById (const bson_oid_t *id_p, const FieldTrialServiceData *data_p) |
|
◆ CROP_CONCAT_VAL() [1/2]
◆ CROP_CONCAT_VAL() [2/2]
◆ CROP_VAL() [1/2]
const CROP_PREFIX char* CR_AGROVOC_PREFERRED_TERM_S CROP_VAL |
( |
"preferred_term" |
| ) |
|
◆ CROP_VAL() [2/2]
const CROP_PREFIX char* CR_SYNONYMS_S CROP_VAL |
( |
"synonyms" |
| ) |
|
◆ AllocateCrop()
Crop* AllocateCrop |
( |
bson_oid_t * |
id_p, |
|
|
const char * |
name_s, |
|
|
const char * |
argovoc_preferred_term_s, |
|
|
const char * |
agrovoc_uri_s, |
|
|
char ** |
synonyms_ss |
|
) |
| |
◆ FreeCrop()
void FreeCrop |
( |
Crop * |
crop_p | ) |
|
◆ GetCropAsJSON()
◆ GetCropFromJSON()
◆ SaveCrop()
◆ GetCropByIdString()
◆ GetCropById()