Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
#include "dfw_field_trial_service_data.h"
#include "dfw_field_trial_service_library.h"
#include "programme.h"
#include "string_parameter.h"
Go to the source code of this file.
Functions | |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_ID | PROGRAMME_JOB_STRUCT_VAL ("PR Id", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_ABBREVIATION | PROGRAMME_JOB_STRUCT_VAL ("PR Abbreviation", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_CROP | PROGRAMME_JOB_STRUCT_VAL ("PR Crop", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_URL | PROGRAMME_JOB_STRUCT_VAL ("PR Url", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_NAME | PROGRAMME_JOB_STRUCT_VAL ("PR Name", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_OBJECTIVE | PROGRAMME_JOB_STRUCT_VAL ("PR Objective", PT_LARGE_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_LOGO | PROGRAMME_JOB_STRUCT_VAL ("PR Logo", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_FUNDER | PROGRAMME_JOB_STRUCT_VAL ("PR Funder", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_USER | PROGRAMME_JOB_STRUCT_VAL ("PR User", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_CODE | PROGRAMME_JOB_STRUCT_VAL ("PR Code", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_NAME | PROGRAMME_JOB_STRUCT_VAL ("PR PI Name", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_EMAIL | PROGRAMME_JOB_STRUCT_VAL ("PR PI Email", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_ROLE | PROGRAMME_JOB_STRUCT_VAL ("PR PI Role", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_AFFILATION | PROGRAMME_JOB_STRUCT_VAL ("PR PI Affiliation", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_ORCID | PROGRAMME_JOB_STRUCT_VAL ("PR PI Orcid", PT_STRING) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_SEARCH | PROGRAMME_JOB_STRUCT_VAL ("PR Search", PT_STRING) |
bool | SetUpProgrammesListParameter (const FieldTrialServiceData *data_p, StringParameter *param_p, const Programme *active_program_p, const bool empty_option_flag) |
bool | AddSubmissionProgrammeParams (ServiceData *data_p, ParameterSet *param_set_p, Programme *active_programme_p, const bool read_only_flag) |
bool | AddSearchProgrammeParams (ServiceData *data_p, ParameterSet *param_set_p, DataResource *resource_p) |
json_t * | GetAllProgrammesAsJSON (const FieldTrialServiceData *data_p, const bool full_data_flag) |
bool | GetSubmissionProgrammeParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
bool | GetSearchProgrammeParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
bool | RunForSubmissionProgrammeParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p, User *user_p) |
bool | RunForSearchProgrammeParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p) |
bool | AddProgrammeToServiceJob (ServiceJob *job_p, Programme *program_p, const ViewFormat format, FieldTrialServiceData *data_p) |
Programme * | GetProgrammeFromResource (DataResource *resource_p, const NamedParameterType program_param_type, FieldTrialServiceData *dfw_data_p) |
json_t * | GetProgrammeIndexingData (Service *service_p) |
json_t * | GetProgrammeAsFrictionlessDataResource (const Programme *programme_p, const FieldTrialServiceData *data_p) |
json_t * | GetProgrammeAsFrictionlessDataPackage (const Programme *programme_p, const FieldTrialServiceData *data_p) |
bool | SaveProgrammeAsFrictionlessData (const Programme *programme_p, const FieldTrialServiceData *data_p) |
bool | AddProgrammesListFromJSON (const char *id_s, json_t *programmes_json_p, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *empty_option_s, FieldTrialServiceData *ft_data_p) |
bool | AddProgrammesList (const char *id_s, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *const empty_option_s, FieldTrialServiceData *data_p) |
bool | AddProgrammeEditor (Programme *programme_p, const char *id_s, ParameterSet *param_set_p, const bool read_only_flag, FieldTrialServiceData *dfw_data_p) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_ID PROGRAMME_JOB_STRUCT_VAL | ( | "PR Id" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_ABBREVIATION PROGRAMME_JOB_STRUCT_VAL | ( | "PR Abbreviation" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_CROP PROGRAMME_JOB_STRUCT_VAL | ( | "PR Crop" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_URL PROGRAMME_JOB_STRUCT_VAL | ( | "PR Url" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_NAME PROGRAMME_JOB_STRUCT_VAL | ( | "PR Name" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_OBJECTIVE PROGRAMME_JOB_STRUCT_VAL | ( | "PR Objective" | , |
PT_LARGE_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_LOGO PROGRAMME_JOB_STRUCT_VAL | ( | "PR Logo" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_FUNDER PROGRAMME_JOB_STRUCT_VAL | ( | "PR Funder" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_USER PROGRAMME_JOB_STRUCT_VAL | ( | "PR User" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_CODE PROGRAMME_JOB_STRUCT_VAL | ( | "PR Code" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_NAME PROGRAMME_JOB_STRUCT_VAL | ( | "PR PI Name" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_EMAIL PROGRAMME_JOB_STRUCT_VAL | ( | "PR PI Email" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_ROLE PROGRAMME_JOB_STRUCT_VAL | ( | "PR PI Role" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_AFFILATION PROGRAMME_JOB_STRUCT_VAL | ( | "PR PI Affiliation" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_PI_ORCID PROGRAMME_JOB_STRUCT_VAL | ( | "PR PI Orcid" | , |
PT_STRING | |||
) |
PROGRAMME_JOB_PREFIX NamedParameterType PROGRAMME_SEARCH PROGRAMME_JOB_STRUCT_VAL | ( | "PR Search" | , |
PT_STRING | |||
) |
bool SetUpProgrammesListParameter | ( | const FieldTrialServiceData * | data_p, |
StringParameter * | param_p, | ||
const Programme * | active_program_p, | ||
const bool | empty_option_flag | ||
) |
bool AddSubmissionProgrammeParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
Programme * | active_programme_p, | ||
const bool | read_only_flag | ||
) |
bool AddSearchProgrammeParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
DataResource * | resource_p | ||
) |
json_t* GetAllProgrammesAsJSON | ( | const FieldTrialServiceData * | data_p, |
const bool | full_data_flag | ||
) |
bool GetSubmissionProgrammeParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
bool GetSearchProgrammeParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
bool RunForSubmissionProgrammeParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p, | ||
User * | user_p | ||
) |
bool RunForSearchProgrammeParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p | ||
) |
bool AddProgrammeToServiceJob | ( | ServiceJob * | job_p, |
Programme * | program_p, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
Programme* GetProgrammeFromResource | ( | DataResource * | resource_p, |
const NamedParameterType | program_param_type, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |
json_t* GetProgrammeIndexingData | ( | Service * | service_p | ) |
json_t* GetProgrammeAsFrictionlessDataResource | ( | const Programme * | programme_p, |
const FieldTrialServiceData * | data_p | ||
) |
json_t* GetProgrammeAsFrictionlessDataPackage | ( | const Programme * | programme_p, |
const FieldTrialServiceData * | data_p | ||
) |
bool SaveProgrammeAsFrictionlessData | ( | const Programme * | programme_p, |
const FieldTrialServiceData * | data_p | ||
) |
bool AddProgrammesListFromJSON | ( | const char * | id_s, |
json_t * | programmes_json_p, | ||
ParameterSet * | param_set_p, | ||
ParameterGroup * | group_p, | ||
const bool | read_only_flag, | ||
const char * | empty_option_s, | ||
FieldTrialServiceData * | ft_data_p | ||
) |
bool AddProgrammesList | ( | const char * | id_s, |
ParameterSet * | param_set_p, | ||
ParameterGroup * | group_p, | ||
const bool | read_only_flag, | ||
const char *const | empty_option_s, | ||
FieldTrialServiceData * | data_p | ||
) |
bool AddProgrammeEditor | ( | Programme * | programme_p, |
const char * | id_s, | ||
ParameterSet * | param_set_p, | ||
const bool | read_only_flag, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |