Class DocumentUtil

java.lang.Object
com.logicaldoc.gui.frontend.client.document.DocumentUtil

public abstract class DocumentUtil extends Object
  • Method Details

    • downloadDocumentResource

      public 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

      public static void downloadDocument(long docId)