Package com.liferay.portal.kernel.webdav
Class BaseResourceImpl
Object
com.liferay.portal.kernel.webdav.BaseResourceImpl
- All Implemented Interfaces:
Resource
- Author:
- Brian Wing Shun Chan, Alexander Chow
-
Constructor Summary
ConstructorsConstructorDescriptionBaseResourceImpl
(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
Modifier and TypeMethodDescriptiongetHREF()
getLock()
getModel()
long
long
getSize()
boolean
boolean
isLocked()
void
setClassName
(String className) void
void
setPrimaryKey
(long primaryKey)
-
Constructor Details
-
BaseResourceImpl
-
BaseResourceImpl
-
BaseResourceImpl
-
BaseResourceImpl
-
BaseResourceImpl
-
-
Method Details
-
getClassName
- Specified by:
getClassName
in interfaceResource
-
getContentAsStream
- Specified by:
getContentAsStream
in interfaceResource
- Throws:
WebDAVException
-
getContentType
- Specified by:
getContentType
in interfaceResource
-
getCreateDateString
- Specified by:
getCreateDateString
in interfaceResource
-
getDisplayName
- Specified by:
getDisplayName
in interfaceResource
-
getHREF
-
getLock
-
getModel
-
getModifiedDate
- Specified by:
getModifiedDate
in interfaceResource
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfaceResource
-
getSize
public long getSize() -
isCollection
public boolean isCollection()- Specified by:
isCollection
in interfaceResource
-
isLocked
public boolean isLocked() -
setClassName
- Specified by:
setClassName
in interfaceResource
-
setModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfaceResource
-