public class DLURLHelperUtil
extends java.lang.Object
| Constructor and Description |
|---|
DLURLHelperUtil() |
| Modifier and Type | Method and Description |
|---|---|
static DLURLHelper |
getDLURLHelper() |
static java.lang.String |
getDownloadURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
java.lang.String queryString) |
static java.lang.String |
getDownloadURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
java.lang.String queryString,
boolean appendVersion,
boolean absoluteURL) |
static java.lang.String |
getFileEntryControlPanelLink(javax.portlet.PortletRequest portletRequest,
long fileEntryId) |
static java.lang.String |
getFolderControlPanelLink(javax.portlet.PortletRequest portletRequest,
long folderId) |
static java.lang.String |
getImagePreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay) |
static java.lang.String |
getImagePreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
java.lang.String queryString,
boolean appendVersion,
boolean absoluteURL) |
static java.lang.String |
getImagePreviewURL(FileEntry fileEntry,
ThemeDisplay themeDisplay) |
static java.lang.String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
java.lang.String queryString) |
static java.lang.String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
java.lang.String queryString,
boolean appendVersion,
boolean absoluteURL) |
static java.lang.String |
getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay) |
static java.lang.String |
getThumbnailSrc(FileEntry fileEntry,
ThemeDisplay themeDisplay) |
static java.lang.String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry) |
static java.lang.String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired) |
static java.lang.String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired,
boolean officeExtensionRequired) |
static void |
setDLURLHelper(DLURLHelper dlURLHelper)
Deprecated.
As of Athanasius (7.3.x)
|
public static DLURLHelper getDLURLHelper()
public static java.lang.String getDownloadURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, java.lang.String queryString)
public static java.lang.String getDownloadURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, java.lang.String queryString, boolean appendVersion, boolean absoluteURL)
public static java.lang.String getFileEntryControlPanelLink(javax.portlet.PortletRequest portletRequest,
long fileEntryId)
throws PortalException
PortalExceptionpublic static java.lang.String getFolderControlPanelLink(javax.portlet.PortletRequest portletRequest,
long folderId)
throws PortalException
PortalExceptionpublic static java.lang.String getImagePreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getImagePreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, java.lang.String queryString, boolean appendVersion, boolean absoluteURL) throws PortalException
PortalExceptionpublic static java.lang.String getImagePreviewURL(FileEntry fileEntry, ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, java.lang.String queryString)
public static java.lang.String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, java.lang.String queryString, boolean appendVersion, boolean absoluteURL)
public static java.lang.String getThumbnailSrc(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getThumbnailSrc(FileEntry fileEntry, ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry) throws PortalException
PortalExceptionpublic static java.lang.String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry, boolean manualCheckInRequired) throws PortalException
PortalExceptionpublic static java.lang.String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry, boolean manualCheckInRequired, boolean officeExtensionRequired) throws PortalException
PortalException@Deprecated public static void setDLURLHelper(DLURLHelper dlURLHelper)