Liferay 6.0.5

com.liferay.portal.kernel.webdav
Class BaseResourceImpl

java.lang.Object
  extended by 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)
           
 
Method Summary
 String getClassName()
           
 InputStream getContentAsStream()
           
 String getContentType()
           
 String getCreateDate()
           
 String getDisplayName()
           
 String getHREF()
           
 Object getModel()
           
 String getModifiedDate()
           
 long getPrimaryKey()
           
 long getSize()
           
 boolean isCollection()
           
 boolean isLocked()
           
 void setClassName(String className)
           
 void setModel(Object model)
           
 void setPrimaryKey(long primaryKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

Liferay 6.0.5