Liferay 6.2-ce-ga5

com.liferay.portlet.messageboards.asset
Class MBCategoryAssetRenderer

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

public class MBCategoryAssetRenderer
extends BaseAssetRenderer


Field Summary
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
MBCategoryAssetRenderer(MBCategory category)
           
 
Method Summary
 String getClassName()
           
 long getClassPK()
           
 long getGroupId()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getSummary(Locale locale)
           
 String getTitle(Locale locale)
           
 PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState)
           
 String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect)
           
 long getUserId()
           
 String getUserName()
           
 String getUuid()
           
 boolean hasEditPermission(PermissionChecker permissionChecker)
           
 boolean hasViewPermission(PermissionChecker permissionChecker)
           
 String render(RenderRequest renderRequest, RenderResponse renderResponse, String template)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRenderer
getAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getAvailableLocales, getControlPanelPlid, getControlPanelPlid, getDiscussionPath, getDisplayDate, getIconPath, getNewName, getPreviewPath, getSearchSummary, getThumbnailPath, getURLDownload, getURLEdit, getURLExport, getURLImagePreview, getUrlTitle, getURLViewInContext, getViewInContextMessage, isConvertible, isDisplayable, isLocalizable, isPreviewInContext, isPrintable, renderActions, setAddToPagePreferences, setAssetRendererType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBCategoryAssetRenderer

public MBCategoryAssetRenderer(MBCategory category)
Method Detail

getClassName

public String getClassName()

getClassPK

public long getClassPK()

getGroupId

public long getGroupId()

getSummary

public String getSummary(Locale locale)

getTitle

public String getTitle(Locale locale)

getURLEdit

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

getURLView

public PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
                             WindowState windowState)
                      throws Exception
Specified by:
getURLView in interface AssetRenderer
Overrides:
getURLView in class BaseAssetRenderer
Throws:
Exception

getURLViewInContext

public String getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
                                  LiferayPortletResponse liferayPortletResponse,
                                  String noSuchEntryRedirect)
Specified by:
getURLViewInContext in interface AssetRenderer
Overrides:
getURLViewInContext in class BaseAssetRenderer

getUserId

public long getUserId()

getUserName

public String getUserName()

getUuid

public String getUuid()

hasEditPermission

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

hasViewPermission

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

render

public String render(RenderRequest renderRequest,
                     RenderResponse renderResponse,
                     String template)
              throws Exception
Throws:
Exception

getIconPath

protected String getIconPath(ThemeDisplay themeDisplay)
Overrides:
getIconPath in class BaseAssetRenderer

Liferay 6.2-ce-ga5