com.liferay.portlet.documentlibrary.webdav
Class DLWebDAVStorageImpl
java.lang.Object
com.liferay.portal.webdav.BaseWebDAVStorageImpl
com.liferay.portlet.documentlibrary.webdav.DLWebDAVStorageImpl
- All Implemented Interfaces:
- WebDAVStorage
- public class DLWebDAVStorageImpl
- extends BaseWebDAVStorageImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
Status |
addFolder(WebDAVRequest webDavReq)
|
int |
copyResource(WebDAVRequest webDavReq,
java.lang.String destination)
|
int |
deleteResource(WebDAVRequest webDavReq)
|
protected java.util.List |
getFileEntries(WebDAVRequest webDavReq,
long parentFolderId)
|
protected java.util.List |
getFolders(WebDAVRequest webDavReq,
long parentFolderId)
|
protected long |
getParentFolderId(WebDAVRequest webDavReq,
boolean newResource)
|
Resource |
getResource(WebDAVRequest webDavReq)
|
java.util.List |
getResources(WebDAVRequest webDavReq)
|
int |
moveResource(WebDAVRequest webDavReq,
java.lang.String destination)
|
int |
putResource(WebDAVRequest webDavReq,
java.lang.String destination)
|
protected Resource |
toResource(WebDAVRequest webDavReq,
com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
boolean appendPath)
|
protected Resource |
toResource(WebDAVRequest webDavReq,
com.liferay.portlet.documentlibrary.model.DLFolder folder,
boolean appendPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLWebDAVStorageImpl
public DLWebDAVStorageImpl()
addFolder
public Status addFolder(WebDAVRequest webDavReq)
throws WebDAVException
- Throws:
WebDAVException
copyResource
public int copyResource(WebDAVRequest webDavReq,
java.lang.String destination)
throws WebDAVException
- Throws:
WebDAVException
deleteResource
public int deleteResource(WebDAVRequest webDavReq)
throws WebDAVException
- Throws:
WebDAVException
getResource
public Resource getResource(WebDAVRequest webDavReq)
throws WebDAVException
- Throws:
WebDAVException
getResources
public java.util.List getResources(WebDAVRequest webDavReq)
throws WebDAVException
- Throws:
WebDAVException
moveResource
public int moveResource(WebDAVRequest webDavReq,
java.lang.String destination)
throws WebDAVException
- Throws:
WebDAVException
putResource
public int putResource(WebDAVRequest webDavReq,
java.lang.String destination)
throws WebDAVException
- Throws:
WebDAVException
getFileEntries
protected java.util.List getFileEntries(WebDAVRequest webDavReq,
long parentFolderId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFolders
protected java.util.List getFolders(WebDAVRequest webDavReq,
long parentFolderId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getParentFolderId
protected long getParentFolderId(WebDAVRequest webDavReq,
boolean newResource)
throws java.lang.Exception
- Throws:
java.lang.Exception
toResource
protected Resource toResource(WebDAVRequest webDavReq,
com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
boolean appendPath)
toResource
protected Resource toResource(WebDAVRequest webDavReq,
com.liferay.portlet.documentlibrary.model.DLFolder folder,
boolean appendPath)