fr.paris.lutece.plugins.ods.business.textelibre
Class TexteLibreHome

java.lang.Object
  extended by fr.paris.lutece.plugins.ods.business.textelibre.TexteLibreHome
All Implemented Interfaces:
IBusinessHome

public final class TexteLibreHome
extends java.lang.Object
implements IBusinessHome

TexteLibreHome


Method Summary
 int create(TexteLibre texteLibre, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Crée un nouveau fichier à partir de l’objet fichier passé en paramètre
 TexteLibre findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          renvoie le texteLibre ayant comme identifiant nKey
 void remove(TexteLibre texteLibre, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Supprime le fichier correspondant à l’objet fichier passé en paramètre
 void update(TexteLibre texteLibre, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Modifie le fichier correspondant à l’objet fichier passé en paramètre
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public int create(TexteLibre texteLibre,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Crée un nouveau fichier à partir de l’objet fichier passé en paramètre

Parameters:
texteLibre - le texteLibre à insérer
plugin - le Plugin actif
Returns:
int primaryKey

update

public void update(TexteLibre texteLibre,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modifie le fichier correspondant à l’objet fichier passé en paramètre

Parameters:
texteLibre - le texteLibre à modifier
plugin - le Plugin actif

remove

public void remove(TexteLibre texteLibre,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Supprime le fichier correspondant à l’objet fichier passé en paramètre

Parameters:
texteLibre - le texteLibre à supprimer
plugin - le Plugin actif

findByPrimaryKey

public TexteLibre findByPrimaryKey(int nKey,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
renvoie le texteLibre ayant comme identifiant nKey

Specified by:
findByPrimaryKey in interface IBusinessHome
Parameters:
nKey - idenfiant du texteLibre à supprimer
plugin - le Plugin actif
Returns:
un fichier


Copyright © 2010 Mairie de Paris. All Rights Reserved.