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

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

public class BlobStoreClientLocaleService
extends Object
implements fr.paris.lutece.plugins.blobstore.service.IBlobStoreClientService

BlobStoreClientLocaleService


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

Constructor Detail

BlobStoreClientLocaleService

public BlobStoreClientLocaleService()
Method Detail

getFileName

public String getFileName(String strUrl)
                   throws fr.paris.lutece.plugins.blobstore.service.BlobStoreClientException

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

doDeleteFile

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

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

doUploadFile

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

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

getFileUrl

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

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

doDownloadFile

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

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

doDownloadFile

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

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.