|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopiaHistoryService
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
|
| Method Summary | |
|---|---|
void |
clear(Date toDate)
Supprime tout l'historique jusqu'a la date passé en parametre |
List<String> |
findLastAction(int limit,
String user,
String type,
Integer... action)
Search TopiaId targeted by action and user. |
void |
keep(int number)
Ne garde dans l'historique que les number dernier elements |
void |
store(Date toDate,
Writer out)
Permet de stocker l'historique dans un writer (par exemple un fichier) |
| Methods inherited from interface org.nuiton.topia.framework.TopiaService |
|---|
getPersistenceClasses, getServiceName, postInit, preInit |
| Field Detail |
|---|
static final String SERVICE_NAME
| Method Detail |
|---|
void clear(Date toDate)
throws Exception
toDate - la derniere date effacé inclue
Exception - if any pb
void keep(int number)
throws Exception
number - le nombre d'element a conserver dans l'historique
Exception - if any pb
void store(Date toDate,
Writer out)
throws Exception
toDate - l'historique est sauve jusqu'a cette date incluseout - le flux sur lequel il faut ecrire l'historique
Exception - if any pb
List<String> findLastAction(int limit,
String user,
String type,
Integer... action)
throws Exception
limit - maximum number of result, -1 for alluser - TopiaId of user, can be null for all usertype - type of target search (fqn class) can be null for all objectaction - action as int that we want to search, can be an sum of
action wanted LOAD + UPDATE + DELETE + CREATE for all action
Exception - if any pb
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||