-
-
-
- /*public void getUploadConfigInfo(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
-
- log.info("Received getUploadConfigInfo call with params : " + inParams);
-
- String responsePrefix = inParams.get(AppcDataServiceConstant.INPUT_PARAM_RESPONSE_PREFIX);
-
- String uploadConfigId = inParams.get(AppcDataServiceConstant.INPUT_PARAM_UPLOAD_CONFIG_ID);
- QueryStatus status = null;
-
- int id = 0;
- try {
-
-
- DGGeneralDBService db = DGGeneralDBService.initialise();
-
- if ( uploadConfigId != null )
- id = Integer.parseInt(uploadConfigId);
-
- status = db.getUploadConfigInfo(ctx, responsePrefix,id);
-
- if ( status == QueryStatus.FAILURE || status == QueryStatus.NOT_FOUND)
- throw new Exception("Unable to Read upload-config");
-
-
- responsePrefix = StringUtils.isNotBlank(responsePrefix) ? (responsePrefix+".") : "";
- ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_STATUS,
- AppcDataServiceConstant.OUTPUT_STATUS_SUCCESS);
- log.info("getUploadConfigInfo Successful ");
- } catch (Exception e) {
- ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_STATUS,
- AppcDataServiceConstant.OUTPUT_STATUS_FAILURE);
- ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_ERROR_MESSAGE, e.getMessage());
- log.error("Failed in getUploadConfigInfo " + e.getMessage());
-
- throw new SvcLogicException(e.getMessage());
- }
- }
- */
-