org.genealogie.bean.defaut
Class DocumentImpl

java.lang.Object
  |
  +--org.genealogie.bean.GenericBean
        |
        +--org.genealogie.bean.Document
              |
              +--org.genealogie.bean.defaut.DocumentImpl
All Implemented Interfaces:
StandardBean

public class DocumentImpl
extends Document
implements StandardBean

Classe représentant un document.

Version:
$Revision: 1.15 $, $Date: 2003/03/26 14:46:51 $
Author:
Templth

Field Summary
static java.lang.String DOCUMENT_NON_TROUVE
           
 
Fields inherited from class org.genealogie.bean.Document
commentaires, date, id, margeCommentaires, nom, source, transcription, type, url
 
Fields inherited from class org.genealogie.bean.GenericBean
connection, factory
 
Constructor Summary
DocumentImpl(FactoryDAO factory, int id)
          Constructeur avec l'identifiant d'un document.
 
Method Summary
 void create()
          Cette méthode permet d'insérer un document.
 DocumentUtils getDocumentUtils()
           
 void load()
          Cette méthode permet de charger les informations du document.
 void remove()
          Cette méthode permet de supprimer un document.
 void store()
          Cette méthode permet de sauvegarder les informations du document.
 
Methods inherited from class org.genealogie.bean.Document
getCommentaires, getDate, getId, getMargeCommentaires, getNom, getSource, getType, getUrl, isTranscription, setCommentaires, setDate, setId, setMargeCommentaires, setNom, setSource, setTranscription, setType, setUrl
 
Methods inherited from class org.genealogie.bean.GenericBean
contient, getConnection, getTokens
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

DOCUMENT_NON_TROUVE

public static java.lang.String DOCUMENT_NON_TROUVE
Constructor Detail

DocumentImpl

public DocumentImpl(FactoryDAO factory,
                    int id)

Constructeur avec l'identifiant d'un document.

Parameters:
id - l'identifiant d'un document
Method Detail

create

public void create()
            throws JGeneaException

Cette méthode permet d'insérer un document.

Specified by:
create in interface StandardBean

load

public void load()
          throws JGeneaException

Cette méthode permet de charger les informations du document.

Specified by:
load in interface StandardBean

store

public void store()
           throws JGeneaException

Cette méthode permet de sauvegarder les informations du document.

Specified by:
store in interface StandardBean

remove

public void remove()
            throws JGeneaException

Cette méthode permet de supprimer un document.

Specified by:
remove in interface StandardBean

getDocumentUtils

public DocumentUtils getDocumentUtils()


Copyright © 2002 JGenea DAO. All Rights Reserved.