it.sistematica.isharedoc.webdav
Class WebDAVEngine

java.lang.Object
  extended by com.ithit.webdav.server.Engine
      extended by it.sistematica.isharedoc.webdav.WebDAVEngine

@Service(value="webDAVEngine")
public class WebDAVEngine
extends com.ithit.webdav.server.Engine


Field Summary
(package private)  org.springframework.context.ApplicationContext applicationContext
           
(package private)  CloudManager cloudManager
           
(package private)  it.neverworks.util.Configuration configuration
           
(package private)  it.neverworks.data.EntityManager entities
           
(package private)  it.neverworks.application.service.UserInfo userInfo
           
(package private)  WebDAVRoot webDAVRoot
           
 
Constructor Summary
WebDAVEngine()
           
 
Method Summary
 boolean allowCreation(java.lang.String fileName)
           
 boolean getAutoPutUnderVersionControl()
           
 boolean getCalculateContentLength()
           
 javax.servlet.http.HttpServletRequest getCurrentRequest()
           
 java.util.Set<java.lang.String> getFilenameBlacklist()
           
 com.ithit.webdav.server.HierarchyItem getHierarchyItem(java.lang.String pathAndQuery)
           
 java.lang.String getLicense()
           
 com.ithit.webdav.server.Logger getLogger()
           
 java.lang.String getRootName()
           
 java.util.Set<java.lang.String> getTempFileRegexes()
           
 it.neverworks.application.service.UserInfo getUserInfo()
           
 boolean isEnabled()
           
 boolean isLogVerbose()
           
 boolean isTemporaryFile(java.lang.String fileName)
           
 boolean isUnsupportedFile(java.lang.String fileName)
           
 void service(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
           
 
Methods inherited from class com.ithit.webdav.server.Engine
getClientLockTokens, getResponseCharacterEncoding, registerMethodHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

it.neverworks.util.Configuration configuration

applicationContext

org.springframework.context.ApplicationContext applicationContext

cloudManager

CloudManager cloudManager

entities

it.neverworks.data.EntityManager entities

webDAVRoot

WebDAVRoot webDAVRoot

userInfo

it.neverworks.application.service.UserInfo userInfo
Constructor Detail

WebDAVEngine

public WebDAVEngine()
Method Detail

isEnabled

public boolean isEnabled()

isLogVerbose

public boolean isLogVerbose()

getRootName

public java.lang.String getRootName()

getUserInfo

public it.neverworks.application.service.UserInfo getUserInfo()

getFilenameBlacklist

public java.util.Set<java.lang.String> getFilenameBlacklist()

getTempFileRegexes

public java.util.Set<java.lang.String> getTempFileRegexes()

allowCreation

public boolean allowCreation(java.lang.String fileName)

isUnsupportedFile

public boolean isUnsupportedFile(java.lang.String fileName)

isTemporaryFile

public boolean isTemporaryFile(java.lang.String fileName)

service

public void service(javax.servlet.http.HttpServletRequest arg0,
                    javax.servlet.http.HttpServletResponse arg1)
             throws com.ithit.webdav.server.exceptions.DavException,
                    java.io.IOException
Overrides:
service in class com.ithit.webdav.server.Engine
Throws:
com.ithit.webdav.server.exceptions.DavException
java.io.IOException

getCurrentRequest

public javax.servlet.http.HttpServletRequest getCurrentRequest()

getHierarchyItem

public com.ithit.webdav.server.HierarchyItem getHierarchyItem(java.lang.String pathAndQuery)
                                                       throws com.ithit.webdav.server.exceptions.ServerException
Specified by:
getHierarchyItem in class com.ithit.webdav.server.Engine
Throws:
com.ithit.webdav.server.exceptions.ServerException

getLicense

public java.lang.String getLicense()
Specified by:
getLicense in class com.ithit.webdav.server.Engine

getLogger

public com.ithit.webdav.server.Logger getLogger()
Specified by:
getLogger in class com.ithit.webdav.server.Engine

getAutoPutUnderVersionControl

public boolean getAutoPutUnderVersionControl()
Overrides:
getAutoPutUnderVersionControl in class com.ithit.webdav.server.Engine

getCalculateContentLength

public boolean getCalculateContentLength()
Overrides:
getCalculateContentLength in class com.ithit.webdav.server.Engine