|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectatg.util.service.ATGBasicClass
atg.metier.entite.ATGCycleDeVieHibernateHelper<Y>
public class ATGCycleDeVieHibernateHelper<Y extends ATGIEntite>
| Field Summary |
|---|
| Fields inherited from class atg.util.service.ATGBasicClass |
|---|
logger_ |
| Method Summary | ||
|---|---|---|
int |
countByCritere(ATGListCritereValue critere)
Compte le nombre de réponses à partir de critères |
|
void |
create(Y entite)
Création (par/avec persistance) d'un BusinessObject à partir d'un ValueObject |
|
ATGIListEntity<Y> |
findAll()
|
|
ATGIListEntity<Y> |
findByCritere(ATGListCritereValue critere)
Recherche de plusieurs BusinessObject à partir de critères |
|
ATGIListEntity<Y> |
findByCritere(ATGListCritereValue critere,
int niveau)
Recherche de plusieurs BusinessObject à partir de critères |
|
Y |
findByIdentifiant(ATGIdentifiant identifiant)
Recherche d'un BusinessObject à partir de son identifiant |
|
Y |
findByIdentifiant(ATGIdentifiant identifiant,
int niveau)
Recherche d'un BusinessObject à partir de son identifiant avec spécification du niveau de l'arborescence |
|
static
|
getInstance(java.lang.Class<K> classParam)
|
|
void |
modify(Y entite)
Modification (par/avec persistance) d'un BusinessObject à partir d'un ValueObject |
|
void |
remove(ATGIdentifiant identifiant)
Suppression (par/avec persistance) d'un BusinessObject à partir d'un identifiant |
|
void |
transactionBegin()
|
|
void |
transactionCommit()
|
|
void |
transactionRollback()
|
|
| Methods inherited from class atg.util.service.ATGBasicClass |
|---|
getLogger, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <K extends ATGIEntite> ATGICycleDeVie<K> getInstance(java.lang.Class<K> classParam)
public int countByCritere(ATGListCritereValue critere)
throws ATGDaoAccessSupportException
ATGICycleDeVie
countByCritere in interface ATGICycleDeVie<Y extends ATGIEntite>critere - ATGCritereValue critere de la recherche
ATGDaoAccessSupportException
public void create(Y entite)
throws ATGDaoAccessSupportException,
ATGEntiteDataException
ATGICycleDeVie
create in interface ATGICycleDeVie<Y extends ATGIEntite>entite - ATGIEntite Value Object à fusionner
ATGDaoAccessSupportException
ATGEntiteDataException
public ATGIListEntity<Y> findAll()
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
findAll in interface ATGICycleDeVie<Y extends ATGIEntite>ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public ATGIListEntity<Y> findByCritere(ATGListCritereValue critere,
int niveau)
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
ATGICycleDeVie
findByCritere in interface ATGICycleDeVie<Y extends ATGIEntite>critere - ATGCritereValue critere de la rechercheniveau - int Niveau d'arborescence souhaité pour le chargement des
objets en cascade
ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public ATGIListEntity<Y> findByCritere(ATGListCritereValue critere)
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
ATGICycleDeVie
findByCritere in interface ATGICycleDeVie<Y extends ATGIEntite>critere - ATGCritereValue critere de la recherche
ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public Y findByIdentifiant(ATGIdentifiant identifiant,
int niveau)
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
ATGICycleDeVie
findByIdentifiant in interface ATGICycleDeVie<Y extends ATGIEntite>identifiant - Object identifiant du BusinessObject
ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public Y findByIdentifiant(ATGIdentifiant identifiant)
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
ATGICycleDeVie
findByIdentifiant in interface ATGICycleDeVie<Y extends ATGIEntite>identifiant - atg.util.service.identifiant.ATGIdentifiant identifiant du
BusinessObject
ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public void modify(Y entite)
throws ATGDaoAccessSupportException,
ATGEntiteDataException,
ATGDaoDataNotFoundException
ATGICycleDeVie
modify in interface ATGICycleDeVie<Y extends ATGIEntite>entite - ATGIEntite Value Object à fusionner
ATGDaoAccessSupportException
ATGEntiteDataException
ATGDaoDataNotFoundException
public void remove(ATGIdentifiant identifiant)
throws ATGDaoAccessSupportException,
ATGDaoDataNotFoundException
ATGICycleDeVie
remove in interface ATGICycleDeVie<Y extends ATGIEntite>identifiant - Object Value Object à supprimer
ATGDaoAccessSupportException
ATGDaoDataNotFoundException
public void transactionBegin()
throws ATGDaoAccessSupportException
ATGDaoAccessSupportException
public void transactionRollback()
throws ATGDaoAccessSupportException
ATGDaoAccessSupportException
public void transactionCommit()
throws ATGDaoAccessSupportException
ATGDaoAccessSupportException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||