Interface DocumentUtil
public interface DocumentUtil
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voiddownloadDocument(long docId) static voiddownloadDocumentResource(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
static void downloadDocument(long docId)
-