|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.modules.pdfproducerarchive.service.ZipService
public final class ZipService
ZipUtils
| Field Summary | |
|---|---|
static String |
ARCHIVE_STATE_ERROR
|
static String |
ARCHIVE_STATE_FINAL
|
static String |
ARCHIVE_STATE_INITIAL
|
static String |
ARCHIVE_STATE_USED
|
static String |
EXTENSION_FILE_PDF
|
static String |
EXTENSION_FILE_ZIP
|
static String |
PROPERTY_ZIP_NAME_REPOSITORY
|
| Method Summary | |
|---|---|
int |
doBasicZip(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName,
String strArchiveType)
Method to do zip |
boolean |
doDeleteZip(String strIdRecord,
int nArchiveItemKey,
int nIdKeyUser,
int nIdDirectory,
String zipName)
Method to delete zip |
int |
doGeneratePDFAndZip(fr.paris.lutece.portal.business.user.AdminUser adminUser,
Locale locale,
String strName,
int nIdKeyUser,
int nIdDirectory,
List<Integer> listIdEntryConfig,
int nIdRecord)
Method to generate zip |
int |
doGeneratePDFAndZip(javax.servlet.http.HttpServletRequest request,
String strName,
int nIdKeyUser,
int nIdDirectory,
List<Integer> listIdEntryConfig,
int nIdRecord)
Method to generate zip |
String |
getStatutZip(int nArchiveItemKey)
Method to get the zip status |
String |
getUrlZip(int nArchiveItemKey)
Method to get the url zip |
void |
setArchiveClientService(fr.paris.lutece.plugins.archiveclient.service.archive.IArchiveClientService archiveClientService)
Method to set _archiveClientService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ARCHIVE_STATE_INITIAL
public static final String ARCHIVE_STATE_USED
public static final String ARCHIVE_STATE_ERROR
public static final String ARCHIVE_STATE_FINAL
public static final String PROPERTY_ZIP_NAME_REPOSITORY
public static final String EXTENSION_FILE_ZIP
public static final String EXTENSION_FILE_PDF
| Method Detail |
|---|
public int doGeneratePDFAndZip(javax.servlet.http.HttpServletRequest request,
String strName,
int nIdKeyUser,
int nIdDirectory,
List<Integer> listIdEntryConfig,
int nIdRecord)
request - requeststrName - directory namenIdKeyUser - id key usernIdDirectory - id directorylistIdEntryConfig - config to build pdfnIdRecord - the id record
public int doGeneratePDFAndZip(fr.paris.lutece.portal.business.user.AdminUser adminUser,
Locale locale,
String strName,
int nIdKeyUser,
int nIdDirectory,
List<Integer> listIdEntryConfig,
int nIdRecord)
adminUser - The adminUserlocale - The localestrName - directory namenIdKeyUser - id key usernIdDirectory - id directorylistIdEntryConfig - config to build pdfnIdRecord - the id record
public boolean doDeleteZip(String strIdRecord,
int nArchiveItemKey,
int nIdKeyUser,
int nIdDirectory,
String zipName)
strIdRecord - id recordnArchiveItemKey - id archive itemnIdKeyUser - id user keynIdDirectory - id directoryzipName - zip name
public int doBasicZip(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName,
String strArchiveType)
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,..)
public String getStatutZip(int nArchiveItemKey)
nArchiveItemKey - id of archive item
public String getUrlZip(int nArchiveItemKey)
nArchiveItemKey - id of archive item
public void setArchiveClientService(fr.paris.lutece.plugins.archiveclient.service.archive.IArchiveClientService archiveClientService)
archiveClientService - archiveClientService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||