Package com.jalios.jcms.jnews
Class PubDisplayStyleLayoutPredictive
- java.lang.Object
-
- com.jalios.jcms.jnews.PubDisplayStyleLayoutPredictive
-
- All Implemented Interfaces:
PubDisplayStyleLayout
public class PubDisplayStyleLayoutPredictive extends java.lang.Object implements PubDisplayStyleLayout
A class to dynamically set up a layout
-
-
Constructor Summary
Constructors Constructor Description PubDisplayStyleLayoutPredictive(java.lang.String layoutModel, int maxPub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CssStyleLayout>
runLayoutEngine(PubDisplayStyleBuilder pubDisplayStyleBuilder, boolean doMorePubs)
Generate predictive layout
-
-
-
Method Detail
-
runLayoutEngine
public java.util.List<CssStyleLayout> runLayoutEngine(PubDisplayStyleBuilder pubDisplayStyleBuilder, boolean doMorePubs)
Generate predictive layout- Specified by:
runLayoutEngine
in interfacePubDisplayStyleLayout
- Parameters:
pubDisplayStyleBuilder
- publications settings for creation of carddoMorePubs
- determines if this is the last page for displaying publications- Returns:
- a list of a object that associates a integer number with a css style for cards
-
-