|
||||||||||
| 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(boolean convertUrl,
String fileName,
String formId)
Download file. |
File |
downloadFormAttachment(String uri)
Download file. |
File |
downloadFormAttachment(String fileName,
String formId)
Download file. |
File |
downloadFormEmbeddedFile(boolean convertUrl,
String fileName,
String formId)
Download file. |
File |
downloadFormEmbeddedFile(String uri)
Download file. |
File |
downloadFormEmbeddedFile(String fileName,
String formId)
Download file. |
File |
downloadPDF(boolean convertUrl,
String uri)
Download pdf file. |
File |
downloadPDF(String uri)
Download pdf file. |
File |
downloadRequestHistory(boolean convertUrl,
String uri)
Download request histiory file. |
File |
downloadRequestHistory(String uri)
Download request histiory file. |
File |
downloadTemplate(boolean convertUrl,
String extensionName,
String templateName)
Download file. |
File |
downloadTemplate(String extensionName,
String templateName)
Download file. |
File |
downloadWebHarvestScript(boolean convertUrl,
String uri)
Download file. |
File |
downloadWebHarvestScript(String uri)
Download file. |
String |
getFormEmbeddedUrl(String fileName,
String formId)
|
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 File downloadTemplate(boolean convertUrl,
String extensionName,
String templateName)
throws VradiException
FileService
downloadTemplate in interface FileServiceconvertUrl - if convertion url is necessaryextensionName - extension nametemplateName - template name
VradiException - throw VradiException if exception is occured
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 downloadWebHarvestScript(boolean convertUrl,
String uri)
FileService
downloadWebHarvestScript in interface FileServiceconvertUrl - if convertion url is necessaryuri - file uri to download
public File downloadPDF(String uri)
FileService
downloadPDF in interface FileServiceuri - file uri to download
public File downloadPDF(boolean convertUrl,
String uri)
FileService
downloadPDF in interface FileServiceconvertUrl - if convertion url is necessaryuri - 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 File downloadFormAttachment(String fileName,
String formId)
FileService
downloadFormAttachment in interface FileServicefileName - to downloadformId - concerned
public File downloadFormAttachment(boolean convertUrl,
String fileName,
String formId)
FileService
downloadFormAttachment in interface FileServiceconvertUrl - if convertion url is necessary
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 downloadFormEmbeddedFile(String fileName,
String formId)
FileService
downloadFormEmbeddedFile in interface FileServicefileName - to downloadformId - form id
public File downloadFormEmbeddedFile(boolean convertUrl,
String fileName,
String formId)
FileService
downloadFormEmbeddedFile in interface FileServiceconvertUrl - if convertion url is necessaryfileName - to downloadformId - form id
public String getFormEmbeddedUrl(String fileName,
String formId)
throws VradiException
getFormEmbeddedUrl in interface FileServiceVradiException
public File downloadRequestHistory(String uri)
throws VradiException
FileService
downloadRequestHistory in interface FileServiceuri - corresponding to history
VradiException - throw VradiException if exception is occured
public File downloadRequestHistory(boolean convertUrl,
String uri)
throws VradiException
FileService
downloadRequestHistory in interface FileServiceconvertUrl - if convertion url is necessaryuri - 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 | |||||||||