public class WikiPageAssetRenderer
extends com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.wiki.model.WikiPage>
implements com.liferay.portal.kernel.trash.TrashRenderer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
WikiPageAssetRenderer(com.liferay.wiki.model.WikiPage page,
WikiEngineRenderer wikiEngineRenderer) |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.wiki.model.WikiPage |
getAssetObject() |
java.lang.String |
getClassName() |
long |
getClassPK() |
static long |
getClassPK(com.liferay.wiki.model.WikiPage page) |
java.lang.String |
getDiscussionPath() |
java.util.Date |
getDisplayDate()
Deprecated.
As of 7.0.0, with no direct replacement
|
long |
getGroupId() |
java.lang.String |
getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template) |
java.lang.String |
getPortletId() |
int |
getStatus() |
java.lang.String |
getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
java.lang.String |
getTitle(java.util.Locale locale) |
java.lang.String |
getType() |
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 |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
javax.portlet.PortletURL |
getURLViewDiffs(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() |
java.lang.String |
getUserName() |
java.lang.String |
getUuid() |
boolean |
hasDeletePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String template) |
boolean |
isConvertible() |
boolean |
isPrintable() |
getResourceBundleLoader, getServletContext, setServletContextgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getControlPanelPlid, getControlPanelPlid, getDDMFormValuesReader, getIconCssClass, getIconPath, getLocale, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getThumbnailPath, getURLDownload, getURLEdit, getURLImagePreview, getUrlTitle, getURLViewInContext, getViewInContextMessage, isCommentable, isDisplayable, isLocalizable, isPreviewInContext, isRatable, renderActions, setAddToPagePreferences, setAssetRendererTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNewName, getSummary, renderActionsgetIconCssClass, getIconPathgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getDDMFormValuesReader, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getThumbnailPath, getURLDownload, getURLEdit, getURLImagePreview, getUrlTitle, getViewInContextMessage, isCommentable, isDisplayable, isLocalizable, isPreviewInContext, isRatable, setAddToPagePreferencespublic static final java.lang.String TYPE
public WikiPageAssetRenderer(com.liferay.wiki.model.WikiPage page,
WikiEngineRenderer wikiEngineRenderer)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static long getClassPK(com.liferay.wiki.model.WikiPage page)
public com.liferay.wiki.model.WikiPage getAssetObject()
getAssetObject in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getClassName()
getClassName in interface com.liferay.asset.kernel.model.Rendererpublic long getClassPK()
getClassPK in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getDiscussionPath()
getDiscussionPath in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getDiscussionPath in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>@Deprecated public java.util.Date getDisplayDate()
getDisplayDate in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getDisplayDate in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public long getGroupId()
getGroupId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template)
getJspPath in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getPortletId()
getPortletId in interface com.liferay.portal.kernel.trash.TrashRendererpublic int getStatus()
getStatus in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getStatus in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
getSummary in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getType()
getType in interface com.liferay.portal.kernel.trash.TrashRendererpublic javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws java.lang.Exception
getURLEdit in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getURLEdit in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws java.lang.Exception
getURLExport in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getURLExport in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic java.lang.String getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
throws java.lang.Exception
getURLView in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getURLView in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic javax.portlet.PortletURL getURLViewDiffs(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws java.lang.Exception
getURLViewDiffs in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getURLViewDiffs in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
java.lang.String noSuchEntryRedirect)
getURLViewInContext in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>getURLViewInContext in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public long getUserId()
getUserId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getUserName()
getUserName in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>public java.lang.String getUuid()
getUuid in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>public boolean hasDeletePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
public boolean hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
hasEditPermission in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>hasEditPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public boolean hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
hasViewPermission in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>hasViewPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public boolean include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String template)
throws java.lang.Exception
include in interface com.liferay.asset.kernel.model.Rendererinclude in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic boolean isConvertible()
isConvertible in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>isConvertible in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>public boolean isPrintable()
isPrintable in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.wiki.model.WikiPage>isPrintable in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.wiki.model.WikiPage>