Class FindAllCollectionServiceImpl

java.lang.Object
com.skava.accounts.service.impl.FindAllCollectionServiceImpl
All Implemented Interfaces:
FindAllCollectionService, com.skava.core.EcommService<CollectionRequestInternal,CollectionsAPIResponse>

@Service public class FindAllCollectionServiceImpl extends Object implements FindAllCollectionService
The Class FindAllCollectionServiceImpl is used for finding all the collections based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • FindAllCollectionServiceImpl

      public FindAllCollectionServiceImpl()
  • Method Details

    • process

      This method is used to load all Collection based on given Collection.
      Specified by:
      process in interface com.skava.core.EcommService<CollectionRequestInternal,CollectionsAPIResponse>
      Parameters:
      request - It contains the attributes required for the load all Collection.
      Returns:
      It returns the CollectionsAPIResponse. throws ValidateException if any validation error occurs.
    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<CollectionRequestInternal,CollectionsAPIResponse>
    • search

      public org.springframework.data.domain.Page<CollectionsEntity> search(String filters, org.springframework.data.domain.Pageable pageable, String locale)
      search - find the collections for the given filter.
      Parameters:
      filters - the querydsl format filter.
      pageable - the page and size information.
      locale - Indicates the locale in which the API response and the error messages will be responded
      Returns:
      the collections object of type CollectionsEntity