fr.paris.lutece.plugins.archiveclient.service.archive
Class ArchiveClientLocalService
java.lang.Object
fr.paris.lutece.plugins.archiveclient.service.archive.AbstractArchiveClientService
fr.paris.lutece.plugins.archiveclient.service.archive.ArchiveClientLocalService
- All Implemented Interfaces:
- IArchiveClientService
public class ArchiveClientLocalService
- extends AbstractArchiveClientService
- Author:
- merlinfe
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveClientLocalService
public ArchiveClientLocalService()
generateArchive
public int generateArchive(java.lang.String strFolderToArchive,
java.lang.String strArchiveDestination,
java.lang.String strArchiveName,
java.lang.String strArchiveType)
throws ArchiveClientException
- Description copied from interface:
IArchiveClientService
- request for archiving an folder
- Parameters:
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,..)
- Returns:
- the archive id
- Throws:
ArchiveClientException
informationArchive
public java.lang.String informationArchive(int archiveItemKey)
throws ArchiveClientException
- Description copied from interface:
IArchiveClientService
- return the state of the archive with the ID parameter is provided
- Parameters:
archiveItemKey
- the archive id
- Returns:
- the state of the archive
- Throws:
ArchiveClientException
removeArchive
public void removeArchive(int archiveItemKey)
throws ArchiveClientException
- Description copied from interface:
IArchiveClientService
- remove the archive with the ID parameter is provided
- Parameters:
archiveItemKey
- the archive id
- Throws:
ArchiveClientException
setArchiveService
public void setArchiveService(fr.paris.lutece.plugins.archive.service.archive.IArchiveService archiveService)
Copyright © 2011 Mairie de Paris. All Rights Reserved.