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.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public void checkAuthentication(net.sf.webdav.ITransaction transaction) throws SecurityException
checkAuthentication
in interface net.sf.webdav.IWebdavStore
SecurityException
public void commit(net.sf.webdav.ITransaction transaction) throws net.sf.webdav.exceptions.WebdavException
commit
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public void rollback(net.sf.webdav.ITransaction transaction) throws net.sf.webdav.exceptions.WebdavException
rollback
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public void createFolder(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
createFolder
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public void createResource(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
createResource
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public 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.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public String[] getChildrenNames(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
getChildrenNames
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public void removeObject(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
removeObject
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public InputStream getResourceContent(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
getResourceContent
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public long getResourceLength(net.sf.webdav.ITransaction transaction, String uri) throws net.sf.webdav.exceptions.WebdavException
getResourceLength
in interface net.sf.webdav.IWebdavStore
net.sf.webdav.exceptions.WebdavException
public net.sf.webdav.StoredObject getStoredObject(net.sf.webdav.ITransaction transaction, String uri)
getStoredObject
in interface net.sf.webdav.IWebdavStore
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.