Class ExportController
- java.lang.Object
-
- de.hybris.platform.ycommercewebservices.v2.controller.BaseController
-
- de.hybris.platform.ycommercewebservices.v2.controller.ExportController
-
@Controller @RequestMapping("/{baseSiteId}/export/products") public class ExportController extends BaseControllerWeb Services Controller to expose the functionality of theProductFacadeand SearchFacade.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description ExportController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProductDataListconvertResultset(int page, int pageSize, java.lang.String catalog, java.lang.String version, ProductResultData modifiedProducts)protected ProductListWsDTOfullExport(java.lang.String fields, int currentPage, int pageSize, java.lang.String catalog, java.lang.String version)ProductListWsDTOgetExportedProducts(int currentPage, int pageSize, java.lang.String catalog, java.lang.String version, java.lang.String timestamp, java.lang.String fields)protected ProductListWsDTOincrementalExport(java.lang.String fields, int currentPage, int pageSize, java.lang.String catalog, java.lang.String version, java.lang.String timestamp)-
Methods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
-
-
-
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)
-
-