com.silverpeas.gallery.process.media
Class GalleryDeleteMediaFileProcess
java.lang.Object
org.silverpeas.process.AbstractProcess<C>
org.silverpeas.process.management.AbstractFileProcess<GalleryProcessExecutionContext>
com.silverpeas.gallery.process.AbstractGalleryFileProcess
com.silverpeas.gallery.process.media.GalleryDeleteMediaFileProcess
- All Implemented Interfaces:
- org.silverpeas.process.SilverpeasProcess<GalleryProcessExecutionContext>
public class GalleryDeleteMediaFileProcess
- extends AbstractGalleryFileProcess
Process to delete a media from file system
- Author:
- Yohann Chastagnier
Methods inherited from class org.silverpeas.process.management.AbstractFileProcess |
getProcessType, process |
Methods inherited from class org.silverpeas.process.AbstractProcess |
onFailure, onSuccessful |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GalleryDeleteMediaFileProcess
protected GalleryDeleteMediaFileProcess(Media media)
- Default hidden constructor
- Parameters:
media
-
getInstance
public static GalleryDeleteMediaFileProcess getInstance(Media media)
- Gets an instance
- Parameters:
media
-
- Returns:
processFiles
public void processFiles(GalleryProcessExecutionContext context,
org.silverpeas.process.session.ProcessSession session,
org.silverpeas.process.io.file.FileHandler fileHandler)
throws Exception
- Specified by:
processFiles
in class org.silverpeas.process.management.AbstractFileProcess<GalleryProcessExecutionContext>
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.