|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.archiveclient.service.archive.AbstractArchiveClientService
fr.paris.lutece.plugins.archiveclient.service.archive.ArchiveClientWsService
public class ArchiveClientWsService
ArchiveClientWsService
Constructor Summary | |
---|---|
ArchiveClientWsService()
|
Method Summary | |
---|---|
int |
generateArchive(java.lang.String strFolderToArchive,
java.lang.String strArchiveDestination,
java.lang.String strArchiveName,
java.lang.String strArchiveType)
request for archiving an folder |
java.lang.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 |
Methods inherited from class fr.paris.lutece.plugins.archiveclient.service.archive.AbstractArchiveClientService |
---|
getDownloadUrl, setRequestAuthenticatorForUrl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArchiveClientWsService()
Method Detail |
---|
public int generateArchive(java.lang.String strFolderToArchive, java.lang.String strArchiveDestination, java.lang.String strArchiveName, java.lang.String strArchiveType) throws ArchiveClientException
IArchiveClientService
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
public java.lang.String informationArchive(int archiveItemKey) throws ArchiveClientException
IArchiveClientService
archiveItemKey
- the archive id
ArchiveClientException
public void removeArchive(int archiveItemKey) throws ArchiveClientException
IArchiveClientService
archiveItemKey
- the archive id
ArchiveClientException
public void setRequestAuthenticatorForWS(fr.paris.lutece.util.signrequest.RequestAuthenticator requestAuthenticatorForWS)
requestAuthenticatorForWS
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |