Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.webdav
Class DLFileEntryResourceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.webdav.BaseResourceImpl
      extended by com.liferay.portlet.documentlibrary.webdav.DLFileEntryResourceImpl
All Implemented Interfaces:
Resource

public class DLFileEntryResourceImpl
extends BaseResourceImpl


Constructor Summary
DLFileEntryResourceImpl(WebDAVRequest webDavRequest, FileEntry fileEntry, String parentPath, String name)
           
 
Method Summary
 InputStream getContentAsStream()
           
 String getContentType()
           
 Lock getLock()
           
 long getSize()
           
 boolean isCollection()
           
 boolean isLocked()
           
 
Methods inherited from class com.liferay.portal.kernel.webdav.BaseResourceImpl
getClassName, getCreateDate, getDisplayName, getHREF, getModel, getModifiedDate, getPrimaryKey, setClassName, setModel, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryResourceImpl

public DLFileEntryResourceImpl(WebDAVRequest webDavRequest,
                               FileEntry fileEntry,
                               String parentPath,
                               String name)
Method Detail

getContentAsStream

public InputStream getContentAsStream()
                               throws WebDAVException
Specified by:
getContentAsStream in interface Resource
Overrides:
getContentAsStream in class BaseResourceImpl
Throws:
WebDAVException

getContentType

public String getContentType()
Specified by:
getContentType in interface Resource
Overrides:
getContentType in class BaseResourceImpl

getLock

public Lock getLock()
Specified by:
getLock in interface Resource
Overrides:
getLock in class BaseResourceImpl

getSize

public long getSize()
Specified by:
getSize in interface Resource
Overrides:
getSize in class BaseResourceImpl

isCollection

public boolean isCollection()
Specified by:
isCollection in interface Resource
Overrides:
isCollection in class BaseResourceImpl

isLocked

public boolean isLocked()
Specified by:
isLocked in interface Resource
Overrides:
isLocked in class BaseResourceImpl

Liferay 6.1.2-ce-ga3