Package com.jalios.jcms.jnews
Class JNewsUtils
java.lang.Object
com.jalios.jcms.jnews.JNewsUtils
A class containing JNews utility methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedHashMap<String, List<String>> Generates the list of large items depending on the different layoutsstatic LinkedHashMap<String, Integer> 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 cardsstatic LinkedHashMap<String, List<String>> Generates the list of small items depending on the different layouts
-
Constructor Details
-
JNewsUtils
public JNewsUtils()
-
-
Method Details
-
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
Generates the list of large items depending on the different layouts- Returns:
- the list of large items depending on the different layouts
-
getMapSmallItems
Generates the list of small items depending on the different layouts- Returns:
- the list of small items depending on the different layouts
-