Package com.flowable.webdav.impl
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)
-
Constructor Details
-
WebDavRootFolderImpl
public WebDavRootFolderImpl()
-
-
Method Details
-
getName
public java.lang.String getName()- Specified by:
getName
in interfacecom.ithit.webdav.server.HierarchyItem
-
getCreated
public long getCreated()- Specified by:
getCreated
in interfacecom.ithit.webdav.server.HierarchyItem
-
getModified
public long getModified()- Specified by:
getModified
in interfacecom.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 interfacecom.ithit.webdav.server.Folder
-
createFile
public com.ithit.webdav.server.File createFile(java.lang.String s)- Specified by:
createFile
in interfacecom.ithit.webdav.server.Folder
-
createFolder
public void createFolder(java.lang.String s)- Specified by:
createFolder
in interfacecom.ithit.webdav.server.Folder
-
getPath
public java.lang.String getPath()- Specified by:
getPath
in interfacecom.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 interfacecom.ithit.webdav.server.HierarchyItem
-
getPropertyNames
public java.util.List<com.ithit.webdav.server.Property> getPropertyNames()- Specified by:
getPropertyNames
in interfacecom.ithit.webdav.server.HierarchyItem
-
updateProperties
public void updateProperties(com.ithit.webdav.server.Property[] properties, com.ithit.webdav.server.Property[] properties1)- Specified by:
updateProperties
in interfacecom.ithit.webdav.server.HierarchyItem
-
copyTo
public void copyTo(com.ithit.webdav.server.Folder folder, java.lang.String s, boolean b)- Specified by:
copyTo
in interfacecom.ithit.webdav.server.HierarchyItem
-
moveTo
public void moveTo(com.ithit.webdav.server.Folder folder, java.lang.String s)- Specified by:
moveTo
in interfacecom.ithit.webdav.server.HierarchyItem
-
delete
public void delete()- Specified by:
delete
in interfacecom.ithit.webdav.server.HierarchyItem
-
getActiveLocks
public java.util.List<com.ithit.webdav.server.LockInfo> getActiveLocks()- Specified by:
getActiveLocks
in interfacecom.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 interfacecom.ithit.webdav.server.Lock
-
refreshLock
public com.ithit.webdav.server.RefreshLockResult refreshLock(java.lang.String s, long l)- Specified by:
refreshLock
in interfacecom.ithit.webdav.server.Lock
-
unlock
public void unlock(java.lang.String s)- Specified by:
unlock
in interfacecom.ithit.webdav.server.Lock
-