Class FindAllBinItemsServiceImpl

java.lang.Object
com.skava.inventory.service.impl.CommonDependencies
com.skava.inventory.service.impl.binitem.FindAllBinItemsServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<FindAllBinItemRequest,BinItemsResponse>, FindAllBinItemService, CustomEcommService<FindAllBinItemRequest,BinItemsResponse>

@Service public class FindAllBinItemsServiceImpl extends CommonDependencies implements FindAllBinItemService
This class implements FindAllBinItemService to find all binItems associated to the collection.
Author:
Infosys Equinox
  • Constructor Details

    • FindAllBinItemsServiceImpl

      public FindAllBinItemsServiceImpl()
  • Method Details

    • process

      @HystrixCommand(commandKey="inventory-key", fallbackMethod="methodFallback", ignoreExceptions=com.skava.core.validation.ValidateException.class) public BinItemsResponse process(FindAllBinItemRequest request)
      This method is used to load all BinItems based on request. The filter/search query is applied to find a set of binItems. The binItems are loaded based on the collection and the filter/search string. If no BinItems are found based on the search/filter string and collection Id then, no binItems found response is returned. Below are the validations to be passed to create a binItem
      • The collection must exist and ACTIVE.
      Specified by:
      process in interface com.skava.core.EcommService<FindAllBinItemRequest,BinItemsResponse>
      Parameters:
      request - It contains the search/filter attributes for querying set of binItems.
      Returns:
      It returns the BinItemsResponse.
    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator(FindAllBinItemRequest request)
      This class implements the validator for find all binItems.
      Specified by:
      getValidator in interface com.skava.core.EcommService<FindAllBinItemRequest,BinItemsResponse>