paramsData->setRequestType(ParamsRequestTypeEnumClass::PARAMGEN); $this->paramsData->setParamId($input->paramId); $this->paramsData->setBatchEnable(FALSE); $paramInfo = $this->paramManager->addExistingParam($input->paramId, $this->paramsData); return $this->paramsData; } /* * @brief method to marshall the result of a download request */ protected function marshallResult($data) { if (!$data->getSuccess()) return array( 'success' => false, 'message' => $data->getParamId() . " : " . $data->getLastErrorMessage()); if ($data->getErrorCode() != 0) return array( 'success' => false, 'message' => $data->getParamId() . " : " . 'Error detected during parameter compilation'); return array( 'success' => true ); } } ?>