Interface DL
@ProviderType
public interface DL
- Author:
- Eudaldo Alonso
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
compareVersions
(String version1, String version2) getAbsolutePath
(PortletRequest portletRequest, long rootFolderId, long folderId) getDDMStructureKey
(DLFileEntryType dlFileEntryType) getDDMStructureKey
(String fileEntryTypeUuid) getDeprecatedDDMStructureKey
(long fileEntryTypeId) getDeprecatedDDMStructureKey
(DLFileEntryType dlFileEntryType) getDividedPath
(long id) getEmailDefinitionTerms
(PortletRequest portletRequest, String emailFromAddress, String emailFromName) getEmailFromDefinitionTerms
(PortletRequest portletRequest, String emailFromAddress, String emailFromName) getFileEntries
(Hits hits) getFileEntryImage
(FileEntry fileEntry, ThemeDisplay themeDisplay) getFileIcon
(String extension) getFileIconCssClass
(String extension) getGenericName
(String extension) getPreviewURL
(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString) Deprecated.getPreviewURL
(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL) Deprecated.As of Mueller (7.2.x), replaced bycom.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) getSanitizedFileName
(String title, String extension) getTempFileId
(long id, String version) getTempFileId
(long id, String version, String languageId) getThumbnailStyle
(boolean max, int margin) getThumbnailStyle
(boolean max, int margin, int height, int width) getTitleWithExtension
(FileEntry fileEntry) getTitleWithExtension
(String title, String extension) getUniqueFileName
(long groupId, long folderId, String fileName, boolean ignoreDuplicateTitle) getUniqueTitle
(long groupId, long folderId, String title) 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)
-
Field Details
-
MANUAL_CHECK_IN_REQUIRED
- See Also:
-
MANUAL_CHECK_IN_REQUIRED_PATH
- See Also:
-
OFFICE_EXTENSION
- See Also:
-
OFFICE_EXTENSION_PATH
- See Also:
-
WEBDAV_CHECK_IN_MODE
- See Also:
-
-
Method Details
-
compareVersions
-
getAbsolutePath
String getAbsolutePath(PortletRequest portletRequest, long rootFolderId, long folderId) throws PortalException - Throws:
PortalException
-
getAllMediaGalleryMimeTypes
-
getDDMStructureKey
-
getDDMStructureKey
-
getDeprecatedDDMStructureKey
-
getDeprecatedDDMStructureKey
-
getDividedPath
-
getEmailDefinitionTerms
-
getEmailFromDefinitionTerms
-
getFileEntries
-
getFileEntryImage
-
getFileIcon
-
getFileIconCssClass
-
getGenericName
-
getPreviewURL
@Deprecated String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString) Deprecated.As of Mueller (7.2.x), replaced bycom.liferay.document.library.util.DLURLHelper#getPreviewURL(FileEntry, FileVersion, ThemeDisplay, String)
-
getPreviewURL
@Deprecated String getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL) Deprecated.As of Mueller (7.2.x), replaced bycom.liferay.document.library.util.DLURLHelper#getPreviewURL(FileEntry, FileVersion, ThemeDisplay, String, boolean, boolean)
-
getRepositoryModelOrderByComparator
-
getRepositoryModelOrderByComparator
<T> OrderByComparator<T> getRepositoryModelOrderByComparator(String orderByCol, String orderByType, boolean orderByModel) -
getSanitizedFileName
-
getTempFileId
-
getTempFileId
-
getThumbnailStyle
String getThumbnailStyle() -
getThumbnailStyle
-
getThumbnailStyle
-
getTitleWithExtension
-
getTitleWithExtension
-
getUniqueFileName
-
getUniqueTitle
-
hasWorkflowDefinitionLink
boolean hasWorkflowDefinitionLink(long companyId, long groupId, long folderId, long fileEntryTypeId) -
isAutoGeneratedDLFileEntryTypeDDMStructureKey
-
isOfficeExtension
-
isValidVersion
-
startWorkflowInstance
void startWorkflowInstance(long userId, DLFileVersion dlFileVersion, String syncEventType, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
com.liferay.document.library.util.DLURLHelper#getPreviewURL(FileEntry, FileVersion, ThemeDisplay, String)