Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.asset
Class DLFolderAssetRenderer

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRenderer
      extended by com.liferay.portlet.documentlibrary.asset.DLFolderAssetRenderer
All Implemented Interfaces:
TrashRenderer, AssetRenderer

public class DLFolderAssetRenderer
extends BaseAssetRenderer
implements TrashRenderer


Field Summary
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRenderer
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT
 
Constructor Summary
DLFolderAssetRenderer(Folder folder)
           
 
Method Summary
 String getClassName()
           
 long getClassPK()
           
 Date getDisplayDate()
           
 long getGroupId()
           
 String getIconPath(ThemeDisplay themeDisplay)
           
 String getPortletId()
           
 String getSummary(Locale locale)
           
 String getThumbnailPath(PortletRequest portletRequest)
           
 String getTitle(Locale locale)
           
 String getType()
           
 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 hasViewPermission(PermissionChecker permissionChecker)
           
 boolean isDisplayable()
           
 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, 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
 
Methods inherited from interface com.liferay.portal.kernel.trash.TrashRenderer
getIconPath, getNewName, renderActions
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

DLFolderAssetRenderer

public DLFolderAssetRenderer(Folder folder)
Method Detail

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

Liferay 6.2-ce-ga5