public class ArchiveClientWsService extends AbstractArchiveClientService
Constructor and Description |
---|
ArchiveClientWsService() |
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 |
setRequestAuthenticatorForWS(fr.paris.lutece.util.signrequest.RequestAuthenticator requestAuthenticatorForWS)
Setter method for requestAuthenticatorForWS
|
getDownloadUrl, setRequestAuthenticatorForUrl
public 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 problempublic String informationArchive(int archiveItemKey) throws ArchiveClientException
archiveItemKey
- the archive idArchiveClientException
- exception if there is a problempublic void removeArchive(int archiveItemKey) throws ArchiveClientException
archiveItemKey
- the archive idArchiveClientException
- exception if there is a problempublic void setRequestAuthenticatorForWS(fr.paris.lutece.util.signrequest.RequestAuthenticator requestAuthenticatorForWS)
requestAuthenticatorForWS
- the request authenticatorCopyright © 2018 City of Paris. All rights reserved.