Liferay 6.0.5

com.liferay.portlet.documentlibrary.util
Class DLUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.DLUtil

public class DLUtil
extends Object


Method Summary
static void addPortletBreadcrumbEntries(DLFileEntry fileEntry, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static void addPortletBreadcrumbEntries(DLFileShortcut fileShortcut, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static void addPortletBreadcrumbEntries(DLFolder folder, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static void addPortletBreadcrumbEntries(long folderId, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static int compareVersions(String version1, String version2)
           
static String getFileIcon(String extension)
           
static String getGenericName(String extension)
           
static String getLockId(long groupId, long folderId, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(DLFileEntry fileEntry,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(DLFileShortcut fileShortcut,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(long folderId,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(DLFolder folder,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

compareVersions

public static int compareVersions(String version1,
                                  String version2)

getFileIcon

public static String getFileIcon(String extension)

getGenericName

public static String getGenericName(String extension)

getLockId

public static String getLockId(long groupId,
                               long folderId,
                               String name)

Liferay 6.0.5