com.silverpeas.gallery.process.media
Class GalleryPasteMediaFileProcess
java.lang.Object
  
org.silverpeas.process.AbstractProcess<C>
      
org.silverpeas.process.management.AbstractFileProcess<GalleryProcessExecutionContext>
          
com.silverpeas.gallery.process.AbstractGalleryFileProcess
              
com.silverpeas.gallery.process.media.GalleryPasteMediaFileProcess
- All Implemented Interfaces: 
 - org.silverpeas.process.SilverpeasProcess<GalleryProcessExecutionContext>
 
public class GalleryPasteMediaFileProcess
- extends AbstractGalleryFileProcess
 
Process to paste a media on 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 | 
 
GalleryPasteMediaFileProcess
protected GalleryPasteMediaFileProcess(Media media,
                                       MediaPK fromMediaPk,
                                       boolean isCutted)
- Default hidden constructor
- Parameters:
 media - fromMediaPk - isCutted - 
 
getInstance
public static GalleryPasteMediaFileProcess getInstance(Media media,
                                                       MediaPK fromMediaPk,
                                                       boolean isCutted)
- Gets an instance
- Parameters:
 media - fromMediaPk - isCutted - 
- 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.