com.liferay.portlet.documentlibrary.util
Class DLUtil
java.lang.Object
com.liferay.portlet.documentlibrary.util.DLUtil
public class DLUtil
- extends Object
|
Method Summary |
static void |
addPortletBreadcrumbEntries(DLFileShortcut dlFileShortcut,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
|
static void |
addPortletBreadcrumbEntries(FileEntry fileEntry,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
|
static void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
boolean showGlobally)
|
static void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL,
boolean showGlobally)
|
static void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
|
static void |
addPortletBreadcrumbEntries(long folderId,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
|
static int |
compareVersions(String version1,
String version2)
|
static String |
getDividedPath(long id)
|
static String |
getFileIcon(String extension)
|
static String |
getGenericName(String extension)
|
static long[] |
getGroupIds(long groupId)
|
static long[] |
getGroupIds(ThemeDisplay themeDisplay)
|
static OrderByComparator |
getRepositoryModelOrderByComparator(String orderByCol,
String orderByType)
|
static String |
getTempFileId(long id,
String version)
|
static String |
getTempFileId(long id,
String version,
String languageId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(DLFileShortcut dlFileShortcut,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(FileEntry fileEntry,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
boolean showGlobally)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL,
boolean showGlobally)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(long folderId,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse,
boolean showGlobally)
throws Exception
- Throws:
Exception
compareVersions
public static int compareVersions(String version1,
String version2)
getDividedPath
public static String getDividedPath(long id)
getFileIcon
public static String getFileIcon(String extension)
getGenericName
public static String getGenericName(String extension)
getGroupIds
public static long[] getGroupIds(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupIds
public static long[] getGroupIds(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRepositoryModelOrderByComparator
public static OrderByComparator getRepositoryModelOrderByComparator(String orderByCol,
String orderByType)
getTempFileId
public static String getTempFileId(long id,
String version)
getTempFileId
public static String getTempFileId(long id,
String version,
String languageId)