fr.paris.lutece.plugins.blobstoreclient.service
Class BlobStoreClientWebService

java.lang.Object
  extended by fr.paris.lutece.plugins.blobstoreclient.service.BlobStoreClientWebService
All Implemented Interfaces:
fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService

public class BlobStoreClientWebService
extends java.lang.Object
implements fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService

BlobStoreClientWebService


Constructor Summary
BlobStoreClientWebService()
           
 
Method Summary
 java.lang.String doDeleteFile(java.lang.String strBaseUrl, java.lang.String strBlobStore, java.lang.String strBlobKey)
          
 org.apache.commons.fileupload.FileItem doDownloadFile(java.lang.String strUrl)
          
 void doDownloadFile(java.lang.String strUrl, java.lang.String strFilePath)
          
 java.lang.String doUploadFile(java.lang.String strBaseUrl, org.apache.commons.fileupload.FileItem fileItem, java.lang.String strBlobStore)
          
 java.lang.String getFileName(java.lang.String strUrl)
          
 java.lang.String getFileUrl(java.lang.String strBaseUrl, java.lang.String strBlobStore, java.lang.String strBlobKey)
          
 void setWebServiceCaller(IWebServiceCaller webServiceCaller)
          Set the webservice caller
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobStoreClientWebService

public BlobStoreClientWebService()
Method Detail

setWebServiceCaller

public void setWebServiceCaller(IWebServiceCaller webServiceCaller)
Set the webservice caller

Parameters:
webServiceCaller - the webservice caller

getFileName

public java.lang.String getFileName(java.lang.String strUrl)
                             throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
getFileName in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

doDeleteFile

public java.lang.String doDeleteFile(java.lang.String strBaseUrl,
                                     java.lang.String strBlobStore,
                                     java.lang.String strBlobKey)
                              throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
doDeleteFile in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

doUploadFile

public java.lang.String doUploadFile(java.lang.String strBaseUrl,
                                     org.apache.commons.fileupload.FileItem fileItem,
                                     java.lang.String strBlobStore)
                              throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
doUploadFile in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

getFileUrl

public java.lang.String getFileUrl(java.lang.String strBaseUrl,
                                   java.lang.String strBlobStore,
                                   java.lang.String strBlobKey)
                            throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
getFileUrl in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

doDownloadFile

public void doDownloadFile(java.lang.String strUrl,
                           java.lang.String strFilePath)
                    throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
doDownloadFile in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

doDownloadFile

public org.apache.commons.fileupload.FileItem doDownloadFile(java.lang.String strUrl)
                                                      throws fr.paris.lutece.portal.service.blobstore.BlobStoreClientException

Specified by:
doDownloadFile in interface fr.paris.lutece.portal.service.blobstore.IBlobStoreClientService
Throws:
fr.paris.lutece.portal.service.blobstore.BlobStoreClientException


Copyright © 2012 Mairie de Paris. All Rights Reserved.