Class CollectionPropertyProcess

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

@Component public class CollectionPropertyProcess extends Object
This class contains the functionality to perform CRUD operations of Collection Properties
Since:
8.0
Version:
8.0
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • CollectionPropertyProcess

      public CollectionPropertyProcess()
  • Method Details

    • findByName

      public CollectionPropertyDomain findByName(CollectionPropertyDomain collectionPropertiesDomain)
      This function is used to find the collection property by name.
      Parameters:
      collectionPropertiesDomain - 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)
      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