Class CollectionTemplateUtil

java.lang.Object
com.skava.oms.template.collection.CollectionTemplateUtil

public class CollectionTemplateUtil extends Object
The class CollectionTemplateUtil help to handle get collection based on different filters.
Since:
10 June 2019
Author:
Infosys Equinox
  • Constructor Details

    • CollectionTemplateUtil

      public CollectionTemplateUtil()
  • Method Details

    • searchBasedOnParams

      public static List<org.springframework.data.mongodb.core.query.Criteria> searchBasedOnParams(List<SearchCriteria> fields)
      This method searches based on the params and adds to the search criteria list
      Parameters:
      fields - - fields to be searched
      Returns:
      the list of search params Debug logger has been added to this method.