Class AbstractExportProcess
- java.lang.Object
-
- org.silverpeas.core.importexport.control.AbstractExportProcess
-
- Direct Known Subclasses:
ImportExport
public abstract class AbstractExportProcess extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractExportProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected File
createExportDir(UserDetail userDetail)
protected void
createZipFile(File fileExportDir, ExportReport exportReport)
protected String
generateExportDirName(UserDetail userDetail, String prefixName)
Generate export name as follow : "prefixNameAAAA-MM-JJ-hh'H'mm'm'ss's'_userId"
-
-
-
Method Detail
-
createExportDir
protected File createExportDir(UserDetail userDetail) throws ImportExportException
- Throws:
ImportExportException
-
createZipFile
protected void createZipFile(File fileExportDir, ExportReport exportReport) throws ImportExportException
- Throws:
ImportExportException
-
generateExportDirName
protected String generateExportDirName(UserDetail userDetail, String prefixName)
Generate export name as follow : "prefixNameAAAA-MM-JJ-hh'H'mm'm'ss's'_userId"- Parameters:
userDetail
- - the user detailprefixName
- : prefix export directory name- Returns:
- name of exported directory
-
-