|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.taglib.FileWebdavTag.Webdav
public static class FileWebdavTag.Webdav
Field Summary | |
---|---|
protected String |
baseUrl
|
protected Member |
loggedMember
|
protected String |
title
|
protected String |
userLang
|
Constructor Summary | |
---|---|
FileWebdavTag.Webdav(String title,
String userLang,
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(StringBuffer sb,
FileDocument doc)
Prints a download link for the specified FileDocument. |
void |
printWebdavFileIcon(StringBuffer sb,
FileDocument doc)
Check Webdav rights then print a Webdav edit icon |
void |
printWebdavFileIcon(StringBuffer sb,
FileDocument doc,
boolean checkRights)
A convenient method to generate Webdav FileIcon without checking rights |
void |
printWebdavFolderIcon(StringBuffer sb)
Print the Webdav root Folder Icon |
void |
printWebdavFolderIcon(StringBuffer sb,
Category cat,
Workspace ws)
Print the Webdav Folder Icon for the given Category and Workspace |
void |
printWebdavFolderIcon(StringBuffer sb,
FileDocument doc)
Print the Webdav Folder Icon for the first valid parent folder of the specified Document. |
void |
printWebdavFolderIcon(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 String title
protected String userLang
protected String baseUrl
protected Member loggedMember
Constructor Detail |
---|
public FileWebdavTag.Webdav(String title, String userLang, String baseUrl, Member loggedMember)
Method Detail |
---|
public void printDownloadIcon(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(StringBuffer sb, FileDocument doc)
sb
- the buffer to filldoc
- the document to work withpublic void printWebdavFileIcon(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(StringBuffer sb, Category cat, Workspace ws)
sb
- the buffer to fillcat
- the category to displayws
- the workspace to usepublic void printWebdavFolderIcon(StringBuffer sb, Workspace ws)
sb
- the buffer to fillws
- the workspace to displaypublic void printWebdavFolderIcon(StringBuffer sb, FileDocument doc)
sb
- the buffer to filldoc
- the FileDocument to displaypublic void printWebdavFolderIcon(StringBuffer sb)
sb
- the buffer to fill
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |