com.liferay.portlet.bookmarks.asset
Class BookmarksEntryAssetRenderer
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRenderer
com.liferay.portlet.bookmarks.asset.BookmarksEntryAssetRenderer
- All Implemented Interfaces:
- TrashRenderer, AssetRenderer
public class BookmarksEntryAssetRenderer
- extends BaseAssetRenderer
- implements TrashRenderer
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRenderer |
getAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getAvailableLocales, getControlPanelPlid, getControlPanelPlid, getDiscussionPath, getIconPath, getNewName, getPreviewPath, getSearchSummary, getURLDownload, getURLEdit, getURLExport, getURLImagePreview, getUrlTitle, getURLViewInContext, getViewInContextMessage, isConvertible, isDisplayable, isLocalizable, isPreviewInContext, renderActions, setAddToPagePreferences, setAssetRendererType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarksEntryAssetRenderer
public BookmarksEntryAssetRenderer(BookmarksEntry entry)
getClassName
public String getClassName()
- Specified by:
getClassName
in interface TrashRenderer
- Specified by:
getClassName
in interface AssetRenderer
getClassPK
public long getClassPK()
- Specified by:
getClassPK
in interface TrashRenderer
- Specified by:
getClassPK
in interface AssetRenderer
getDisplayDate
public Date getDisplayDate()
- Specified by:
getDisplayDate
in interface AssetRenderer
- Overrides:
getDisplayDate
in class BaseAssetRenderer
getGroupId
public long getGroupId()
- Specified by:
getGroupId
in interface AssetRenderer
getIconPath
public String getIconPath(ThemeDisplay themeDisplay)
- Overrides:
getIconPath
in class BaseAssetRenderer
getPortletId
public String getPortletId()
- Specified by:
getPortletId
in interface TrashRenderer
getSummary
public String getSummary(Locale locale)
- Specified by:
getSummary
in interface TrashRenderer
- Specified by:
getSummary
in interface AssetRenderer
getThumbnailPath
public String getThumbnailPath(PortletRequest portletRequest)
throws Exception
- Specified by:
getThumbnailPath
in interface AssetRenderer
- Overrides:
getThumbnailPath
in class BaseAssetRenderer
- Throws:
Exception
getTitle
public String getTitle(Locale locale)
- Specified by:
getTitle
in interface TrashRenderer
- Specified by:
getTitle
in interface AssetRenderer
getType
public String getType()
- Specified by:
getType
in interface TrashRenderer
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()
- Specified by:
getUserId
in interface AssetRenderer
getUserName
public String getUserName()
- Specified by:
getUserName
in interface AssetRenderer
getUuid
public String getUuid()
- Specified by:
getUuid
in interface AssetRenderer
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
- Specified by:
render
in interface TrashRenderer
- Specified by:
render
in interface AssetRenderer
- Throws:
Exception