|
||||||||||
| 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 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 | |
|---|---|
Category |
getWebdavCategoryForDocument(FileDocument doc)
|
String |
getWebdavCatPath(Category cat)
Returns path of the current category |
Category |
getWebdavRoot()
|
boolean |
isWebdavEditable(FileDocument doc)
|
void |
printDownloadIcon(StringBuffer sb,
FileDocument doc)
|
void |
printWebdavFileIcon(StringBuffer sb,
FileDocument doc,
Category cat)
Check Webdav rights then Print a WebdavFile icon |
void |
printWebdavFileIcon(StringBuffer sb,
FileDocument doc,
Category cat,
boolean checkRights)
A convenient method to generate Webdav FileIcon without checking rights |
void |
printWebdavFolderIcon(StringBuffer sb,
Category cat,
Workspace ws,
boolean showRoot)
Print the Webdav Folder Icon for the given Category and Workspace |
void |
printWebdavFolderIcon(StringBuffer sb,
FileDocument doc)
Print the Webdav Folder Icon for the given FileDocument |
| 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)
public boolean isWebdavEditable(FileDocument doc)
public void printWebdavFileIcon(StringBuffer sb,
FileDocument doc,
Category cat)
sb - the buffer to filldoc - the document to work withcat - the category to use
public void printWebdavFileIcon(StringBuffer sb,
FileDocument doc,
Category cat,
boolean checkRights)
sb - the buffer to filldoc - the document to work withcat - the category to usecheckRights - true to check webdav rights
public void printWebdavFolderIcon(StringBuffer sb,
FileDocument doc)
sb - the buffer to filldoc - the FileDocument
public void printWebdavFolderIcon(StringBuffer sb,
Category cat,
Workspace ws,
boolean showRoot)
sb - the buffer to fillcat - the category to displayws - the workspace to useshowRoot - should the root be displayedpublic String getWebdavCatPath(Category cat)
cat - the current category
public Category getWebdavRoot()
public Category getWebdavCategoryForDocument(FileDocument doc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||