Package com.skava.accounts.service.impl
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
-
Field Summary
Fields inherited from class com.skava.accounts.service.impl.AttributeServiceImpl
accountCommonService, attributeRepository, authTokenHandler, messageSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAll
(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.List<com.skava.core.validation.ValidatorComponent>
process
(AttributeRequestInternal request) This method is used to load all Attribute based on given Attribute.org.springframework.data.domain.Page<AttributeEntity>
method search This method is used to get the attributes based on the parameters passedMethods 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
-
FindAllAttributesServiceImpl
public FindAllAttributesServiceImpl()
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<AttributeRequestInternal,
AttributesAPIResponse>
-
process
This method is used to load all Attribute based on given Attribute.- Specified by:
process
in interfacecom.skava.core.EcommService<AttributeRequestInternal,
AttributesAPIResponse> - Parameters:
request
- It contains the attributes required for the load all Attribute.- Returns:
- It returns the
AttributesResponse
.
-
findAll
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
-