Snapper 3.0 API

org.enhydra.snapper.business
Class WebDAVMultiFileImpl

java.lang.Object
  extended by org.enhydra.snapper.business.WebDAVMultiFileImpl
All Implemented Interfaces:
org.enhydra.dm.api.WebDAVFile

public class WebDAVMultiFileImpl
extends java.lang.Object
implements org.enhydra.dm.api.WebDAVFile


Field Summary
protected  javax.servlet.http.HttpServletRequest request
           
 
Constructor Summary
WebDAVMultiFileImpl(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 void doCheckin()
           
 void doCheckout()
           
 void doCopy()
           
 void doDelete()
           
 void doLock()
           
 void doMove()
           
 void doSetContent(byte[] content)
           
 void doSwitchAutoversionable()
           
 void doUnCheckout()
           
 void doUnLock()
           
 org.enhydra.dm.api.WebDAVFile[] getChildDocuments()
           
 byte[] getContent()
           
 long getCreationDate()
           
 java.lang.String getDisplayName()
           
 java.lang.String getEncodedPath()
           
 java.lang.String getExtension()
           
 long getLastModifiedDate()
           
 java.lang.String getLockedUser()
           
 java.lang.String getName()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 long getSize()
           
 boolean isAutoversionable()
           
 boolean isCheckedOut()
           
 boolean isCollection()
           
 boolean isLocked()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected javax.servlet.http.HttpServletRequest request
Constructor Detail

WebDAVMultiFileImpl

public WebDAVMultiFileImpl(javax.servlet.http.HttpServletRequest request)
Method Detail

doCheckin

public void doCheckin()
               throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doCheckin in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doCheckout

public void doCheckout()
                throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doCheckout in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doCopy

public void doCopy()
            throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doCopy in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doDelete

public void doDelete()
              throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doDelete in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doLock

public void doLock()
            throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doLock in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doMove

public void doMove()
            throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doMove in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doSetContent

public void doSetContent(byte[] content)
                  throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doSetContent in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doSwitchAutoversionable

public void doSwitchAutoversionable()
                             throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doSwitchAutoversionable in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doUnCheckout

public void doUnCheckout()
                  throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doUnCheckout in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

doUnLock

public void doUnLock()
              throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
doUnLock in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getChildDocuments

public org.enhydra.dm.api.WebDAVFile[] getChildDocuments()
                                                  throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getChildDocuments in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getContent

public byte[] getContent()
                  throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getContent in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getCreationDate

public long getCreationDate()
                     throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getCreationDate in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getEncodedPath

public java.lang.String getEncodedPath()
                                throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getEncodedPath in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getExtension

public java.lang.String getExtension()
                              throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getExtension in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getLastModifiedDate

public long getLastModifiedDate()
                         throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getLastModifiedDate in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getLockedUser

public java.lang.String getLockedUser()
                               throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getLockedUser in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getName

public java.lang.String getName()
                         throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getName in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getSize

public long getSize()
             throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getSize in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

isAutoversionable

public boolean isAutoversionable()
                          throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
isAutoversionable in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

isCheckedOut

public boolean isCheckedOut()
                     throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
isCheckedOut in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

isCollection

public boolean isCollection()
                     throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
isCollection in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

isLocked

public boolean isLocked()
                 throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
isLocked in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getDisplayName

public java.lang.String getDisplayName()
                                throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getDisplayName in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
                                                 throws org.enhydra.dm.api.exceptions.BaseException
Specified by:
getRequest in interface org.enhydra.dm.api.WebDAVFile
Throws:
org.enhydra.dm.api.exceptions.BaseException

Snapper 3.0 API