Package org.exoplatform.wiki.service
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 Summary
Constructors Constructor Description NotesExportService(NoteService noteService, WikiService wikiService, org.exoplatform.social.common.service.HTMLUploadImageProcessor htmlUploadImageProcessor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelExportNotes(int exportId)static voidcleanUp(File file)byte[]getExportedNotes(int exportId)ExportResourcegetExportRessourceById(int id)ExportingStatusgetStatus(int exportId)voidremoveExportResource(int exportId)voidstart()voidstartExportNotes(int exportId, String[] notesToExportIds, boolean exportAll, org.exoplatform.services.security.Identity identity)voidstop()
-
-
-
Constructor Detail
-
NotesExportService
public NotesExportService(NoteService noteService, WikiService wikiService, org.exoplatform.social.common.service.HTMLUploadImageProcessor htmlUploadImageProcessor)
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()
- Specified by:
stopin interfaceorg.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)
-
-