Class FindAllBinServiceImpl
java.lang.Object
com.skava.inventory.service.impl.CommonDependencies
com.skava.inventory.service.impl.bin.FindAllBinServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<FindAllBinRequest,
,BinsResponse> FindAllBinService
,CustomEcommService<FindAllBinRequest,
BinsResponse>
This class implements
Note: A user with the privilege to view bins can retrieve and view the details of the bins. Below are the validations applied to find all bin.
FindAllBinService
and defines the implementations to find all bins in a collection.
If the search term is empty, then all bin(s) are returned based on the collection ID. A bin is a place where you
can organize the bin items or the child bin(s) to one specific group. The bins can be grouped under a particular
bin called the parent bin. The response of this request is given through the Bin model array.Note: A user with the privilege to view bins can retrieve and view the details of the bins. Below are the validations applied to find all bin.
- Collection must be valid.
- Author:
- Infosys Equinox
-
Field Summary
Fields inherited from class com.skava.inventory.service.impl.CommonDependencies
binItemRepository, binRepository, cacheUtil, collectionDependencies, collectionPropertyRepository, collectionRepository, context, createBinItemService, createBinService, inventoryEventService, messageSource, searchCountCache, transactionRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
getValidator
(FindAllBinRequest request) process
(FindAllBinRequest request) This method is used to load all Bins based on request.Methods inherited from class com.skava.inventory.service.impl.CommonDependencies
checkBinIsActive, checkBinItemIsActive, checkForDuplicateName, clearCollectionCache, clearCollectionPropertyCache
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.inventory.service.CustomEcommService
getValidateException
Methods inherited from interface com.skava.core.EcommService
getValidator
-
Constructor Details
-
FindAllBinServiceImpl
public FindAllBinServiceImpl()
-
-
Method Details
-
process
@HystrixCommand(commandKey="inventory-key", fallbackMethod="methodFallback", ignoreExceptions=com.skava.core.validation.ValidateException.class) public BinsResponse process(FindAllBinRequest request) This method is used to load all Bins based on request. The filter/search query is applied to find a set bins. The bins are loaded based on the collections.- Specified by:
process
in interfacecom.skava.core.EcommService<FindAllBinRequest,
BinsResponse> - Parameters:
request
- It contains the search/filter attributes for querying set of bins.- Returns:
- It returns the
BinsResponse
.
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<FindAllBinRequest,
BinsResponse>
-