Class MarketplaceHotfolderController


  • @Controller
    @RequestMapping("/{baseSiteId}/hotfolder")
    public class MarketplaceHotfolderController
    extends java.lang.Object
    Controller for marketplace hot folder.
    • Constructor Detail

      • MarketplaceHotfolderController

        public MarketplaceHotfolderController()
    • Method Detail

      • upload

        @ResponseBody
        @Secured({"ROLE_VENDORADMINISTRATORGROUP","ROLE_VENDORPRODUCTMANAGERGROUP","ROLE_VENDORWAREHOUSESTAFFGROUP","ROLE_VENDORCONTENTMANAGERGROUP"})
        @RequestMapping(value="/upload",
                        method=POST)
        public FileUploadWsDTO upload​(javax.servlet.http.HttpServletRequest request)
      • downloadVendorOrders

        @RequestMapping(value="/download/orders",
                        method=GET)
        @Secured({"ROLE_VENDORWAREHOUSESTAFFGROUP","ROLE_VENDORADMINISTRATORGROUP"})
        public void downloadVendorOrders​(javax.servlet.http.HttpServletResponse response)
      • downloadVendorLogs

        @RequestMapping(value="/download/logs",
                        method=GET)
        @Secured({"ROLE_VENDORADMINISTRATORGROUP","ROLE_VENDORPRODUCTMANAGERGROUP","ROLE_VENDORWAREHOUSESTAFFGROUP","ROLE_VENDORCONTENTMANAGERGROUP"})
        public void downloadVendorLogs​(javax.servlet.http.HttpServletResponse response)
      • handleExceptions

        @Deprecated(since="2105",
                    forRemoval=true)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public ErrorListWsDTO handleExceptions​(java.lang.Exception e)
        Deprecated, for removal: This API element is subject to removal in a future version.
        (deprecated since 2105, in order to avoid leaking of exception messages by configuring exceptions)
      • handleErrorInternal

        protected ErrorListWsDTO handleErrorInternal​(java.lang.String type,
                                                     java.lang.String message)