Class CollectionPropertyProcess
java.lang.Object
com.skava.shipping.collection.process.CollectionPropertyProcess
This class contains the functionality to perform CRUD operations of Collection Properties
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByName
(CollectionPropertyDomain collectionPropertiesDomain) This function is used to find the collection property by name.updateCollectionProperties
(long collectionId, long businessId, Map<String, CollectionPropertyDomain> collectionPropertiesDomainMap) This function is used to update the collection properties
-
Field Details
-
collectionFactory
-
collectionPropertyFactory
-
-
Constructor Details
-
CollectionPropertyProcess
public CollectionPropertyProcess()
-
-
Method Details
-
findByName
This function is used to find the collection property by name.- Parameters:
collectionPropertiesDomain
- An instance ofCollectionPropertyDomain
. 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 identifierbusinessId
- The business identifiercollectionPropertiesDomainMap
- The collection properties map of the properties that needs to be updated- Returns:
- The updated collection properties map
-