Package com.skava.service.impl
Class UpdateCollectionPropertyServiceImpl
java.lang.Object
com.skava.service.impl.UpdateCollectionPropertyServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CollectionPropertyRequest,
,CollectionPropertiesResponse> UpdateCollectionPropertyService
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class UpdateCollectionPropertyServiceImpl
extends Object
implements UpdateCollectionPropertyService
This service class implements UpdateCollectionPropertyService and handles the update collection property service
request, process it and save the details in DB. It also implements business logic required to update 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 update collection property service.process
(CollectionPropertyRequest input) This service is used to update collection property as per the given collection property request, Which returns success response code and message on successful updation of collection property. if any validation fails, throws validate exception.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
-
UpdateCollectionPropertyServiceImpl
public UpdateCollectionPropertyServiceImpl()The default constructor.
-
-
Method Details
-
getValidator
This method is used to get the respective validator class for this update collection property service.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertiesResponse> - Returns:
- The list of
ValidatorComponent
object.
-
process
@SendEvent(eventType="userservice/collectionproperty/patch", identifier="request_collectionId") public CollectionPropertiesResponse process(CollectionPropertyRequest input) This service is used to update collection property as per the given collection property request, Which returns success response code and message on successful updation of collection property. if any validation fails, throws validate exception.- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertiesResponse> - Parameters:
input
- HoldsCollectionPropertyRequest
object which is used for updating collection property.- Returns:
- The
CollectionPropertiesResponse
object which returns success response code and message on successful updation and if any validation fails, throws validate exception
-