com.liferay.portlet.wiki.asset
Class WikiPageAssetRenderer

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

public class WikiPageAssetRenderer
extends com.liferay.portlet.asset.model.BaseAssetRenderer

View Source

Author:
Julio Camarero

Field Summary
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
WikiPageAssetRenderer(com.liferay.portlet.wiki.model.WikiPage page)
           
 
Method Summary
 long getClassPK()
           
 java.lang.String getDiscussionPath()
           
 long getGroupId()
           
 java.lang.String getSummary()
           
 java.lang.String getTitle()
           
 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 getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, java.lang.String noSuchEntryRedirect)
           
 long getUserId()
           
 boolean isConvertible()
           
 boolean isPrintable()
           
 java.lang.String render(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse, java.lang.String template)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRenderer
getAvailableLocales, getUrlTitle, getViewInContextMessage, isLocalizable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageAssetRenderer

public WikiPageAssetRenderer(com.liferay.portlet.wiki.model.WikiPage page)
Method Detail

getClassPK

public long getClassPK()

getDiscussionPath

public java.lang.String getDiscussionPath()
Specified by:
getDiscussionPath in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
getDiscussionPath in class com.liferay.portlet.asset.model.BaseAssetRenderer

getGroupId

public long getGroupId()

getSummary

public java.lang.String getSummary()

getTitle

public java.lang.String getTitle()

getURLEdit

public javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                           com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLEdit in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
getURLEdit in class com.liferay.portlet.asset.model.BaseAssetRenderer

getURLExport

public javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                             com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLExport in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
getURLExport in class com.liferay.portlet.asset.model.BaseAssetRenderer

getURLViewInContext

public java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                            com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
                                            java.lang.String noSuchEntryRedirect)
Specified by:
getURLViewInContext in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
getURLViewInContext in class com.liferay.portlet.asset.model.BaseAssetRenderer

getUserId

public long getUserId()

isConvertible

public boolean isConvertible()
Specified by:
isConvertible in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
isConvertible in class com.liferay.portlet.asset.model.BaseAssetRenderer

isPrintable

public boolean isPrintable()
Specified by:
isPrintable in interface com.liferay.portlet.asset.model.AssetRenderer
Overrides:
isPrintable in class com.liferay.portlet.asset.model.BaseAssetRenderer

render

public java.lang.String render(javax.portlet.RenderRequest renderRequest,
                               javax.portlet.RenderResponse renderResponse,
                               java.lang.String template)
                        throws java.lang.Exception
Throws:
java.lang.Exception