Class ExportController


  • @Controller
    @RequestMapping("/{baseSiteId}/export/products")
    public class ExportController
    extends BaseController
    Web Services Controller to expose the functionality of the ProductFacade and SearchFacade.
    • Constructor Detail

      • ExportController

        public ExportController()
    • Method Detail

      • getExportedProducts

        @Secured("ROLE_TRUSTED_CLIENT")
        @RequestMapping(method=GET)
        @ResponseBody
        public ProductListWsDTO getExportedProducts​(@RequestParam(defaultValue="0")
                                                    int currentPage,
                                                    @RequestParam(defaultValue="20")
                                                    int pageSize,
                                                    @RequestParam(required=false)
                                                    java.lang.String catalog,
                                                    @RequestParam(required=false)
                                                    java.lang.String version,
                                                    @RequestParam(required=false)
                                                    java.lang.String timestamp,
                                                    @RequestParam(required=false,defaultValue="DEFAULT")
                                                    java.lang.String fields)
      • incrementalExport

        protected ProductListWsDTO incrementalExport​(java.lang.String fields,
                                                     int currentPage,
                                                     int pageSize,
                                                     java.lang.String catalog,
                                                     java.lang.String version,
                                                     java.lang.String timestamp)
      • fullExport

        protected ProductListWsDTO fullExport​(java.lang.String fields,
                                              int currentPage,
                                              int pageSize,
                                              java.lang.String catalog,
                                              java.lang.String version)
      • convertResultset

        protected ProductDataList convertResultset​(int page,
                                                   int pageSize,
                                                   java.lang.String catalog,
                                                   java.lang.String version,
                                                   ProductResultData modifiedProducts)