com.liferay.portlet.asset.model
Class BaseAssetRenderer

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

public abstract class BaseAssetRenderer
extends java.lang.Object
implements AssetRenderer

View Source

Author:
Jorge Ferrer

Field Summary
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
BaseAssetRenderer()
           
 
Method Summary
 java.lang.String[] getAvailableLocales()
           
 java.lang.String getDiscussionPath()
           
 javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
           
 javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
           
 java.lang.String getUrlTitle()
           
 java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, java.lang.String noSuchEntryRedirect)
           
 java.lang.String getViewInContextMessage()
           
 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, render
 

Constructor Detail

BaseAssetRenderer

public BaseAssetRenderer()
Method Detail

getAvailableLocales

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

getDiscussionPath

public java.lang.String getDiscussionPath()
Specified by:
getDiscussionPath in interface AssetRenderer

getURLEdit

public javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                           com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
                                    throws java.lang.Exception
Specified by:
getURLEdit in interface AssetRenderer
Throws:
java.lang.Exception

getURLExport

public javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                             com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
                                      throws java.lang.Exception
Specified by:
getURLExport in interface AssetRenderer
Throws:
java.lang.Exception

getUrlTitle

public java.lang.String getUrlTitle()
Specified by:
getUrlTitle in interface AssetRenderer

getURLViewInContext

public java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                            com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
                                            java.lang.String noSuchEntryRedirect)
                                     throws java.lang.Exception
Specified by:
getURLViewInContext in interface AssetRenderer
Throws:
java.lang.Exception

getViewInContextMessage

public java.lang.String getViewInContextMessage()
Specified by:
getViewInContextMessage in interface AssetRenderer

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