|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.FileServiceImpl
public class FileServiceImpl
File service impl.
| Constructor Summary | |
|---|---|
FileServiceImpl()
|
|
| Method Summary | |
|---|---|
File |
downloadFormAttachment(String uri)
Download file. |
File |
downloadFormEmbeddedFile(String uri)
Download file. |
File |
downloadPDF(String uri)
Download pdf file. |
File |
downloadRequestHistory(String uri)
Download request histiory file. |
File |
downloadTemplate(String extensionName,
String templateName)
Download file. |
File |
downloadWebHarvestScript(String uri)
Download file. |
String |
getRequestHistoryURL(String uri)
Download request histiory file. |
String |
uploadFormAttachment(File file,
String formId)
Upload a form attachment. |
String |
uploadFormEmbeddedFile(File file,
String formId)
Upload a form attachement. |
String |
uploadTempFile(File file)
Upload a temporary file (for example for export). |
String |
uploadTemplate(File file,
String extensionName)
Upload a template on server. |
String |
uploadWebHarvestScript(File file)
Upload a web harvest script on server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileServiceImpl()
| Method Detail |
|---|
public String uploadTemplate(File file,
String extensionName)
throws VradiException
FileService
uploadTemplate in interface FileServicefile - file to uploadextensionName - extension name to put file into
VradiException - throw VradiException if exception is occured
public File downloadTemplate(String extensionName,
String templateName)
FileService
downloadTemplate in interface FileServiceextensionName - extension nametemplateName - template name
public String uploadWebHarvestScript(File file)
throws VradiException
FileService
uploadWebHarvestScript in interface FileServicefile - file to upload
VradiException - throw VradiException if exception is occuredpublic File downloadWebHarvestScript(String uri)
FileService
downloadWebHarvestScript in interface FileServiceuri - file uri to download
public File downloadPDF(String uri)
FileService
downloadPDF in interface FileServiceuri - file uri to download
public String uploadFormAttachment(File file,
String formId)
throws VradiException
FileService
uploadFormAttachment in interface FileServicefile - file to uploadformId - form id
VradiException - if an exception occurred
public String uploadTempFile(File file)
throws VradiException
FileService
uploadTempFile in interface FileServicefile - The file to upload
VradiException - if an exception occurredpublic File downloadFormAttachment(String uri)
FileService
downloadFormAttachment in interface FileServiceuri - file uri to download
public String uploadFormEmbeddedFile(File file,
String formId)
throws VradiException
FileService
uploadFormEmbeddedFile in interface FileServicefile - file to uploadformId - form id
VradiException - throw VradiException if exception is occuredpublic File downloadFormEmbeddedFile(String uri)
FileService
downloadFormEmbeddedFile in interface FileServiceuri - file uri to download
public File downloadRequestHistory(String uri)
throws VradiException
FileService
downloadRequestHistory in interface FileServiceuri - corresponding to history
VradiException - throw VradiException if exception is occured
public String getRequestHistoryURL(String uri)
throws VradiException
FileService
getRequestHistoryURL in interface FileServiceuri - corresponding to history
VradiException - throw VradiException if exception is occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||