com.liferay.portal.kernel.webdav
Class BaseResourceImpl
java.lang.Object
com.liferay.portal.kernel.webdav.BaseResourceImpl
- All Implemented Interfaces:
- Resource
- Direct Known Subclasses:
- DLFileEntryResourceImpl, IGImageResourceImpl, JournalStructureResourceImpl, JournalTemplateResourceImpl
public class BaseResourceImpl
- extends Object
- implements Resource
Constructor Summary |
BaseResourceImpl(String parentPath,
long name,
long displayName)
|
BaseResourceImpl(String parentPath,
long name,
String displayName)
|
BaseResourceImpl(String parentPath,
String name,
String displayName)
|
BaseResourceImpl(String parentPath,
String name,
String displayName,
Date createDate,
Date modifiedDate)
|
BaseResourceImpl(String parentPath,
String name,
String displayName,
Date createDate,
Date modifiedDate,
long size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseResourceImpl
public BaseResourceImpl(String parentPath,
long name,
long displayName)
BaseResourceImpl
public BaseResourceImpl(String parentPath,
long name,
String displayName)
BaseResourceImpl
public BaseResourceImpl(String parentPath,
String name,
String displayName)
BaseResourceImpl
public BaseResourceImpl(String parentPath,
String name,
String displayName,
Date createDate,
Date modifiedDate)
BaseResourceImpl
public BaseResourceImpl(String parentPath,
String name,
String displayName,
Date createDate,
Date modifiedDate,
long size)
getHREF
public String getHREF()
- Specified by:
getHREF
in interface Resource
getDisplayName
public 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 String getCreateDate()
- Specified by:
getCreateDate
in interface Resource
getModifiedDate
public String getModifiedDate()
- Specified by:
getModifiedDate
in interface Resource
getSize
public long getSize()
- Specified by:
getSize
in interface Resource
getModel
public Object getModel()
- Specified by:
getModel
in interface Resource
setModel
public void setModel(Object model)
- Specified by:
setModel
in interface Resource
getClassName
public String getClassName()
- Specified by:
getClassName
in interface Resource
setClassName
public void setClassName(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 String getContentType()
- Specified by:
getContentType
in interface Resource
getContentAsStream
public InputStream getContentAsStream()
throws WebDAVException
- Specified by:
getContentAsStream
in interface Resource
- Throws:
WebDAVException