Package com.jalios.jcms.jnews
Class JNewsUtils
- java.lang.Object
-
- com.jalios.jcms.jnews.JNewsUtils
-
public class JNewsUtils extends java.lang.Object
A class containing JNews utility methods
-
-
Constructor Summary
Constructors Constructor Description JNewsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>>
getMapBigItems()
Generates the list of large items depending on the different layoutsstatic java.util.LinkedHashMap<java.lang.String,java.lang.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 cardsstatic java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>>
getMapSmallItems()
Generates the list of small items depending on the different layouts
-
-
-
Method Detail
-
getMapCssLayout
public static java.util.LinkedHashMap<java.lang.String,java.lang.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 java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.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 java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> getMapSmallItems()
Generates the list of small items depending on the different layouts- Returns:
- the list of small items depending on the different layouts
-
-