Package com.skava.service.impl
Class PutUpdateCollectionPropertiesServiceImpl
java.lang.Object
com.skava.service.impl.PutUpdateCollectionPropertiesServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CollectionPropertyRequest,
,CollectionPropertiesResponse> PutUpdateCollectionPropertiesService
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class PutUpdateCollectionPropertiesServiceImpl
extends Object
implements PutUpdateCollectionPropertiesService
This service class implements PutUpdateCollectionPropertiesService and
handles the update collection properties 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 update collection service.process
(CollectionPropertyRequest input) This method is used to update collection property put process.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
-
PutUpdateCollectionPropertiesServiceImpl
public PutUpdateCollectionPropertiesServiceImpl()
-
-
Method Details
-
process
@SendEvent(eventType="userservice/collectionproperty/update", identifier="request_collectionId") public CollectionPropertiesResponse process(CollectionPropertyRequest input) This method is used to update collection property put process. While updating collection properties if any properties is not present in collection attribute, then the properties from request will be added to ignored properties.- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertiesResponse> - Parameters:
input
- HoldsCollectionPropertyRequest
object which contains requested collection properties is used for updating.- Returns:
- The
CollectionPropertiesResponse
object which returns success response code and message on successful updation of collection properties and if any validation fails, throws validate exception
-
getValidator
This method is used to get the respective validator class for this update collection service.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CollectionPropertyRequest,
CollectionPropertiesResponse> - Returns:
- The list of
ValidatorComponent
object.
-