|
||||||||||
| 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.ArchiveClientLocalService
public class ArchiveClientLocalService
ArchiveClientLocalService
| Constructor Summary | |
|---|---|
ArchiveClientLocalService()
|
|
| 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 |
setArchiveService(fr.paris.lutece.plugins.archive.service.archive.IArchiveService archiveService)
Set the archive service |
| 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 ArchiveClientLocalService()
| Method Detail |
|---|
public int generateArchive(java.lang.String strFolderToArchive,
java.lang.String strArchiveDestination,
java.lang.String strArchiveName,
java.lang.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 problem
public java.lang.String informationArchive(int archiveItemKey)
throws ArchiveClientException
archiveItemKey - the archive id
ArchiveClientException - exception if there is a problem
public void removeArchive(int archiveItemKey)
throws ArchiveClientException
archiveItemKey - the archive id
ArchiveClientException - exception if there is a problempublic void setArchiveService(fr.paris.lutece.plugins.archive.service.archive.IArchiveService archiveService)
archiveService - the archive service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||