edu.jhu.tmaj.beans.exfile.data
Class ExternalFileClient

java.lang.Object
  extended by edu.jhu.tmaj.beans.exfile.data.ExternalFileClient

public final class ExternalFileClient
extends java.lang.Object


Method Summary
 ExternalFolder createFolder(java.lang.String folderName, ExternalFolder parentExternalFolder)
           
 void deleteFolderAndSubFolders(ExternalFolder externalFolder)
           
 void downloadFile(ExternalFile externalFile)
           
 java.util.List<ExternalFile> getExternalFiles(ExternalFolder folder)
           
static ExternalFileClient getInstance()
           
 java.util.List<ExternalFolder> getParentExternalFolders()
           
 java.util.List<ExternalFolder> getSubFolders(ExternalFolder folder)
           
 ExternalFile uploadFile(ExternalFolder externalFolder, java.io.File localFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ExternalFileClient getInstance()

createFolder

public ExternalFolder createFolder(java.lang.String folderName,
                                   ExternalFolder parentExternalFolder)
                            throws java.io.IOException
Throws:
java.io.IOException

deleteFolderAndSubFolders

public void deleteFolderAndSubFolders(ExternalFolder externalFolder)

getParentExternalFolders

public java.util.List<ExternalFolder> getParentExternalFolders()

getSubFolders

public java.util.List<ExternalFolder> getSubFolders(ExternalFolder folder)

getExternalFiles

public java.util.List<ExternalFile> getExternalFiles(ExternalFolder folder)

uploadFile

public ExternalFile uploadFile(ExternalFolder externalFolder,
                               java.io.File localFile)
                        throws java.io.IOException
Throws:
java.io.IOException

downloadFile

public void downloadFile(ExternalFile externalFile)
                  throws java.io.IOException
Throws:
java.io.IOException