Package com.logicaldoc.webdavb
Class WebDAVController
java.lang.Object
com.logicaldoc.webdavb.WebDAVController
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateFile(DAVFolder folder, String newName, byte[] data) createFolder(DAVFolder folder, String name) voiddeleteDocument(DAVFile document) voiddeleteFile(DAVFile file) voiddeleteFolder(DAVFolder folder) findFolder(DAVFolder root, String name) byte[]getFileContent(DAVFile file) getFolders(DAVFolder root) getRoot()static com.logicaldoc.core.security.SessionvoidvoidmoveFolder(DAVFolder folder, DAVFolder dest, String newName) 
- 
Constructor Details- 
WebDAVControllerpublic WebDAVController()
 
- 
- 
Method Details- 
getSessionpublic static com.logicaldoc.core.security.Session getSession() throws io.milton.http.exceptions.NotAuthorizedException- Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
getRoot- Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
getFolderspublic List<DAVFolder> getFolders(DAVRoot r) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
getFolderspublic List<DAVFolder> getFolders(DAVFolder root) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
getFilespublic List<DAVFile> getFiles(DAVFolder root) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
copyFilepublic void copyFile(DAVFile src, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
deleteDocumentpublic void deleteDocument(DAVFile document) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
findFilepublic DAVFile findFile(DAVFolder root, String name) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
findFolderpublic DAVFolder findFolder(DAVFolder root, String name) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
getFileContentpublic byte[] getFileContent(DAVFile file) throws IOException, io.milton.http.exceptions.NotAuthorizedException - Throws:
- IOException
- io.milton.http.exceptions.NotAuthorizedException
 
- 
createFolderpublic DAVFolder createFolder(DAVFolder folder, String name) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
deleteFolder- Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
moveFolderpublic void moveFolder(DAVFolder folder, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
moveFilepublic void moveFile(DAVFile file, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
deleteFile- Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
- 
createFilepublic DAVFile createFile(DAVFolder folder, String newName, byte[] data) throws io.milton.http.exceptions.NotAuthorizedException - Throws:
- io.milton.http.exceptions.NotAuthorizedException
 
 
-