com.liferay.portlet.documentlibrary.webdav
Class DLFileEntryResourceImpl
java.lang.Object
com.liferay.portal.webdav.BaseResourceImpl
com.liferay.portlet.documentlibrary.webdav.DLFileEntryResourceImpl
- All Implemented Interfaces:
- Resource
public class DLFileEntryResourceImpl
- extends BaseResourceImpl
View Source
- Author:
- Brian Wing Shun Chan
|
Constructor Summary |
DLFileEntryResourceImpl(WebDAVRequest webDavRequest,
com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
java.lang.String parentPath,
java.lang.String name)
|
| Methods inherited from class com.liferay.portal.webdav.BaseResourceImpl |
getClassName, getCreateDate, getDisplayName, getHREF, getModel, getModifiedDate, getPrimaryKey, getSize, setClassName, setModel, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryResourceImpl
public DLFileEntryResourceImpl(WebDAVRequest webDavRequest,
com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
java.lang.String parentPath,
java.lang.String name)
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
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface Resource- Overrides:
getContentType in class BaseResourceImpl
getContentAsStream
public java.io.InputStream getContentAsStream()
throws WebDAVException
- Specified by:
getContentAsStream in interface Resource- Overrides:
getContentAsStream in class BaseResourceImpl
- Throws:
WebDAVException