Class GalleryExporter


  • @Service
    public class GalleryExporter
    extends org.silverpeas.core.importexport.control.AbstractExportProcess
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String EXPORT_ALBUM
      Optional export parameter giving the album which contains media to be performed.
      static String EXPORT_FOR_USER
      Expected export parameter giving the detail about the user that calls the export of media.
      static String EXPORT_PHOTOS
      Optional export parameter giving the media identifiers (photo) to be performed.
      static String EXPORT_RESOLUTION
      Expected export parameter giving the detail about the user that calls the export of media.
    • Constructor Summary

      Constructors 
      Constructor Description
      GalleryExporter()  
    • Field Detail

      • EXPORT_FOR_USER

        public static final String EXPORT_FOR_USER
        Expected export parameter giving the detail about the user that calls the export of media.
        See Also:
        Constant Field Values
      • EXPORT_RESOLUTION

        public static final String EXPORT_RESOLUTION
        Expected export parameter giving the detail about the user that calls the export of media.
        See Also:
        Constant Field Values
      • EXPORT_ALBUM

        public static final String EXPORT_ALBUM
        Optional export parameter giving the album which contains media to be performed.
        See Also:
        Constant Field Values
      • EXPORT_PHOTOS

        public static final String EXPORT_PHOTOS
        Optional export parameter giving the media identifiers (photo) to be performed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GalleryExporter

        public GalleryExporter()
    • Method Detail

      • exportAlbum

        public void exportAlbum​(org.silverpeas.core.importexport.ImportExportDescriptor exportDescriptor,
                                org.silverpeas.core.importexport.report.ExportReport exportReport)
                         throws org.silverpeas.core.importexport.ExportException
        Throws:
        org.silverpeas.core.importexport.ExportException
      • exportPhysicalMedias

        public void exportPhysicalMedias​(org.silverpeas.core.importexport.ImportExportDescriptor exportDescriptor,
                                         List<Media> medias,
                                         org.silverpeas.core.importexport.report.ExportReport exportReport)
                                  throws org.silverpeas.core.importexport.ExportException
        Throws:
        org.silverpeas.core.importexport.ExportException