Class WebDAVController

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

public class WebDAVController extends Object
  • Constructor Details

    • WebDAVController

      public WebDAVController()
  • Method Details

    • getSession

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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