public class MBMessageAssetRenderer
extends com.liferay.portlet.asset.model.BaseAssetRenderer
implements com.liferay.portal.kernel.trash.TrashRenderer
| Constructor and Description |
|---|
MBMessageAssetRenderer(com.liferay.portlet.messageboards.model.MBMessage message) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName() |
long |
getClassPK() |
java.util.Date |
getDisplayDate() |
long |
getGroupId() |
protected java.lang.String |
getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getPortletId() |
java.lang.String |
getSearchSummary(java.util.Locale locale) |
java.lang.String |
getSummary(java.util.Locale locale) |
java.lang.String |
getThumbnailPath(javax.portlet.PortletRequest portletRequest) |
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 |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
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 |
hasEditPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker) |
boolean |
hasViewPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker) |
boolean |
isPrintable() |
java.lang.String |
render(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse,
java.lang.String template) |
getAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getAvailableLocales, getControlPanelPlid, getControlPanelPlid, getDiscussionPath, getIconPath, getNewName, getPreviewPath, getURLDownload, getURLEdit, getURLExport, getURLImagePreview, getUrlTitle, getURLViewInContext, getViewInContextMessage, isConvertible, isDisplayable, isLocalizable, isPreviewInContext, renderActions, setAddToPagePreferences, setAssetRendererTypepublic MBMessageAssetRenderer(com.liferay.portlet.messageboards.model.MBMessage message)
public java.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.trash.TrashRenderergetClassName in interface com.liferay.portlet.asset.model.AssetRendererpublic long getClassPK()
getClassPK in interface com.liferay.portal.kernel.trash.TrashRenderergetClassPK in interface com.liferay.portlet.asset.model.AssetRendererpublic java.util.Date getDisplayDate()
getDisplayDate in interface com.liferay.portlet.asset.model.AssetRenderergetDisplayDate in class com.liferay.portlet.asset.model.BaseAssetRendererpublic long getGroupId()
getGroupId in interface com.liferay.portlet.asset.model.AssetRendererpublic java.lang.String getPortletId()
getPortletId in interface com.liferay.portal.kernel.trash.TrashRendererpublic java.lang.String getSearchSummary(java.util.Locale locale)
getSearchSummary in interface com.liferay.portlet.asset.model.AssetRenderergetSearchSummary in class com.liferay.portlet.asset.model.BaseAssetRendererpublic java.lang.String getSummary(java.util.Locale locale)
getSummary in interface com.liferay.portal.kernel.trash.TrashRenderergetSummary in interface com.liferay.portlet.asset.model.AssetRendererpublic java.lang.String getThumbnailPath(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
getThumbnailPath in interface com.liferay.portlet.asset.model.AssetRenderergetThumbnailPath in class com.liferay.portlet.asset.model.BaseAssetRendererjava.lang.Exceptionpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.portal.kernel.trash.TrashRenderergetTitle in interface com.liferay.portlet.asset.model.AssetRendererpublic 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.portlet.asset.model.AssetRenderergetURLEdit in class com.liferay.portlet.asset.model.BaseAssetRendererjava.lang.Exceptionpublic javax.portlet.PortletURL getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
throws java.lang.Exception
getURLView in interface com.liferay.portlet.asset.model.AssetRenderergetURLView in class com.liferay.portlet.asset.model.BaseAssetRendererjava.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.portlet.asset.model.AssetRenderergetURLViewInContext in class com.liferay.portlet.asset.model.BaseAssetRendererpublic long getUserId()
getUserId in interface com.liferay.portlet.asset.model.AssetRendererpublic java.lang.String getUserName()
getUserName in interface com.liferay.portlet.asset.model.AssetRendererpublic java.lang.String getUuid()
getUuid in interface com.liferay.portlet.asset.model.AssetRendererpublic boolean hasEditPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
hasEditPermission in interface com.liferay.portlet.asset.model.AssetRendererhasEditPermission in class com.liferay.portlet.asset.model.BaseAssetRenderercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic boolean hasViewPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
hasViewPermission in interface com.liferay.portlet.asset.model.AssetRendererhasViewPermission in class com.liferay.portlet.asset.model.BaseAssetRenderercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic boolean isPrintable()
isPrintable in interface com.liferay.portlet.asset.model.AssetRendererisPrintable in class com.liferay.portlet.asset.model.BaseAssetRendererpublic java.lang.String render(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse,
java.lang.String template)
throws java.lang.Exception
render in interface com.liferay.portal.kernel.trash.TrashRendererrender in interface com.liferay.portlet.asset.model.AssetRendererjava.lang.Exceptionprotected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRenderer