Package com.skava.accounts.service.impl
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
-
Field Summary
Fields inherited from class com.skava.accounts.service.impl.ContractServiceImpl
contractCommonService, contractPropertiesRepository, contractsRepository, documentRepository, findContractServiceUtil, messageSource, paymentTermRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(ContractRequestInternal request) This method is used to load all contracts based on given contracts.org.springframework.data.domain.Page<ContractsEntity>
searchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
Constructor Details
-
FindAllContractsServiceImpl
public FindAllContractsServiceImpl()
-
-
Method Details
-
process
This method is used to load all contracts based on given contracts.- Specified by:
process
in interfacecom.skava.core.EcommService<ContractRequestInternal,
ContractsAPIResponse> - Parameters:
request
- It contains the attributes required for the load all contracts.- Returns:
- It returns the
ContractsAPIResponse
. throwsValidateException
if any validation error occurs.
-
getValidator
- Specified by:
getValidator
in interfacecom.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 pageablelocale
- the locale- Returns:
- a page of
ContractsEntity
-