com.liferay.portlet.documentlibrary.asset
Class DLFolderAssetRenderer
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRenderer
com.liferay.portlet.documentlibrary.asset.DLFolderAssetRenderer
- All Implemented Interfaces:
- TrashRenderer, AssetRenderer
public class DLFolderAssetRenderer
- 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, hasEditPermission, isConvertible, isLocalizable, isPreviewInContext, isPrintable, renderActions, setAddToPagePreferences, setAssetRendererType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
DLFolderAssetRenderer
public DLFolderAssetRenderer(Folder folder)
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
hasViewPermission
public boolean hasViewPermission(PermissionChecker permissionChecker)
throws PortalException,
SystemException
- Specified by:
hasViewPermission
in interface AssetRenderer
- Overrides:
hasViewPermission
in class BaseAssetRenderer
- Throws:
PortalException
SystemException
isDisplayable
public boolean isDisplayable()
- Specified by:
isDisplayable
in interface AssetRenderer
- Overrides:
isDisplayable
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