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)
|
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 Set<String> |
getAllMediaGalleryMimeTypes()
|
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 String[] |
getMediaGalleryMimeTypes(PortletPreferences portletPreferences,
PortletRequest portletRequest)
|
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)
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)
getAllMediaGalleryMimeTypes
public static Set<String> getAllMediaGalleryMimeTypes()
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
getMediaGalleryMimeTypes
public static String[] getMediaGalleryMimeTypes(PortletPreferences portletPreferences,
PortletRequest portletRequest)
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)