Class WebDavRootFolderImpl

java.lang.Object
com.flowable.webdav.impl.WebDavRootFolderImpl
All Implemented Interfaces:
com.ithit.webdav.server.Folder, com.ithit.webdav.server.HierarchyItem, com.ithit.webdav.server.Lock

public class WebDavRootFolderImpl
extends java.lang.Object
implements com.ithit.webdav.server.Folder, com.ithit.webdav.server.Lock
Dummy implementation of a webdav root folder. The webdav protocol, when fetching a file, will first query for information about the root folder. However, for the Office integration, nothing is actually done with this information, hence why this dummy implementation doesn't return anything real, but needs to return 'something' to be conform the protocol.
  • Constructor Summary

    Constructors 
    Constructor Description
    WebDavRootFolderImpl()  
  • Method Summary

    Modifier and Type Method Description
    void copyTo​(com.ithit.webdav.server.Folder folder, java.lang.String s, boolean b)  
    com.ithit.webdav.server.File createFile​(java.lang.String s)  
    void createFolder​(java.lang.String s)  
    void delete()  
    java.util.List<com.ithit.webdav.server.LockInfo> getActiveLocks()  
    com.ithit.webdav.server.paging.PageResults getChildren​(java.util.List<com.ithit.webdav.server.Property> list, java.lang.Long aLong, java.lang.Long aLong1, java.util.List<com.ithit.webdav.server.paging.OrderProperty> list1)  
    long getCreated()  
    long getModified()  
    java.lang.String getName()  
    java.lang.String getPath()  
    java.util.List<com.ithit.webdav.server.Property> getProperties​(com.ithit.webdav.server.Property[] properties)  
    java.util.List<com.ithit.webdav.server.Property> getPropertyNames()  
    com.ithit.webdav.server.LockResult lock​(boolean b, boolean b1, long l, java.lang.String s)  
    void moveTo​(com.ithit.webdav.server.Folder folder, java.lang.String s)  
    com.ithit.webdav.server.RefreshLockResult refreshLock​(java.lang.String s, long l)  
    void unlock​(java.lang.String s)  
    void updateProperties​(com.ithit.webdav.server.Property[] properties, com.ithit.webdav.server.Property[] properties1)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface com.ithit.webdav.server.HierarchyItem
    • getCreated

      public long getCreated()
      Specified by:
      getCreated in interface com.ithit.webdav.server.HierarchyItem
    • getModified

      public long getModified()
      Specified by:
      getModified in interface com.ithit.webdav.server.HierarchyItem
    • getChildren

      public com.ithit.webdav.server.paging.PageResults getChildren​(java.util.List<com.ithit.webdav.server.Property> list, java.lang.Long aLong, java.lang.Long aLong1, java.util.List<com.ithit.webdav.server.paging.OrderProperty> list1)
      Specified by:
      getChildren in interface com.ithit.webdav.server.Folder
    • createFile

      public com.ithit.webdav.server.File createFile​(java.lang.String s)
      Specified by:
      createFile in interface com.ithit.webdav.server.Folder
    • createFolder

      public void createFolder​(java.lang.String s)
      Specified by:
      createFolder in interface com.ithit.webdav.server.Folder
    • getPath

      public java.lang.String getPath()
      Specified by:
      getPath in interface com.ithit.webdav.server.HierarchyItem
    • getProperties

      public java.util.List<com.ithit.webdav.server.Property> getProperties​(com.ithit.webdav.server.Property[] properties)
      Specified by:
      getProperties in interface com.ithit.webdav.server.HierarchyItem
    • getPropertyNames

      public java.util.List<com.ithit.webdav.server.Property> getPropertyNames()
      Specified by:
      getPropertyNames in interface com.ithit.webdav.server.HierarchyItem
    • updateProperties

      public void updateProperties​(com.ithit.webdav.server.Property[] properties, com.ithit.webdav.server.Property[] properties1)
      Specified by:
      updateProperties in interface com.ithit.webdav.server.HierarchyItem
    • copyTo

      public void copyTo​(com.ithit.webdav.server.Folder folder, java.lang.String s, boolean b)
      Specified by:
      copyTo in interface com.ithit.webdav.server.HierarchyItem
    • moveTo

      public void moveTo​(com.ithit.webdav.server.Folder folder, java.lang.String s)
      Specified by:
      moveTo in interface com.ithit.webdav.server.HierarchyItem
    • delete

      public void delete()
      Specified by:
      delete in interface com.ithit.webdav.server.HierarchyItem
    • getActiveLocks

      public java.util.List<com.ithit.webdav.server.LockInfo> getActiveLocks()
      Specified by:
      getActiveLocks in interface com.ithit.webdav.server.Lock
    • lock

      public com.ithit.webdav.server.LockResult lock​(boolean b, boolean b1, long l, java.lang.String s)
      Specified by:
      lock in interface com.ithit.webdav.server.Lock
    • refreshLock

      public com.ithit.webdav.server.RefreshLockResult refreshLock​(java.lang.String s, long l)
      Specified by:
      refreshLock in interface com.ithit.webdav.server.Lock
    • unlock

      public void unlock​(java.lang.String s)
      Specified by:
      unlock in interface com.ithit.webdav.server.Lock