Class GalleryCreateMediaDataProcess

  • All Implemented Interfaces:
    org.silverpeas.core.process.SilverpeasProcess<org.silverpeas.core.process.management.ProcessExecutionContext>

    public class GalleryCreateMediaDataProcess
    extends AbstractGalleryDataProcess
    Process to create a media in Database
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • GalleryCreateMediaDataProcess

        protected GalleryCreateMediaDataProcess​(Media media,
                                                String albumId,
                                                MediaDataCreateDelegate delegate)
        Default hidden constructor
        Parameters:
        media -
        delegate -
    • Method Detail

      • processData

        protected void processData​(org.silverpeas.core.process.management.ProcessExecutionContext context,
                                   org.silverpeas.core.process.session.ProcessSession session)
                            throws Exception
        Specified by:
        processData in class AbstractGalleryDataProcess
        Throws:
        Exception
      • onSuccessful

        public void onSuccessful()
                          throws Exception
        Specified by:
        onSuccessful in interface org.silverpeas.core.process.SilverpeasProcess<org.silverpeas.core.process.management.ProcessExecutionContext>
        Overrides:
        onSuccessful in class org.silverpeas.core.process.AbstractProcess<org.silverpeas.core.process.management.ProcessExecutionContext>
        Throws:
        Exception