Package com.jalios.jcms.jnews
Class PubDisplayStyle
- java.lang.Object
-
- com.jalios.jcms.jnews.PubDisplayStyle
-
public class PubDisplayStyle extends java.lang.Object
A class building publication settings for creation of card
-
-
Constructor Summary
Constructors Constructor Description PubDisplayStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAbstractLength()
int
getAbstractTruncate()
java.lang.String
getIdPub()
boolean
getImage()
long
getImageHeight()
long
getImageWidth()
boolean
getIsBigImage()
int
getTitleLength()
java.lang.String
pubCharacteristicsDisplay()
Present the display characteristics of the publicationvoid
setAbstractLength(int abstractLength)
void
setAbstractTruncate(int abstractTruncate)
void
setIdPub(java.lang.String idPub)
void
setImage(boolean image)
void
setImageHeight(long imageHeight)
void
setImageWidth(long imageWidth)
void
setIsBigImage(boolean isBigImage)
void
setSettingsPublicationCard(Publication pub)
Generate publication settings for creation of cardvoid
setTitleLength(int titleLength)
-
-
-
Method Detail
-
setSettingsPublicationCard
public void setSettingsPublicationCard(Publication pub)
Generate publication settings for creation of card- Parameters:
pub
- A publication
-
pubCharacteristicsDisplay
public java.lang.String pubCharacteristicsDisplay()
Present the display characteristics of the publication- Returns:
- a string that represents the content(characteristics) to be displayed
-
setIdPub
public void setIdPub(java.lang.String idPub)
-
getIdPub
public java.lang.String getIdPub()
-
setTitleLength
public void setTitleLength(int titleLength)
-
getTitleLength
public int getTitleLength()
-
setAbstractLength
public void setAbstractLength(int abstractLength)
-
getAbstractLength
public int getAbstractLength()
-
setImageWidth
public void setImageWidth(long imageWidth)
-
getImageWidth
public long getImageWidth()
-
setImageHeight
public void setImageHeight(long imageHeight)
-
getImageHeight
public long getImageHeight()
-
setImage
public void setImage(boolean image)
-
getImage
public boolean getImage()
-
setAbstractTruncate
public void setAbstractTruncate(int abstractTruncate)
-
getAbstractTruncate
public int getAbstractTruncate()
-
setIsBigImage
public void setIsBigImage(boolean isBigImage)
-
getIsBigImage
public boolean getIsBigImage()
-
-