Class CollectionAttributeProcess

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

@Component public class CollectionAttributeProcess extends Object

Class CollectionAttributeProcess

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

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

  • Method Details

    • findAll

      public List<CollectionAttributeDomain> findAll()

      method findAll

      This function is used to load all the default properties presented in the collection attribute. This function first try to find the attributes in the cache if found returns it from cache, else loads it from data base and returns.

      Returns:
      An instance of CollectionAttributeDomain. It contains the data of collection attribute loaded from the database.
    • getCollectionAttributeMap

      public Map<String,CollectionAttributeDomain> getCollectionAttributeMap()

      method CollectionAttribute

      This method builds a map of collection attributes by name and returns it

      Returns:
      Map<String , CollectionAttributeDomain>