@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#FileEntryURLHelper#getFileEntryControlPanelLink(
PortletRequest, long) |
String |
getDLFolderControlPanelLink(PortletRequest portletRequest,
long folderId)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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) |
Set<Long> |
getFileEntryTypeSubscriptionClassPKs(long userId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
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#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getThumbnailSrc(FileEntry, ThemeDisplay) |
String |
getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
DLFileShortcut dlFileShortcut,
ThemeDisplay themeDisplay)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getThumbnailSrc(FileEntry, FileVersion, ThemeDisplay) |
String |
getThumbnailSrc(FileEntry fileEntry,
FileVersion fileVersion,
ThemeDisplay themeDisplay)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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#FileEntryURLHelper#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 |
isSubscribedToFileEntryType(long companyId,
long groupId,
long userId,
long fileEntryTypeId)
Deprecated.
As of Judson (7.1.x), replaced by
DLSubscriptionUtil#isSubscribedToFileEntryType(long, long,
long, long) |
boolean |
isSubscribedToFolder(long companyId,
long groupId,
long userId,
long folderId)
Deprecated.
As of Judson (7.1.x), replaced by
DLSubscriptionUtil#isSubscribedToFolder(long, long, long,
long) |
boolean |
isSubscribedToFolder(long companyId,
long groupId,
long userId,
long folderId,
boolean recursive)
Deprecated.
As of Judson (7.1.x), replaced by
DLSubscriptionUtil#isSubscribedToFolder(long, long, long,
long, boolean) |
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#FileEntryURLHelper#getFileEntryControlPanelLink(
PortletRequest, long)
PortalException
@Deprecated String getDLFolderControlPanelLink(PortletRequest portletRequest, long folderId) throws PortalException
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#getFolderControlPanelLink(
PortletRequest, long)
PortalException
@Deprecated String getDownloadURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString)
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#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)
@Deprecated Set<Long> getFileEntryTypeSubscriptionClassPKs(long userId)
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#FileEntryURLHelper#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#FileEntryURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay, String, boolean,
boolean)
PortalException
@Deprecated String getImagePreviewURL(FileEntry fileEntry, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#getImagePreviewURL(
FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString)
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#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, DLFileShortcut dlFileShortcut, ThemeDisplay themeDisplay) throws Exception
getThumbnailSrc(FileEntry, ThemeDisplay)
Exception
@Deprecated String getThumbnailSrc(FileEntry fileEntry, FileVersion fileVersion, DLFileShortcut dlFileShortcut, ThemeDisplay themeDisplay) throws Exception
getThumbnailSrc(FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getThumbnailSrc(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#getThumbnailSrc(
FileEntry, FileVersion, ThemeDisplay)
Exception
@Deprecated String getThumbnailSrc(FileEntry fileEntry, ThemeDisplay themeDisplay) throws Exception
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry)
PortalException
@Deprecated String getWebDavURL(ThemeDisplay themeDisplay, Folder folder, FileEntry fileEntry, boolean manualCheckInRequired) throws PortalException
com.liferay.document.library.util.DLURLHelper#FileEntryURLHelper#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#FileEntryURLHelper#getWebDavURL(
ThemeDisplay, Folder, FileEntry, boolean, boolean)
PortalException
boolean hasWorkflowDefinitionLink(long companyId, long groupId, long folderId, long fileEntryTypeId) throws Exception
Exception
boolean isAutoGeneratedDLFileEntryTypeDDMStructureKey(String ddmStructureKey)
boolean isOfficeExtension(String extension)
@Deprecated boolean isSubscribedToFileEntryType(long companyId, long groupId, long userId, long fileEntryTypeId)
DLSubscriptionUtil#isSubscribedToFileEntryType(long, long,
long, long)
@Deprecated boolean isSubscribedToFolder(long companyId, long groupId, long userId, long folderId) throws PortalException
DLSubscriptionUtil#isSubscribedToFolder(long, long, long,
long)
PortalException
@Deprecated boolean isSubscribedToFolder(long companyId, long groupId, long userId, long folderId, boolean recursive) throws PortalException
DLSubscriptionUtil#isSubscribedToFolder(long, long, long,
long, boolean)
PortalException
boolean isValidVersion(String version)
void startWorkflowInstance(long userId, DLFileVersion dlFileVersion, String syncEventType, ServiceContext serviceContext) throws PortalException
PortalException