com.liferay.portal.webdav
Class BaseResourceImpl
java.lang.Object
com.liferay.portal.webdav.BaseResourceImpl
- All Implemented Interfaces:
- Resource
public class BaseResourceImpl
- extends java.lang.Object
- implements Resource
View Source
- Author:
- Brian Wing Shun Chan, Alexander Chow
|
Constructor Summary |
BaseResourceImpl(java.lang.String parentPath,
long name,
long displayName)
|
BaseResourceImpl(java.lang.String parentPath,
long name,
java.lang.String displayName)
|
BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName)
|
BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName,
java.util.Date createDate,
java.util.Date modifiedDate)
|
BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName,
java.util.Date createDate,
java.util.Date modifiedDate,
int size)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseResourceImpl
public BaseResourceImpl(java.lang.String parentPath,
long name,
long displayName)
BaseResourceImpl
public BaseResourceImpl(java.lang.String parentPath,
long name,
java.lang.String displayName)
BaseResourceImpl
public BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName)
BaseResourceImpl
public BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName,
java.util.Date createDate,
java.util.Date modifiedDate)
BaseResourceImpl
public BaseResourceImpl(java.lang.String parentPath,
java.lang.String name,
java.lang.String displayName,
java.util.Date createDate,
java.util.Date modifiedDate,
int size)
getHREF
public java.lang.String getHREF()
- Specified by:
getHREF in interface Resource
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface Resource
isCollection
public boolean isCollection()
- Specified by:
isCollection in interface Resource
isLocked
public boolean isLocked()
- Specified by:
isLocked in interface Resource
getCreateDate
public java.lang.String getCreateDate()
- Specified by:
getCreateDate in interface Resource
getModifiedDate
public java.lang.String getModifiedDate()
- Specified by:
getModifiedDate in interface Resource
getSize
public int getSize()
- Specified by:
getSize in interface Resource
getModel
public java.lang.Object getModel()
- Specified by:
getModel in interface Resource
setModel
public void setModel(java.lang.Object model)
- Specified by:
setModel in interface Resource
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface Resource
setClassName
public void setClassName(java.lang.String className)
- Specified by:
setClassName in interface Resource
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface Resource
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface Resource
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface Resource
getContentAsStream
public java.io.InputStream getContentAsStream()
throws WebDAVException
- Specified by:
getContentAsStream in interface Resource
- Throws:
WebDAVException