fr.paris.lutece.plugins.directory.modules.pdfproducerarchive.utils
Class FilesUtils

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.modules.pdfproducerarchive.utils.FilesUtils

public final class FilesUtils
extends Object

FilesUtils


Method Summary
static String builNamePathBasket(int nIdAdminUser, int nIdDirectory)
          build path name to generate files
static void cleanTemporyZipDirectory(String strTempDirectory)
          method to clean a specific repository
static void createTemporyZipDirectory(String strPath)
          method to create a specific repository
static void getAllFilesRecorded(fr.paris.lutece.portal.business.user.AdminUser adminUser, String strTempDirectoryExtract, List<Integer> listIdEntryConfig, int nIdRecord)
          Thie method get all recorded files
static void getAllFilesRecorded(javax.servlet.http.HttpServletRequest request, String strTempDirectoryExtract, List<Integer> listIdEntryConfig, int nIdRecord)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cleanTemporyZipDirectory

public static void cleanTemporyZipDirectory(String strTempDirectory)
method to clean a specific repository

Parameters:
strTempDirectory - name of repository

createTemporyZipDirectory

public static void createTemporyZipDirectory(String strPath)
method to create a specific repository

Parameters:
strPath - repository path

getAllFilesRecorded

@Deprecated
public static void getAllFilesRecorded(javax.servlet.http.HttpServletRequest request,
                                                  String strTempDirectoryExtract,
                                                  List<Integer> listIdEntryConfig,
                                                  int nIdRecord)
Deprecated. 

Thie method get all recorded files

Parameters:
request - request
strTempDirectoryExtract - the temporary directory for extraction
listIdEntryConfig - config list of id entry
nIdRecord - the id record

getAllFilesRecorded

public static void getAllFilesRecorded(fr.paris.lutece.portal.business.user.AdminUser adminUser,
                                       String strTempDirectoryExtract,
                                       List<Integer> listIdEntryConfig,
                                       int nIdRecord)
Thie method get all recorded files

Parameters:
adminUser - The adminUser
locale - The locale
strTempDirectoryExtract - the temporary directory for extraction
listIdEntryConfig - config list of id entry
nIdRecord - the id record

builNamePathBasket

public static String builNamePathBasket(int nIdAdminUser,
                                        int nIdDirectory)
build path name to generate files

Parameters:
nIdAdminUser - id admin user
nIdDirectory - id directory
Returns:
strPathBasket


Copyright © 2013 Mairie de Paris. All Rights Reserved.