Class FindAllContractsServiceImpl

java.lang.Object
com.skava.accounts.service.impl.ContractServiceImpl
com.skava.accounts.service.impl.FindAllContractsServiceImpl
All Implemented Interfaces:
FindAllContractsService, com.skava.core.EcommService<ContractRequestInternal,ContractsAPIResponse>

@Service public class FindAllContractsServiceImpl extends ContractServiceImpl implements FindAllContractsService
The Class FindAllContractsServiceImpl is used for finding all the contracts based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • FindAllContractsServiceImpl

      public FindAllContractsServiceImpl()
  • Method Details

    • process

      This method is used to load all contracts based on given contracts.
      Specified by:
      process in interface com.skava.core.EcommService<ContractRequestInternal,ContractsAPIResponse>
      Parameters:
      request - It contains the attributes required for the load all contracts.
      Returns:
      It returns the ContractsAPIResponse. 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<ContractRequestInternal,ContractsAPIResponse>
    • search

      public org.springframework.data.domain.Page<ContractsEntity> search(String filters, org.springframework.data.domain.Pageable pageable, String locale)
      search
      Parameters:
      filters - the filter using which the contracts will be loaded.
      pageable - the pageable
      locale - the locale
      Returns:
      a page of ContractsEntity