|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HistoryTrackerEngine
History tracker service
| Method Summary | |
|---|---|
java.util.List<FxHistory> |
getContentEntries(long contentId)
Get a list of entries for a content identified by its id. |
java.util.List<FxHistory> |
getEntries(java.lang.String keyMatch,
java.lang.Long accountMatch,
java.lang.Long typeMatch,
java.lang.Long contentMatch,
java.util.Date startDate,
java.util.Date endDate,
int maxEntries)
Get a list of history entries that matches the requested options ( null means any) |
void |
track(FxType type,
FxPK pk,
java.lang.String data,
java.lang.String key,
java.lang.Object... args)
Write a history entry for a content instance |
void |
track(FxType type,
java.lang.String key,
java.lang.Object... args)
Write a history entry for a type |
void |
track(java.lang.String key,
java.lang.Object... args)
Write a history entry |
void |
trackData(java.lang.String data,
java.lang.String key,
java.lang.Object... args)
Write a history entry with custom data |
| Method Detail |
|---|
void track(java.lang.String key,
java.lang.Object... args)
key - key of the message (history. ...)args - arguments needed by the key
void trackData(java.lang.String data,
java.lang.String key,
java.lang.Object... args)
data - custom data/messagekey - key of the message (history. ...)args - arguments needed by the key
void track(FxType type,
java.lang.String key,
java.lang.Object... args)
type - affected typekey - key of the message (history. ...)args - arguments needed by the key
void track(FxType type,
FxPK pk,
java.lang.String data,
java.lang.String key,
java.lang.Object... args)
type - affected typedata - (optional) datapk - affected contentkey - key of the message (history. ...)args - arguments needed by the keyjava.util.List<FxHistory> getContentEntries(long contentId)
contentId - requested content id
java.util.List<FxHistory> getEntries(java.lang.String keyMatch,
java.lang.Long accountMatch,
java.lang.Long typeMatch,
java.lang.Long contentMatch,
java.util.Date startDate,
java.util.Date endDate,
int maxEntries)
null means any)
keyMatch - message keyaccountMatch - account idtypeMatch - type idcontentMatch - content idstartDate - start dateendDate - end datemaxEntries - maximum number of entries to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||