Class CollectionPropertyProcess

java.lang.Object
com.skava.ratingandreviews.collection.process.CollectionPropertyProcess

@Component public class CollectionPropertyProcess extends Object

Class CollectionPropertyProcess

This class contains the functionality to perform CRUD operations of Collection Properties

Since:
8.0
Version:
8.0
Author:
Infosys Equinox
  • Constructor Details

  • Method Details

    • findByName

      public CollectionPropertyDomain findByName(CollectionPropertyDomain collectionPropertiesDO)

      FindByName

      This function is used to find the collection property by name.

      Parameters:
      collectionPropertiesDO - An instance of CollectionPropertyDomain. I contains the collection id and attribute id to load the collection properties.
      Returns:
      An instance of CollectionPropertyDomain . It contains the data of collection property loaded from the database.
    • updateCollectionProperties

      public Map<String,CollectionPropertyDomain> updateCollectionProperties(long collectionId, long businessId, Map<String,CollectionPropertyDomain> collectionPropertiesDomainMap)

      method update

      This function is used to update the collection properties

      Parameters:
      collectionId - The collection identifier
      businessId - The business identifier
      collectionPropertiesDomainMap - The collection properties map of the properties that needs to be updated
      Returns:
      The updated collection properties map