Class DocumentUtil
java.lang.Object
com.logicaldoc.gui.frontend.client.document.DocumentUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
downloadDocument
(long docId) static void
downloadDocumentResource
(String docId, String url) Checks the DOWNLOAD permission and forwards the download of the specified document-related resource.
-
Method Details
-
downloadDocumentResource
Checks the DOWNLOAD permission and forwards the download of the specified document-related resource.- Parameters:
docId
- Identifier of thee document the URL refers tourl
- The url of a resource related to the given document,may be null
-
downloadDocument
public static void downloadDocument(long docId)
-