Class FindAllAttributesServiceImpl

java.lang.Object
com.skava.accounts.service.impl.AttributeServiceImpl
com.skava.accounts.service.impl.FindAllAttributesServiceImpl
All Implemented Interfaces:
FindAllAttributesService, com.skava.core.EcommService<AttributeRequestInternal,AttributesAPIResponse>

@Service public class FindAllAttributesServiceImpl extends AttributeServiceImpl implements FindAllAttributesService
The Class AttributeResponseCode consists of response codes which are used in all Attribute apis and Attribute validators.
Since:
May 2020
Version:
8.9.0
Author:
Infosys Equinox
  • Constructor Details

    • FindAllAttributesServiceImpl

      public FindAllAttributesServiceImpl()
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<AttributeRequestInternal,AttributesAPIResponse>
    • process

      This method is used to load all Attribute based on given Attribute.
      Specified by:
      process in interface com.skava.core.EcommService<AttributeRequestInternal,AttributesAPIResponse>
      Parameters:
      request - It contains the attributes required for the load all Attribute.
      Returns:
      It returns the AttributesResponse.
    • findAll

      public List<AttributeDO> findAll(AttributeDO attributeDO, String sortStr)
      method findAll This method is used to set the value for page,size,sort and ir gives the result with the help of search function.
      Parameters:
      attributeDO - This parameter holds the value for the fields page,size etc.
      sortStr - This parameter holds the vaule for the field sort.
      Returns:
      List
    • search

      public org.springframework.data.domain.Page<AttributeEntity> search(String filters, org.springframework.data.domain.Pageable pageable, String locale)
      method search This method is used to get the attributes based on the parameters passed
      Parameters:
      filters - This parameter holds the filter values for findAll call.
      pageable - This parameter holds the pageable information for findAll.
      locale - This parameter holds the value for locale.
      Returns:
      Page holds the response for search function