public class WebDavTestImpl extends WebDavFileHostingService implements IFileHostingService
WebDavFileHostingService.ConnectionContextlogger| Constructor and Description | 
|---|
WebDavTestImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected WebDavFileHostingService.ConnectionContext | 
getConnectionContext(SecurityContext context)  | 
FileHostingInfo | 
info(SecurityContext context)
Retrieves informations about the filehosting implementation 
 | 
FileHostingPublicLink | 
share(SecurityContext context,
     java.lang.String path,
     java.lang.Integer downloadLimit,
     java.lang.String expirationDate)
Retrieves a public URL to the document in the file hosting repository 
 | 
void | 
unShare(SecurityContext context,
       java.lang.String url)
Remove a public link 
 | 
createUri, delete, exists, find, get, getComplete, getSharedFile, list, store, supportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, exists, find, get, getComplete, getSharedFile, isDefaultImplementation, list, store, supportsprotected WebDavFileHostingService.ConnectionContext getConnectionContext(SecurityContext context)
getConnectionContext in class WebDavFileHostingServicepublic FileHostingInfo info(SecurityContext context)
IFileHostingServiceinfo in interface IFileHostingServiceinfo in class WebDavFileHostingServicepublic FileHostingPublicLink share(SecurityContext context, java.lang.String path, java.lang.Integer downloadLimit, java.lang.String expirationDate) throws ServerFault
IFileHostingServiceshare in interface IFileHostingServiceshare in class WebDavFileHostingServicepath - the relative path to the documentdownloadLimit - the number of times the file can be downloaded, <= 0 if
                       unlimitedexpirationDate - a ISO-8601 compliant date, null otherwiseServerFaultpublic void unShare(SecurityContext context, java.lang.String url) throws ServerFault
IFileHostingServiceunShare in interface IFileHostingServiceunShare in class WebDavFileHostingServicecontext - the securityContexturl - the share urlServerFaultCopyright © 2021. All Rights Reserved.