com.liferay.portlet.journal.model.impl
Class JournalArticleDisplayImpl

java.lang.Object
  extended by com.liferay.portlet.journal.model.impl.JournalArticleDisplayImpl
All Implemented Interfaces:
com.liferay.portlet.journal.model.JournalArticleDisplay, java.io.Serializable

public class JournalArticleDisplayImpl
extends java.lang.Object
implements com.liferay.portlet.journal.model.JournalArticleDisplay

View Source

Author:
Brian Wing Shun Chan, Raymond Aug�
See Also:
Serialized Form

Constructor Summary
JournalArticleDisplayImpl(long id, long resourcePrimKey, long groupId, long userId, java.lang.String articleId, double version, java.lang.String title, java.lang.String description, java.lang.String[] availableLocales, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, boolean smallImage, long smallImageId, java.lang.String smallImageURL, int numberOfPages, int currentPage, boolean paginate, boolean cacheable)
           
 
Method Summary
 java.lang.String getArticleId()
           
 java.lang.String[] getAvailableLocales()
           
 java.lang.String getContent()
           
 int getCurrentPage()
           
 java.lang.String getDescription()
           
 long getGroupId()
           
 long getId()
           
 int getNumberOfPages()
           
 long getResourcePrimKey()
           
 long getSmallImageId()
           
 java.lang.String getSmallImageURL()
           
 java.lang.String getStructureId()
           
 java.lang.String getTemplateId()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 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 setNumberOfPages(int numberOfPages)
           
 void setPaginate(boolean paginate)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageURL(java.lang.String smallImageURL)
           
 void setStructureId(java.lang.String structureId)
           
 void setTemplateId(java.lang.String templateId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleDisplayImpl

public JournalArticleDisplayImpl(long id,
                                 long resourcePrimKey,
                                 long groupId,
                                 long userId,
                                 java.lang.String articleId,
                                 double version,
                                 java.lang.String title,
                                 java.lang.String description,
                                 java.lang.String[] availableLocales,
                                 java.lang.String content,
                                 java.lang.String type,
                                 java.lang.String structureId,
                                 java.lang.String templateId,
                                 boolean smallImage,
                                 long smallImageId,
                                 java.lang.String smallImageURL,
                                 int numberOfPages,
                                 int currentPage,
                                 boolean paginate,
                                 boolean cacheable)
Method Detail

getId

public long getId()
Specified by:
getId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getResourcePrimKey

public long getResourcePrimKey()
Specified by:
getResourcePrimKey in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getUserId

public long getUserId()
Specified by:
getUserId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getArticleId

public java.lang.String getArticleId()
Specified by:
getArticleId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getVersion

public double getVersion()
Specified by:
getVersion in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getAvailableLocales

public java.lang.String[] getAvailableLocales()
Specified by:
getAvailableLocales in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getContent

public java.lang.String getContent()
Specified by:
getContent in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setContent

public void setContent(java.lang.String content)
Specified by:
setContent in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getType

public java.lang.String getType()
Specified by:
getType in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getStructureId

public java.lang.String getStructureId()
Specified by:
getStructureId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setStructureId

public void setStructureId(java.lang.String structureId)
Specified by:
setStructureId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getTemplateId

public java.lang.String getTemplateId()
Specified by:
getTemplateId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setTemplateId

public void setTemplateId(java.lang.String templateId)
Specified by:
setTemplateId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

isSmallImage

public boolean isSmallImage()
Specified by:
isSmallImage in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setSmallImage

public void setSmallImage(boolean smallImage)
Specified by:
setSmallImage in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getSmallImageId

public long getSmallImageId()
Specified by:
getSmallImageId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setSmallImageId

public void setSmallImageId(long smallImageId)
Specified by:
setSmallImageId in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getSmallImageURL

public java.lang.String getSmallImageURL()
Specified by:
getSmallImageURL in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setSmallImageURL

public void setSmallImageURL(java.lang.String smallImageURL)
Specified by:
setSmallImageURL in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getNumberOfPages

public int getNumberOfPages()
Specified by:
getNumberOfPages in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setNumberOfPages

public void setNumberOfPages(int numberOfPages)
Specified by:
setNumberOfPages in interface com.liferay.portlet.journal.model.JournalArticleDisplay

getCurrentPage

public int getCurrentPage()
Specified by:
getCurrentPage in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setCurrentPage

public void setCurrentPage(int currentPage)
Specified by:
setCurrentPage in interface com.liferay.portlet.journal.model.JournalArticleDisplay

isPaginate

public boolean isPaginate()
Specified by:
isPaginate in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setPaginate

public void setPaginate(boolean paginate)
Specified by:
setPaginate in interface com.liferay.portlet.journal.model.JournalArticleDisplay

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface com.liferay.portlet.journal.model.JournalArticleDisplay

setCacheable

public void setCacheable(boolean cacheable)
Specified by:
setCacheable in interface com.liferay.portlet.journal.model.JournalArticleDisplay