Class NotesExportService

java.lang.Object
org.exoplatform.wiki.service.NotesExportService
All Implemented Interfaces:
org.picocontainer.Startable

public class NotesExportService extends Object implements org.picocontainer.Startable
  • Constructor Details

    • NotesExportService

      public NotesExportService(NoteService noteService, WikiService wikiService, org.exoplatform.social.common.service.HTMLUploadImageProcessor htmlUploadImageProcessor)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable
    • cleanUp

      public static void cleanUp(File file) throws IOException
      Throws:
      IOException
    • startExportNotes

      public void startExportNotes(int exportId, String[] notesToExportIds, boolean exportAll, org.exoplatform.services.security.Identity identity) throws Exception
      Throws:
      Exception
    • cancelExportNotes

      public void cancelExportNotes(int exportId)
    • removeExportResource

      public void removeExportResource(int exportId)
    • getExportedNotes

      public byte[] getExportedNotes(int exportId) throws IOException
      Throws:
      IOException
    • getStatus

      public ExportingStatus getStatus(int exportId)
    • getExportRessourceById

      public ExportResource getExportRessourceById(int id)