Liferay 6.1.2-ce-ga3

com.liferay.portlet.bookmarks.asset
Class BookmarksEntryAssetRenderer

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

public class BookmarksEntryAssetRenderer
extends BaseAssetRenderer


Field Summary
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
BookmarksEntryAssetRenderer(BookmarksEntry entry)
           
 
Method Summary
 long getClassPK()
           
 long getGroupId()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getSummary(Locale locale)
           
 String getTitle(Locale locale)
           
 PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect)
           
 long getUserId()
           
 String getUserName()
           
 String getUuid()
           
 boolean hasEditPermission(PermissionChecker permissionChecker)
           
 boolean hasViewPermission(PermissionChecker permissionChecker)
           
 boolean isPrintable()
           
 String render(RenderRequest renderRequest, RenderResponse renderResponse, String template)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRenderer
getAvailableLocales, getControlPanelPlid, getControlPanelPlid, getDiscussionPath, getIconPath, getSearchSummary, getURLEdit, getURLExport, getUrlTitle, getURLView, getURLViewInContext, getViewInContextMessage, isConvertible, isDisplayable, isLocalizable, isPreviewInContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryAssetRenderer

public BookmarksEntryAssetRenderer(BookmarksEntry entry)
Method Detail

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

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)
Specified by:
hasEditPermission in interface AssetRenderer
Overrides:
hasEditPermission in class BaseAssetRenderer

hasViewPermission

public boolean hasViewPermission(PermissionChecker permissionChecker)
Specified by:
hasViewPermission in interface AssetRenderer
Overrides:
hasViewPermission in class BaseAssetRenderer

isPrintable

public boolean isPrintable()
Specified by:
isPrintable in interface AssetRenderer
Overrides:
isPrintable in class BaseAssetRenderer

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.1.2-ce-ga3