Examples of IResourceDownloadHandler


Examples of org.fao.geonet.services.resources.handlers.IResourceDownloadHandler

    if (elMd == null)
      throw new MetadataNotFoundEx("Metadata not found - deleted?");

        //--- manage the download hook
        IResourceDownloadHandler downloadHook = (IResourceDownloadHandler) context.getApplicationContext().getBean("resourceDownloadHandler");
        Element response = downloadHook.onDownloadMultiple(context, params, Integer.parseInt(id), files);

        // Return null to do the default processing. TODO: Check to move the code to the default hook.
        if (response != null) {
            return response;
View Full Code Here

Examples of org.fao.geonet.services.resources.handlers.IResourceDownloadHandler

          }
        }
      }
    }

        IResourceDownloadHandler downloadHook = (IResourceDownloadHandler) context.getApplicationContext().getBean("resourceDownloadHandler");
        return downloadHook.onDownload(context, params, Integer.parseInt(id), fname, file);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.