public interface NomadeService
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_ID
Identifiant du service
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldStoreInHistory() |
void |
traceCreation(Object bean,
String identField,
boolean storeIdent,
String[] excludedFields)
Trace la création d'un élément en base de données
|
void |
traceModification(Object avantModification,
Object apresModification,
String identField,
String[] excludedFields)
Trace la modication d'un élément en base de données
|
static final String SERVICE_ID
void traceCreation(Object bean, String identField, boolean storeIdent, String[] excludedFields)
bean
- bean à enregistreridentField
- champs contenant la clé primairestoreIdent
- si true
, on stocke la clé primaireexcludedFields
- champs qui ne doivent pas être historisésvoid traceModification(Object avantModification, Object apresModification, String identField, String[] excludedFields)
avantModification
- bean avant modificationapresModification
- bean après modificationidentField
- champs identifiantexcludedFields
- champs qui ne doivent pas être historisésboolean shouldStoreInHistory()
Copyright © 2016. All rights reserved.