public static class FileWebdavTag.Webdav
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
baseUrl  | 
protected Member | 
loggedMember  | 
protected java.lang.String | 
title  | 
protected java.lang.String | 
userLang  | 
| Constructor and Description | 
|---|
Webdav(java.lang.String title,
      java.lang.String userLang,
      java.lang.String baseUrl,
      Member loggedMember)  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
canUseWebdavFileIcon()
Check if the current member/context/browser can use the webdav edit icon. 
 | 
static boolean | 
canUseWebdavFolderIcon()
Check if the current member/context/browser can use the webdav folder icon. 
 | 
void | 
printDownloadIcon(java.lang.StringBuffer sb,
                 FileDocument doc)
Prints a download link for the specified FileDocument. 
 | 
void | 
printWebdavFileIcon(java.lang.StringBuffer sb,
                   FileDocument doc)
Check Webdav rights then print a Webdav edit icon 
 | 
void | 
printWebdavFileIcon(java.lang.StringBuffer sb,
                   FileDocument doc,
                   boolean checkRights)
A convenient method to generate Webdav FileIcon without checking rights 
 | 
void | 
printWebdavFolderIcon(java.lang.StringBuffer sb)
Print the Webdav root Folder Icon 
 | 
void | 
printWebdavFolderIcon(java.lang.StringBuffer sb,
                     Category cat,
                     Workspace ws)
Print the Webdav Folder Icon for the given Category and Workspace 
 | 
void | 
printWebdavFolderIcon(java.lang.StringBuffer sb,
                     FileDocument doc)
Print the Webdav Folder Icon for the first valid parent folder of the specified Document. 
 | 
void | 
printWebdavFolderIcon(java.lang.StringBuffer sb,
                     Workspace ws)
Print the Webdav Folder Icon for the given Workspace 
 | 
protected java.lang.String title
protected java.lang.String userLang
protected java.lang.String baseUrl
protected Member loggedMember
public Webdav(java.lang.String title,
              java.lang.String userLang,
              java.lang.String baseUrl,
              Member loggedMember)
public void printDownloadIcon(java.lang.StringBuffer sb,
                              FileDocument doc)
sb - the buffer to filldoc - the document to work withpublic static boolean canUseWebdavFileIcon()
The rule : Reserved to windows, but for the browser, it depends on which file edition mode is enabled (legacy lnk or new Jalios Office Launcher)
public void printWebdavFileIcon(java.lang.StringBuffer sb,
                                FileDocument doc)
sb - the buffer to filldoc - the document to work withpublic void printWebdavFileIcon(java.lang.StringBuffer sb,
                                FileDocument doc,
                                boolean checkRights)
sb - the buffer to filldoc - the document to work withcheckRights - true to check webdav rightspublic static boolean canUseWebdavFolderIcon()
The rule : Reserved to IE for Windows.
public void printWebdavFolderIcon(java.lang.StringBuffer sb,
                                  Category cat,
                                  Workspace ws)
sb - the buffer to fillcat - the category to displayws - the workspace to usepublic void printWebdavFolderIcon(java.lang.StringBuffer sb,
                                  Workspace ws)
sb - the buffer to fillws - the workspace to displaypublic void printWebdavFolderIcon(java.lang.StringBuffer sb,
                                  FileDocument doc)
sb - the buffer to filldoc - the FileDocument to displaypublic void printWebdavFolderIcon(java.lang.StringBuffer sb)
sb - the buffer to fillCopyright © 2001-2018 Jalios SA. All Rights Reserved.