Interface DocumentUtil


public interface DocumentUtil
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static void
    downloadDocument(long docId)
     
    static void
    Checks the DOWNLOAD permission and forwards the download of the specified document-related resource.
  • Method Details

    • downloadDocumentResource

      static void downloadDocumentResource(String docId, String url)
      Checks the DOWNLOAD permission and forwards the download of the specified document-related resource.
      Parameters:
      docId - Identifier of thee document the URL refers to
      url - The url of a resource related to the given document,may be null
    • downloadDocument

      static void downloadDocument(long docId)