|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.taglib.FileWebdavTag.Webdav
public static class FileWebdavTag.Webdav
| Field Summary | |
|---|---|
protected java.lang.String |
baseUrl
|
protected Member |
loggedMember
|
protected java.lang.String |
title
|
protected java.lang.String |
userLang
|
| Constructor Summary | |
|---|---|
FileWebdavTag.Webdav(java.lang.String title,
java.lang.String userLang,
java.lang.String baseUrl,
Member loggedMember)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String title
protected java.lang.String userLang
protected java.lang.String baseUrl
protected Member loggedMember
| Constructor Detail |
|---|
public FileWebdavTag.Webdav(java.lang.String title,
java.lang.String userLang,
java.lang.String baseUrl,
Member loggedMember)
| Method Detail |
|---|
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 with
public 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 use
public void printWebdavFolderIcon(java.lang.StringBuffer sb,
Workspace ws)
sb - the buffer to fillws - the workspace to display
public 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 fill
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||