Liferay 6.0.5

com.liferay.portlet.asset.model
Class BaseAssetRenderer

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRenderer
All Implemented Interfaces:
AssetRenderer
Direct Known Subclasses:
BlogsEntryAssetRenderer, BookmarksEntryAssetRenderer, CalEventAssetRenderer, DLFileEntryAssetRenderer, IGImageAssetRenderer, JournalArticleAssetRenderer, MBMessageAssetRenderer, WikiPageAssetRenderer

public abstract class BaseAssetRenderer
extends Object
implements AssetRenderer


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

Constructor Detail

BaseAssetRenderer

public BaseAssetRenderer()
Method Detail

getAvailableLocales

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

getDiscussionPath

public String getDiscussionPath()
Specified by:
getDiscussionPath in interface AssetRenderer

getIconPath

public String getIconPath(PortletRequest portletRequest)
Specified by:
getIconPath in interface AssetRenderer

getURLEdit

public PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest,
                             LiferayPortletResponse liferayPortletResponse)
                      throws Exception
Specified by:
getURLEdit in interface AssetRenderer
Throws:
Exception

getURLExport

public PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest,
                               LiferayPortletResponse liferayPortletResponse)
                        throws Exception
Specified by:
getURLExport in interface AssetRenderer
Throws:
Exception

getUrlTitle

public String getUrlTitle()
Specified by:
getUrlTitle in interface AssetRenderer

getURLViewInContext

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

getViewInContextMessage

public String getViewInContextMessage()
Specified by:
getViewInContextMessage in interface AssetRenderer

hasEditPermission

public boolean hasEditPermission(PermissionChecker permissionChecker)
                          throws PortalException,
                                 SystemException
Specified by:
hasEditPermission in interface AssetRenderer
Throws:
PortalException
SystemException

hasViewPermission

public boolean hasViewPermission(PermissionChecker permissionChecker)
                          throws PortalException,
                                 SystemException
Specified by:
hasViewPermission in interface AssetRenderer
Throws:
PortalException
SystemException

isConvertible

public boolean isConvertible()
Specified by:
isConvertible in interface AssetRenderer

isLocalizable

public boolean isLocalizable()
Specified by:
isLocalizable in interface AssetRenderer

isPrintable

public boolean isPrintable()
Specified by:
isPrintable in interface AssetRenderer

getIconPath

protected String getIconPath(ThemeDisplay themeDisplay)

Liferay 6.0.5