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
-
-
Constructor Summary
Constructors Constructor Description DocUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
download(long docId, String fileVersion)
static void
download(long docId, String fileVersion, String suffix)
static void
downloadPdfConversion(long docId, String fileVersion)
static String
getBookmarkedIcon(boolean bookmarked)
static String
getFolderIcon(boolean open, int type, String name, String color)
static String
getImmutableIcon(Integer immutable)
static String
getLockedIcon(Integer locked)
static String
getPasswordProtectedIcon(Boolean password)
static String
getRatingIcon(Integer rating)
static String
getSignedIcon(Integer signed)
static String
getStampedIcon(Integer stamped)
static void
markCheckedIn(GUIDocument doc)
static void
markCheckedOut(GUIDocument doc)
static void
markLocked(GUIDocument doc)
static void
markUnlocked(GUIDocument doc)
-
-
-
Method Detail
-
download
public static void download(long docId, String fileVersion)
-
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)
-
getBookmarkedIcon
public static String getBookmarkedIcon(boolean bookmarked)
-
-