public interface IArchiveClientService
Modifier and Type | Method and Description |
---|---|
int |
generateArchive(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName,
String strArchiveType)
request for archiving an folder
|
String |
getDownloadUrl(int archiveItemKey)
get the url of the archive with the ID parameter is provided
|
String |
informationArchive(int archiveItemKey)
return the state of the archive with the ID parameter is provided
|
void |
removeArchive(int archiveItemKey)
Remove the archive with the ID parameter is provided
|
int generateArchive(String strFolderToArchive, String strArchiveDestination, String strArchiveName, String strArchiveType) throws ArchiveClientException
strFolderToArchive
- path to the folder to archivestrArchiveDestination
- path to the destination folder which will store the archivestrArchiveName
- the name of the archivestrArchiveType
- the archive type(zip,..)ArchiveClientException
- exception if there is a problemString informationArchive(int archiveItemKey) throws ArchiveClientException
archiveItemKey
- the archive idArchiveClientException
- exception if there is a problemvoid removeArchive(int archiveItemKey) throws ArchiveClientException
archiveItemKey
- the archive idArchiveClientException
- exception if there is a problemString getDownloadUrl(int archiveItemKey)
archiveItemKey
- the archive idCopyright © 2018 City of Paris. All rights reserved.