org.jwall.audit.script
Class ScriptEventView<E extends Event>
java.lang.Object
org.jwall.audit.script.ScriptEventView<E>
public class ScriptEventView<E extends Event>
- extends Object
This class defines a bridge to access a user's view from within a script such
as a ruby script. The script event view is similar to an AuditEventView but
not as powerful.
- Author:
- Christian Bockermann <chris@jwall.org>
ScriptEventView
public ScriptEventView(String user,
EventView<E> parentView)
list
public List<ScriptEvent> list()
list
public List<ScriptEvent> list(String filter)
list
public List<ScriptEvent> list(String filter,
int offset,
int max)
throws Exception
- Throws:
Exception
tag
public void tag(ScriptEvent event,
String name)
throws Exception
- Throws:
Exception
untag
public void untag(ScriptEvent event,
String name)
throws Exception
- Throws:
Exception
delete
public void delete(String txId)
count
public Long count(String filterString)
throws Exception
- Throws:
Exception
get
public ScriptEvent get(String txId)
throws Exception
- Throws:
Exception
count
public Map<String,Long> count(String variable,
String filter)
Copyright © 2012 jwall.org. All Rights Reserved.