@ProviderType
public interface DL
Modifier and Type | Field and Description |
---|---|
static String |
MANUAL_CHECK_IN_REQUIRED |
static String |
MANUAL_CHECK_IN_REQUIRED_PATH |
static String |
OFFICE_EXTENSION |
static String |
OFFICE_EXTENSION_PATH |
static String |
WEBDAV_CHECK_IN_MODE |
Modifier and Type | Method and Description |
---|---|
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 |
getDLFileEntryControlPanelLink(PortletRequest portletRequest,
long fileEntryId)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getFileEntryControlPanelLink(
PortletRequest, long) |
String |
getDLFolderControlPanelLink(PortletRequest portletRequest,
long folderId)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getFolderControlPanelLink(
PortletRequest, long) |
String |
getDownloadURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getDownloadURL(
FileEntry, FileVersion, ThemeDisplay, String) |
String |
getDownloadURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendVersion,
boolean absoluteURL)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getDownloadURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean) |
Map<String,String> |
getEmailDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName) |
Map<String,String> |
getEmailFromDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName) |
List<FileEntry> |
getFileEntries(Hits hits) |
String |
getFileEntryImage(FileEntry fileEntry,
ThemeDisplay themeDisplay) |
String |
getFileIcon(String extension) |
String |
getFileIconCssClass(String extension) |
String |
getGenericName(String extension) |
String |
getImagePreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay) |
String |
getImagePreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendVersion,
boolean absoluteURL)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean) |
String |
getImagePreviewURL(FileEntry fileEntry,
ThemeDisplay themeDisplay)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay) |
String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getPreviewURL(
FileEntry, FileVersion, ThemeDisplay, String) |
String |
getPreviewURL(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay,
String queryString,
boolean appendVersion,
boolean absoluteURL)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getPreviewURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean) |
<T> OrderByComparator<T> |
getRepositoryModelOrderByComparator(String orderByCol,
String orderByType) |
<T> OrderByComparator<T> |
getRepositoryModelOrderByComparator(String orderByCol,
String orderByType,
boolean orderByModel) |
String |
getSanitizedFileName(String title,
String extension) |
String |
getTempFileId(long id,
String version) |
String |
getTempFileId(long id,
String version,
String languageId) |
String |
getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getThumbnailSrc(
FileEntry, FileVersion, ThemeDisplay) |
String |
getThumbnailSrc(FileEntry fileEntry,
ThemeDisplay themeDisplay)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getThumbnailSrc(
FileEntry, ThemeDisplay) |
String |
getThumbnailStyle() |
String |
getThumbnailStyle(boolean max,
int margin) |
String |
getThumbnailStyle(boolean max,
int margin,
int height,
int width) |
String |
getTitleWithExtension(FileEntry fileEntry) |
String |
getTitleWithExtension(String title,
String extension) |
String |
getUniqueFileName(long groupId,
long folderId,
String fileName) |
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry) |
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry, boolean) |
String |
getWebDavURL(ThemeDisplay themeDisplay,
Folder folder,
FileEntry fileEntry,
boolean manualCheckInRequired,
boolean officeExtensionRequired)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry, boolean, boolean) |
boolean |
hasWorkflowDefinitionLink(long companyId,
long groupId,
long folderId,
long fileEntryTypeId) |
boolean |
isAutoGeneratedDLFileEntryTypeDDMStructureKey(String ddmStructureKey) |
boolean |
isOfficeExtension(String extension) |
boolean |
isValidVersion(String version) |
void |
startWorkflowInstance(long userId,
DLFileVersion dlFileVersion,
String syncEventType,
ServiceContext serviceContext) |
static final String MANUAL_CHECK_IN_REQUIRED
static final String MANUAL_CHECK_IN_REQUIRED_PATH
static final String OFFICE_EXTENSION
static final String OFFICE_EXTENSION_PATH
static final String WEBDAV_CHECK_IN_MODE
int compareVersions(String version1, String version2)
String getAbsolutePath(PortletRequest portletRequest, long folderId) throws PortalException
PortalException
Set<String> getAllMediaGalleryMimeTypes()
String getDDMStructureKey(DLFileEntryType dlFileEntryType)
String getDDMStructureKey(String fileEntryTypeUuid)
String getDeprecatedDDMStructureKey(DLFileEntryType dlFileEntryType)
String getDeprecatedDDMStructureKey(long fileEntryTypeId)
String getDividedPath(long id)
@Deprecated String getDLFileEntryControlPanelLink(PortletRequest portletRequest, long fileEntryId) throws PortalException
com.liferay.document.library.util.DLURLHelper#getFileEntryControlPanelLink(
PortletRequest, long)
PortalException
@Deprecated String getDLFolderControlPanelLink(PortletRequest portletRequest, long folderId) throws PortalException
com.liferay.document.library.util.DLURLHelper#getFolderControlPanelLink(
PortletRequest, long)
PortalException
@Deprecated String getDownloadURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString)
com.liferay.document.library.util.DLURLHelper#getDownloadURL(
FileEntry, FileVersion, ThemeDisplay, String)
@Deprecated String getDownloadURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL)
com.liferay.document.library.util.DLURLHelper#getDownloadURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean)
Map<String,String> getEmailDefinitionTerms(PortletRequest portletRequest, String emailFromAddress, String emailFromName)
Map<String,String> getEmailFromDefinitionTerms(PortletRequest portletRequest, String emailFromAddress, String emailFromName)
String getFileEntryImage(FileEntry fileEntry, ThemeDisplay themeDisplay)
String getFileIcon(String extension)
String getFileIconCssClass(String extension)
String getGenericName(String extension)
@Deprecated String getImagePreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getImagePreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL) throws PortalException
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean)
PortalException
@Deprecated String getImagePreviewURL(FileEntry fileEntry, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString)
com.liferay.document.library.util.DLURLHelper#getPreviewURL(
FileEntry, FileVersion, ThemeDisplay, String)
@Deprecated String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL)
com.liferay.document.library.util.DLURLHelper#getPreviewURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean)
<T> OrderByComparator<T> getRepositoryModelOrderByComparator(String orderByCol, String orderByType)
<T> OrderByComparator<T> getRepositoryModelOrderByComparator(String orderByCol, String orderByType, boolean orderByModel)
String getSanitizedFileName(String title, String extension)
String getTempFileId(long id, String version)
String getTempFileId(long id, String version, String languageId)
@Deprecated String getThumbnailSrc(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#getThumbnailSrc(
FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getThumbnailSrc(FileEntry fileEntry, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#getThumbnailSrc(
FileEntry, ThemeDisplay)
Exception
String getThumbnailStyle()
String getThumbnailStyle(boolean max, int margin)
String getThumbnailStyle(boolean max, int margin, int height, int width)
String getTitleWithExtension(FileEntry fileEntry)
String getTitleWithExtension(String title, String extension)
String getUniqueFileName(long groupId, long folderId, String fileName)
@Deprecated String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry) throws PortalException
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry)
PortalException
@Deprecated String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry, boolean manualCheckInRequired) throws PortalException
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry, boolean)
PortalException
@Deprecated String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry, boolean manualCheckInRequired, boolean officeExtensionRequired) throws PortalException
com.liferay.document.library.util.DLURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry, boolean, boolean)
PortalException
boolean hasWorkflowDefinitionLink(long companyId, long groupId, long folderId, long fileEntryTypeId)
boolean isAutoGeneratedDLFileEntryTypeDDMStructureKey(String ddmStructureKey)
boolean isOfficeExtension(String extension)
boolean isValidVersion(String version)
void startWorkflowInstance(long userId, DLFileVersion dlFileVersion, String syncEventType, ServiceContext serviceContext) throws PortalException
PortalException