com.liferay.portlet.documentlibrary.util
Interface DL
- All Known Implementing Classes:
- DLImpl
public interface DL
|
Method Summary |
void |
addPortletBreadcrumbEntries(DLFileShortcut dlFileShortcut,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
|
void |
addPortletBreadcrumbEntries(FileEntry fileEntry,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
|
void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse)
|
void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL)
|
void |
addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
|
void |
addPortletBreadcrumbEntries(long folderId,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
|
int |
compareVersions(String version1,
String version2)
|
String |
getAbsolutePath(PortletRequest portletRequest,
long folderId)
|
Set<String> |
getAllMediaGalleryMimeTypes()
|
String |
getDDMStructureKey(DLFileEntryType dlFileEntryType)
|
String |
getDDMStructureKey(String fileEntryTypeUuid)
|
String |
getDeprecatedDDMStructureKey(DLFileEntryType dlFileEntryType)
|
String |
getDeprecatedDDMStructureKey(long fileEntryTypeId)
|
String |
getDividedPath(long id)
|
String |
getDLControlPanelLink(PortletRequest portletRequest,
long folderId)
|
String |
getFileEntryImage(FileEntry fileEntry,
ThemeDisplay themeDisplay)
|
String |
getFileIcon(String extension)
|
String |
getGenericName(String extension)
|
String[] |
getMediaGalleryMimeTypes(PortletPreferences portletPreferences,
PortletRequest portletRequest)
|
String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString)
|
String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendToken)
Deprecated. getPreviewURL(FileEntry, FileVersion, ThemeDisplay,
String, boolean, boolean) |
String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendVersion,
boolean absoluteURL)
|
OrderByComparator |
getRepositoryModelOrderByComparator(String orderByCol,
String orderByType)
|
String |
getTempFileId(long id,
String version)
|
String |
getTempFileId(long id,
String version,
String languageId)
|
String |
getThumbnailSrc(FileEntry fileEntry,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
|
String |
getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
|
String |
getThumbnailStyle()
|
String |
getThumbnailStyle(boolean max,
int margin)
|
String |
getTitleWithExtension(FileEntry fileEntry)
|
String |
getTitleWithExtension(String title,
String extension)
|
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry)
|
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired)
|
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired,
boolean officeExtensionRequired)
|
boolean |
hasWorkflowDefinitionLink(long companyId,
long groupId,
long folderId,
long fileEntryTypeId)
|
boolean |
isAutoGeneratedDLFileEntryTypeDDMStructureKey(String ddmStructureKey)
|
boolean |
isOfficeExtension(String extension)
|
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(DLFileShortcut dlFileShortcut,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(FileEntry fileEntry,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(Folder folder,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntries
void addPortletBreadcrumbEntries(long folderId,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
throws Exception
- Throws:
Exception
compareVersions
int compareVersions(String version1,
String version2)
getAbsolutePath
String getAbsolutePath(PortletRequest portletRequest,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAllMediaGalleryMimeTypes
Set<String> getAllMediaGalleryMimeTypes()
getDDMStructureKey
String getDDMStructureKey(DLFileEntryType dlFileEntryType)
getDDMStructureKey
String getDDMStructureKey(String fileEntryTypeUuid)
getDeprecatedDDMStructureKey
String getDeprecatedDDMStructureKey(DLFileEntryType dlFileEntryType)
getDeprecatedDDMStructureKey
String getDeprecatedDDMStructureKey(long fileEntryTypeId)
getDividedPath
String getDividedPath(long id)
getDLControlPanelLink
String getDLControlPanelLink(PortletRequest portletRequest,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileEntryImage
String getFileEntryImage(FileEntry fileEntry,
ThemeDisplay themeDisplay)
getFileIcon
String getFileIcon(String extension)
getGenericName
String getGenericName(String extension)
getMediaGalleryMimeTypes
String[] getMediaGalleryMimeTypes(PortletPreferences portletPreferences,
PortletRequest portletRequest)
getPreviewURL
String getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString)
getPreviewURL
String getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendToken)
- Deprecated.
getPreviewURL(FileEntry, FileVersion, ThemeDisplay,
String, boolean, boolean)
getPreviewURL
String getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendVersion,
boolean absoluteURL)
getRepositoryModelOrderByComparator
OrderByComparator getRepositoryModelOrderByComparator(String orderByCol,
String orderByType)
getTempFileId
String getTempFileId(long id,
String version)
getTempFileId
String getTempFileId(long id,
String version,
String languageId)
getThumbnailSrc
String getThumbnailSrc(FileEntry fileEntry,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception
getThumbnailSrc
String getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception
getThumbnailStyle
String getThumbnailStyle()
throws Exception
- Throws:
Exception
getThumbnailStyle
String getThumbnailStyle(boolean max,
int margin)
throws Exception
- Throws:
Exception
getTitleWithExtension
String getTitleWithExtension(FileEntry fileEntry)
getTitleWithExtension
String getTitleWithExtension(String title,
String extension)
getWebDavURL
String getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebDavURL
String getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebDavURL
String getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired,
boolean officeExtensionRequired)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasWorkflowDefinitionLink
boolean hasWorkflowDefinitionLink(long companyId,
long groupId,
long folderId,
long fileEntryTypeId)
throws Exception
- Throws:
Exception
isAutoGeneratedDLFileEntryTypeDDMStructureKey
boolean isAutoGeneratedDLFileEntryTypeDDMStructureKey(String ddmStructureKey)
isOfficeExtension
boolean isOfficeExtension(String extension)