|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.archive.service.archive.ArchiveService
public class ArchiveService
implementation of @see IArchiveService
| Constructor Summary | |
|---|---|
ArchiveService()
|
|
| 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 |
fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Initialize the Form service |
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 |
runGenerateArchive(java.lang.StringBuilder sbLogs)
method for running the archive process |
void |
setGenerateArchiveServiceFactory(IGenerateArchiveServiceFactory _generaArchiveServiceFactory)
setter of _generaArchiveServiceFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveService()
| Method Detail |
|---|
public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
public int generateArchive(java.lang.String strFolderToArchive,
java.lang.String strArchiveDestination,
java.lang.String strArchiveName,
java.lang.String strArchiveType)
IArchiveService
generateArchive in interface IArchiveServicestrFolderToArchive - 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,..)
public java.lang.String informationArchive(int archiveItemKey)
IArchiveService
informationArchive in interface IArchiveServicearchiveItemKey - the archive id
public void removeArchive(int archiveItemKey)
IArchiveService
removeArchive in interface IArchiveServicearchiveItemKey - the archive idpublic void runGenerateArchive(java.lang.StringBuilder sbLogs)
IArchiveService
runGenerateArchive in interface IArchiveServicesbLogs - the process logpublic void setGenerateArchiveServiceFactory(IGenerateArchiveServiceFactory _generaArchiveServiceFactory)
_generaArchiveServiceFactory - _generaArchiveServiceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||