com.silverpeas.kmelia.export
Interface ExportFileNameProducer
- All Known Implementing Classes: 
 - DefaultExportFileNameProducer, KmeliaSessionController
 
public interface ExportFileNameProducer
A producer of names of files used in the export process.
 The producer of file names encapsulates the strategy used in the generation of file names for the
 publications export.
 
 The produce of file names depends not only on the publication to export in the file but also on
 the context within which the export will occur. So that, a producer is get for a specific
 Kmelia session controller that wraps that context.
 
getPublicationExportFileName
String getPublicationExportFileName(KmeliaPublication publication,
                                    String language)
- Gets the name of the file into which the specified publication can be exported, whatever the
 format of the export file.
- Parameters:
 publication - the Kmelia publication to export.language - the language in which the file should be named. This parameter can be not taken
 into account in the file name computation by the implementation (depends on the strategy used
 in the name production).
- Returns:
 - the name of the file into which the publication can be exported.
 
 
 
Copyright © 2016 Silverpeas. All Rights Reserved.