Class WebDAVController

java.lang.Object
com.logicaldoc.webdavb.WebDAVController

public class WebDAVController extends Object
  • Constructor Details Link icon

    • WebDAVController Link icon

      public WebDAVController()
  • Method Details Link icon

    • getSession Link icon

      public static com.logicaldoc.core.security.Session getSession() throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getRoot Link icon

      public DAVRoot getRoot() throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getFolders Link icon

      public List<DAVFolder> getFolders(DAVRoot r) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getFolders Link icon

      public List<DAVFolder> getFolders(DAVFolder root) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getFiles Link icon

      public List<DAVFile> getFiles(DAVFolder root) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • copyFile Link icon

      public void copyFile(DAVFile src, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • deleteDocument Link icon

      public void deleteDocument(DAVFile document) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • findFile Link icon

      public DAVFile findFile(DAVFolder root, String name) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • findFolder Link icon

      public DAVFolder findFolder(DAVFolder root, String name) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getFileContent Link icon

      public byte[] getFileContent(DAVFile file) throws IOException, io.milton.http.exceptions.NotAuthorizedException
      Throws:
      IOException
      io.milton.http.exceptions.NotAuthorizedException
    • createFolder Link icon

      public DAVFolder createFolder(DAVFolder folder, String name) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • deleteFolder Link icon

      public void deleteFolder(DAVFolder folder) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • moveFolder Link icon

      public void moveFolder(DAVFolder folder, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • moveFile Link icon

      public void moveFile(DAVFile file, DAVFolder dest, String newName) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • deleteFile Link icon

      public void deleteFile(DAVFile file) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • createFile Link icon

      public DAVFile createFile(DAVFolder folder, String newName, byte[] data) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException