Class JNewsUtils

java.lang.Object
com.jalios.jcms.jnews.JNewsUtils

public class JNewsUtils extends Object
A class containing JNews utility methods
  • Constructor Details

    • JNewsUtils

      public JNewsUtils()
  • Method Details

    • getMapCssLayout

      public static LinkedHashMap<String,Integer> getMapCssLayout()
      Generates the Css styles map for displaying publications in order to associate a integer that represents the number of publications per container with a css style for cards
      Returns:
      the Css styles map for displaying publications
    • getMapBigItems

      public static LinkedHashMap<String,List<String>> getMapBigItems()
      Generates the list of large items depending on the different layouts
      Returns:
      the list of large items depending on the different layouts
    • getMapSmallItems

      public static LinkedHashMap<String,List<String>> getMapSmallItems()
      Generates the list of small items depending on the different layouts
      Returns:
      the list of small items depending on the different layouts