public interface IArchiveService
Modifier and Type | Method and Description |
---|---|
int |
generateArchive(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName,
String strArchiveType)
request for archiving an folder
|
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
|
void |
runGenerateArchive(StringBuilder sbLogs)
method for running the archive process
|
int generateArchive(String strFolderToArchive, String strArchiveDestination, String strArchiveName, String strArchiveType)
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,..)String informationArchive(int archiveItemKey)
archiveItemKey
- the archive idvoid removeArchive(int archiveItemKey)
archiveItemKey
- the archive idvoid runGenerateArchive(StringBuilder sbLogs)
sbLogs
- the process logCopyright © 2018 City of Paris. All rights reserved.