| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.kmelia.export.KmeliaPublicationExporter
public class KmeliaPublicationExporter
An exporter of Kmelia publications into a document in a given format. This exporter waits for the following parameters in the export descriptor:
| Field Summary | |
|---|---|
static String | 
EXPORT_FOR_USER
Expected export parameter giving the detail about the user that calls the export of a publication.  | 
static String | 
EXPORT_LANGUAGE
Expected export parameter giving the language with which the export of a publication has to be performed.  | 
static String | 
EXPORT_TOPIC
Optional export parameter giving the topic within which the export of a publication has to be performed.  | 
| Constructor Summary | |
|---|---|
KmeliaPublicationExporter()
 | 
|
| Method Summary | |
|---|---|
static KmeliaPublicationExporter | 
aKmeliaPublicationExporter()
Gets a new exporter of Kmelia publications.  | 
 void | 
export(com.silverpeas.export.ExportDescriptor descriptor,
       KmeliaPublication publication)
Only the first publication is taken in charge by this exporter.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String EXPORT_FOR_USER
public static final String EXPORT_LANGUAGE
public static final String EXPORT_TOPIC
| Constructor Detail | 
|---|
public KmeliaPublicationExporter()
| Method Detail | 
|---|
public static KmeliaPublicationExporter aKmeliaPublicationExporter()
public void export(com.silverpeas.export.ExportDescriptor descriptor,
                   KmeliaPublication publication)
            throws com.silverpeas.export.ExportException
export in interface com.silverpeas.export.Exporter<KmeliaPublication>descriptor - the descriptor providing enough information about the export to perform
 (document name, user for which the export is, the language in which the export has to be done,
 ...)publication - the publication to export. If several publications are passed as parameter,
 only the first one is taken.
com.silverpeas.export.ExportException - if an error occurs while exporting the publication.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||