com.xmlserv.app
Class AppLog

java.lang.Object
  |
  +--com.xmlserv.app.AppLog

public class AppLog
extends java.lang.Object

Application log.


Constructor Summary
AppLog(java.sql.Connection con, int userid, int rolegroup, java.lang.String url, java.lang.String classname, java.lang.String args)
          log an application access.
 
Method Summary
 void close(java.sql.Connection con)
          Close applog, setting completed to true.
 void close(java.sql.Connection con, boolean completed)
          Close applog, setting given completed status.
static org.jdom.Element list(java.sql.Connection con, SecurityManager securitymanager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLog

public AppLog(java.sql.Connection con,
              int userid,
              int rolegroup,
              java.lang.String url,
              java.lang.String classname,
              java.lang.String args)
       throws XMLServException
log an application access. This leaves the error status in state 'error'. Call setErrorStatus with the transaction ID returned from this call to set this status to OK.
Method Detail

close

public void close(java.sql.Connection con)
           throws XMLServException
Close applog, setting completed to true.

close

public void close(java.sql.Connection con,
                  boolean completed)
           throws XMLServException
Close applog, setting given completed status.

list

public static org.jdom.Element list(java.sql.Connection con,
                                    SecurityManager securitymanager)
                             throws XMLServException