public class GridStore extends Object implements net.sf.webdav.IWebdavStore
| Modifier and Type | Method and Description |
|---|---|
net.sf.webdav.ITransaction |
begin(Principal principal) |
void |
checkAuthentication(net.sf.webdav.ITransaction transaction) |
void |
commit(net.sf.webdav.ITransaction transaction) |
void |
createFolder(net.sf.webdav.ITransaction transaction,
String uri) |
void |
createResource(net.sf.webdav.ITransaction transaction,
String uri) |
String[] |
getChildrenNames(net.sf.webdav.ITransaction transaction,
String uri) |
InputStream |
getResourceContent(net.sf.webdav.ITransaction transaction,
String uri) |
long |
getResourceLength(net.sf.webdav.ITransaction transaction,
String uri) |
net.sf.webdav.StoredObject |
getStoredObject(net.sf.webdav.ITransaction transaction,
String uri) |
void |
removeObject(net.sf.webdav.ITransaction transaction,
String uri) |
void |
rollback(net.sf.webdav.ITransaction transaction) |
long |
setResourceContent(net.sf.webdav.ITransaction transaction,
String uri,
InputStream is,
String contentType,
String characterEncoding) |
public GridStore(File root)
public net.sf.webdav.ITransaction begin(Principal principal) throws net.sf.webdav.exceptions.WebdavException
begin in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic void checkAuthentication(net.sf.webdav.ITransaction transaction)
throws SecurityException
checkAuthentication in interface net.sf.webdav.IWebdavStoreSecurityExceptionpublic void commit(net.sf.webdav.ITransaction transaction)
throws net.sf.webdav.exceptions.WebdavException
commit in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic void rollback(net.sf.webdav.ITransaction transaction)
throws net.sf.webdav.exceptions.WebdavException
rollback in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic void createFolder(net.sf.webdav.ITransaction transaction,
String uri)
throws net.sf.webdav.exceptions.WebdavException
createFolder in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic void createResource(net.sf.webdav.ITransaction transaction,
String uri)
throws net.sf.webdav.exceptions.WebdavException
createResource in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic long setResourceContent(net.sf.webdav.ITransaction transaction,
String uri,
InputStream is,
String contentType,
String characterEncoding)
throws net.sf.webdav.exceptions.WebdavException
setResourceContent in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic String[] getChildrenNames(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
getChildrenNames in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic void removeObject(net.sf.webdav.ITransaction transaction,
String uri)
throws net.sf.webdav.exceptions.WebdavException
removeObject in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic InputStream getResourceContent(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
getResourceContent in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic long getResourceLength(net.sf.webdav.ITransaction transaction,
String uri)
throws net.sf.webdav.exceptions.WebdavException
getResourceLength in interface net.sf.webdav.IWebdavStorenet.sf.webdav.exceptions.WebdavExceptionpublic net.sf.webdav.StoredObject getStoredObject(net.sf.webdav.ITransaction transaction,
String uri)
getStoredObject in interface net.sf.webdav.IWebdavStoreCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.