public class JournalArticleDisplayImpl extends java.lang.Object implements JournalArticleDisplay
Constructor and Description |
---|
JournalArticleDisplayImpl(long companyId,
long id,
long resourcePrimKey,
long groupId,
long userId,
java.lang.String articleId,
double version,
java.lang.String title,
java.lang.String urlTitle,
java.lang.String description,
java.lang.String[] availableLocales,
java.lang.String content,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
boolean smallImage,
long smallImageId,
java.lang.String smallImageURL,
int numberOfPages,
int currentPage,
boolean paginate,
boolean cacheable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArticleDisplayImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getArticleId() |
java.lang.String[] |
getAvailableLocales() |
long |
getCompanyId() |
java.lang.String |
getContent() |
int |
getCurrentPage() |
java.lang.String |
getDDMStructureKey() |
java.lang.String |
getDDMTemplateKey() |
java.lang.String |
getDescription() |
long |
getGroupId() |
long |
getId() |
int |
getNumberOfPages() |
long |
getResourcePrimKey() |
long |
getSmallImageId() |
java.lang.String |
getSmallImageURL() |
java.lang.String |
getTitle() |
java.lang.String |
getUrlTitle() |
long |
getUserId() |
double |
getVersion() |
boolean |
isCacheable() |
boolean |
isPaginate() |
boolean |
isSmallImage() |
void |
setCacheable(boolean cacheable) |
void |
setContent(java.lang.String content) |
void |
setCurrentPage(int currentPage) |
void |
setDDMStructureKey(java.lang.String ddmStructureKey) |
void |
setDDMTemplateKey(java.lang.String ddmTemplateKey) |
void |
setNumberOfPages(int numberOfPages) |
void |
setPaginate(boolean paginate) |
void |
setSmallImage(boolean smallImage) |
void |
setSmallImageId(long smallImageId) |
void |
setSmallImageURL(java.lang.String smallImageURL) |
public JournalArticleDisplayImpl(long companyId, long id, long resourcePrimKey, long groupId, long userId, java.lang.String articleId, double version, java.lang.String title, java.lang.String urlTitle, java.lang.String description, java.lang.String[] availableLocales, java.lang.String content, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, boolean smallImage, long smallImageId, java.lang.String smallImageURL, int numberOfPages, int currentPage, boolean paginate, boolean cacheable)
public java.lang.String getArticleDisplayImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getArticleDisplayImageURL
in interface JournalArticleDisplay
public java.lang.String getArticleId()
getArticleId
in interface JournalArticleDisplay
public java.lang.String[] getAvailableLocales()
getAvailableLocales
in interface JournalArticleDisplay
public long getCompanyId()
getCompanyId
in interface JournalArticleDisplay
public java.lang.String getContent()
getContent
in interface JournalArticleDisplay
public int getCurrentPage()
getCurrentPage
in interface JournalArticleDisplay
public java.lang.String getDDMStructureKey()
getDDMStructureKey
in interface JournalArticleDisplay
public java.lang.String getDDMTemplateKey()
getDDMTemplateKey
in interface JournalArticleDisplay
public java.lang.String getDescription()
getDescription
in interface JournalArticleDisplay
public long getGroupId()
getGroupId
in interface JournalArticleDisplay
public long getId()
getId
in interface JournalArticleDisplay
public int getNumberOfPages()
getNumberOfPages
in interface JournalArticleDisplay
public long getResourcePrimKey()
getResourcePrimKey
in interface JournalArticleDisplay
public long getSmallImageId()
getSmallImageId
in interface JournalArticleDisplay
public java.lang.String getSmallImageURL()
getSmallImageURL
in interface JournalArticleDisplay
public java.lang.String getTitle()
getTitle
in interface JournalArticleDisplay
public java.lang.String getUrlTitle()
getUrlTitle
in interface JournalArticleDisplay
public long getUserId()
getUserId
in interface JournalArticleDisplay
public double getVersion()
getVersion
in interface JournalArticleDisplay
public boolean isCacheable()
isCacheable
in interface JournalArticleDisplay
public boolean isPaginate()
isPaginate
in interface JournalArticleDisplay
public boolean isSmallImage()
isSmallImage
in interface JournalArticleDisplay
public void setCacheable(boolean cacheable)
setCacheable
in interface JournalArticleDisplay
public void setContent(java.lang.String content)
setContent
in interface JournalArticleDisplay
public void setCurrentPage(int currentPage)
setCurrentPage
in interface JournalArticleDisplay
public void setDDMStructureKey(java.lang.String ddmStructureKey)
setDDMStructureKey
in interface JournalArticleDisplay
public void setDDMTemplateKey(java.lang.String ddmTemplateKey)
setDDMTemplateKey
in interface JournalArticleDisplay
public void setNumberOfPages(int numberOfPages)
setNumberOfPages
in interface JournalArticleDisplay
public void setPaginate(boolean paginate)
setPaginate
in interface JournalArticleDisplay
public void setSmallImage(boolean smallImage)
setSmallImage
in interface JournalArticleDisplay
public void setSmallImageId(long smallImageId)
setSmallImageId
in interface JournalArticleDisplay
public void setSmallImageURL(java.lang.String smallImageURL)
setSmallImageURL
in interface JournalArticleDisplay