Liferay 6.0.5

com.liferay.portlet.journal.asset
Class JournalArticleAssetRenderer

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRenderer
      extended by com.liferay.portlet.journal.asset.JournalArticleAssetRenderer
All Implemented Interfaces:
AssetRenderer

public class JournalArticleAssetRenderer
extends BaseAssetRenderer


Field Summary
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
JournalArticleAssetRenderer(JournalArticle article)
           
 
Method Summary
 String[] getAvailableLocales()
           
 long getClassPK()
           
 String getDiscussionPath()
           
 long getGroupId()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getSummary()
           
 String getTitle()
           
 PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 String getUrlTitle()
           
 String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect)
           
 long getUserId()
           
 String getUuid()
           
 String getViewInContextMessage()
           
 boolean hasEditPermission(PermissionChecker permissionChecker)
           
 boolean hasViewPermission(PermissionChecker permissionChecker)
           
 boolean isConvertible()
           
 boolean isLocalizable()
           
 boolean isPrintable()
           
 String render(RenderRequest renderRequest, RenderResponse renderResponse, String template)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRenderer
getIconPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleAssetRenderer

public JournalArticleAssetRenderer(JournalArticle article)
Method Detail

getAvailableLocales

public String[] getAvailableLocales()
Specified by:
getAvailableLocales in interface AssetRenderer
Overrides:
getAvailableLocales in class BaseAssetRenderer

getClassPK

public long getClassPK()

getDiscussionPath

public String getDiscussionPath()
Specified by:
getDiscussionPath in interface AssetRenderer
Overrides:
getDiscussionPath in class BaseAssetRenderer

getGroupId

public long getGroupId()

getSummary

public String getSummary()

getTitle

public String getTitle()

getURLEdit

public PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest,
                             LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLEdit in interface AssetRenderer
Overrides:
getURLEdit in class BaseAssetRenderer

getURLExport

public PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest,
                               LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLExport in interface AssetRenderer
Overrides:
getURLExport in class BaseAssetRenderer

getUrlTitle

public String getUrlTitle()
Specified by:
getUrlTitle in interface AssetRenderer
Overrides:
getUrlTitle in class BaseAssetRenderer

getURLViewInContext

public String getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
                                  LiferayPortletResponse liferayPortletResponse,
                                  String noSuchEntryRedirect)
                           throws Exception
Specified by:
getURLViewInContext in interface AssetRenderer
Overrides:
getURLViewInContext in class BaseAssetRenderer
Throws:
Exception

getUserId

public long getUserId()

getUuid

public String getUuid()

getViewInContextMessage

public String getViewInContextMessage()
Specified by:
getViewInContextMessage in interface AssetRenderer
Overrides:
getViewInContextMessage in class BaseAssetRenderer

hasEditPermission

public boolean hasEditPermission(PermissionChecker permissionChecker)
Specified by:
hasEditPermission in interface AssetRenderer
Overrides:
hasEditPermission in class BaseAssetRenderer

hasViewPermission

public boolean hasViewPermission(PermissionChecker permissionChecker)
Specified by:
hasViewPermission in interface AssetRenderer
Overrides:
hasViewPermission in class BaseAssetRenderer

isConvertible

public boolean isConvertible()
Specified by:
isConvertible in interface AssetRenderer
Overrides:
isConvertible in class BaseAssetRenderer

isLocalizable

public boolean isLocalizable()
Specified by:
isLocalizable in interface AssetRenderer
Overrides:
isLocalizable in class BaseAssetRenderer

isPrintable

public boolean isPrintable()
Specified by:
isPrintable in interface AssetRenderer
Overrides:
isPrintable in class BaseAssetRenderer

render

public String render(RenderRequest renderRequest,
                     RenderResponse renderResponse,
                     String template)
              throws Exception
Throws:
Exception

getIconPath

protected String getIconPath(ThemeDisplay themeDisplay)
Overrides:
getIconPath in class BaseAssetRenderer

Liferay 6.0.5