Class DocUtil

java.lang.Object
com.logicaldoc.gui.common.client.util.DocUtil

public class DocUtil extends Object
Some utility methods for the documents
Since:
7.6
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • download

      public static void download(long docId, String fileVersion)
    • download

      public static void download(long docId, String fileVersion, String suffix)
    • downloadPdfConversion

      public static void downloadPdfConversion(long docId, String fileVersion)
    • markCheckedOut

      public static void markCheckedOut(GUIDocument doc)
    • markCheckedIn

      public static void markCheckedIn(GUIDocument doc)
    • markLocked

      public static void markLocked(GUIDocument doc)
    • markUnlocked

      public static void markUnlocked(GUIDocument doc)
    • getLockedIcon

      public static String getLockedIcon(Integer locked)
    • getImmutableIcon

      public static String getImmutableIcon(Integer immutable)
    • getPasswordProtectedIcon

      public static String getPasswordProtectedIcon(Boolean password)
    • getSignedIcon

      public static String getSignedIcon(Integer signed)
    • getStampedIcon

      public static String getStampedIcon(Integer stamped)
    • getBookmarkedIcon

      public static String getBookmarkedIcon(boolean bookmarked)
    • getRatingIcon

      public static String getRatingIcon(Integer rating)
    • getFolderIcon

      public static String getFolderIcon(boolean open, int type, String name, String color)