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
    Constructor
    Description
    The default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.skava.core.validation.ValidatorComponent>
    This method is used to get the respective validator class for this update collection property service.
    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

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method is used to get the respective validator class for this update collection property service.
      Specified by:
      getValidator in interface com.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 interface com.skava.core.EcommService<CollectionPropertyRequest,CollectionPropertiesResponse>
      Parameters:
      input - Holds CollectionPropertyRequest 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