Package com.skava.service.impl
Class GetCollectionPropertyServiceImpl
java.lang.Object
com.skava.service.impl.GetCollectionPropertyServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CollectionPropertyRequest,
,CollectionPropertyResponse> GetCollectionPropertyService
@Service
@Transactional(propagation=REQUIRED,
readOnly=true,
noRollbackFor=java.lang.Exception.class)
public class GetCollectionPropertyServiceImpl
extends Object
implements GetCollectionPropertyService
This service class implements GetCollectionPropertyService and handles the get collection property service request,
process it and save the details in DB. It also implements business logic required to retrieve requested
collection property.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method is used to get the respective validator class for this get collection property service.process
(CollectionPropertyRequest input) This method is used to load collection property from database.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
-
GetCollectionPropertyServiceImpl
public GetCollectionPropertyServiceImpl()The default constructor.
-
-
Method Details
-
getValidator
This method is used to get the respective validator class for this get collection property service.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertyResponse> - Returns:
- The list of
ValidatorComponent
object.
-
process
This method is used to load collection property from database.- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertyResponse> - Parameters:
input
- HoldsCollectionPropertyRequest
object which is used to load collection property from database.- Returns:
- The
CollectionPropertiesResponse
which returns success response code and message on successful loading and if any validation fails, throws validate exception
-