Package com.skava.accounts.service.impl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(CollectionRequestInternal request) This method is used to load all Collection based on given Collection.org.springframework.data.domain.Page<CollectionsEntity>
search - find the collections for the given filter.Methods 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
-
FindAllCollectionServiceImpl
public FindAllCollectionServiceImpl()
-
-
Method Details
-
process
This method is used to load all Collection based on given Collection.- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionRequestInternal,
CollectionsAPIResponse> - Parameters:
request
- It contains the attributes required for the load all Collection.- Returns:
- It returns the
CollectionsAPIResponse
. throwsValidateException
if any validation error occurs.
-
getValidator
- Specified by:
getValidator
in interfacecom.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
-