fr.paris.lutece.plugins.quiz.business.images
Class QuizImageHome

java.lang.Object
  extended by fr.paris.lutece.plugins.quiz.business.images.QuizImageHome

public final class QuizImageHome
extends Object

Home for images of quiz's questions


Method Summary
static QuizImage getImage(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the image associated with a question
static void insertImage(QuizImage quizImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert an image
static void removeImage(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove an image
static void updateImage(QuizImage quizImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update an image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImage

public static QuizImage getImage(int nIdImage,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the image associated with a question

Parameters:
nIdImage - The id of the image
plugin - The plugin
Returns:
The image

insertImage

public static void insertImage(QuizImage quizImage,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert an image

Parameters:
quizImage - The image to insert
plugin - The plugin

updateImage

public static void updateImage(QuizImage quizImage,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an image

Parameters:
quizImage - The image to insert
plugin - The plugin

removeImage

public static void removeImage(int nIdImage,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an image

Parameters:
nIdImage - The id of the image to remove
plugin - The plugin


Copyright © 2014 Mairie de Paris. All Rights Reserved.