fr.paris.lutece.plugins.ods.business.typeentite
Class TypeEntiteHome

java.lang.Object
  extended by fr.paris.lutece.plugins.ods.business.typeentite.TypeEntiteHome

public final class TypeEntiteHome
extends java.lang.Object

EntiteActeHome


Method Summary
 void create(TypeEntite entite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Crée une nouvelle entite à partir de l’objet entite passé en paramètre
 TypeEntite findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          renvoie l'entite ayant comme identifiant nKey
 java.util.List<TypeEntite> findEntiteActesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          renvoie la liste des entite
 void remove(TypeEntite entite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Supprime l'acte correspondant à l’objet acte passé en paramètre
 void update(TypeEntite entite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Modifie l'acte correspondant à l’objet entiteActe 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 void create(TypeEntite entite,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Crée une nouvelle entite à partir de l’objet entite passé en paramètre

Parameters:
entite - la nature à insérer
plugin - Plugin

update

public void update(TypeEntite entite,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modifie l'acte correspondant à l’objet entiteActe passé en paramètre

Parameters:
entite - l'entite à modifier
plugin - Plugin

remove

public void remove(TypeEntite entite,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
            throws fr.paris.lutece.portal.service.util.AppException
Supprime l'acte correspondant à l’objet acte passé en paramètre

Parameters:
entite - l'entite à supprimer
plugin - Plugin
Throws:
fr.paris.lutece.portal.service.util.AppException - exception levé si une dependance existe

findByPrimaryKey

public TypeEntite findByPrimaryKey(int nKey,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
renvoie l'entite ayant comme identifiant nKey

Parameters:
nKey - idenfiant de l'entite
plugin - Plugin
Returns:
objet entiteActe

findEntiteActesList

public java.util.List<TypeEntite> findEntiteActesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
renvoie la liste des entite

Parameters:
plugin - Plugin
Returns:
liste d'objets entite


Copyright © 2010 Mairie de Paris. All Rights Reserved.