org.wso2.registry.jdbc.dao
Class LogsDAO

java.lang.Object
  extended by org.wso2.registry.jdbc.dao.LogsDAO

public class LogsDAO
extends java.lang.Object


Constructor Summary
LogsDAO()
           
 
Method Summary
 void addLog(java.lang.String resourcePath, java.lang.String userName, int action, java.lang.String actionData)
           
 java.util.List getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending)
           
 LogEntry[] getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending, javax.sql.DataSource dataSource)
           
 LogEntry[] getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending, int start, int pageLen, javax.sql.DataSource dataSource)
           
 int getLogsCount(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogsDAO

public LogsDAO()
Method Detail

addLog

public void addLog(java.lang.String resourcePath,
                   java.lang.String userName,
                   int action,
                   java.lang.String actionData)
            throws RegistryException
Throws:
RegistryException

getLogs

public java.util.List getLogs(java.lang.String resourcePath,
                              int action,
                              java.lang.String userName,
                              java.util.Date from,
                              java.util.Date to,
                              boolean descending)
                       throws RegistryException
Throws:
RegistryException

getLogs

public LogEntry[] getLogs(java.lang.String resourcePath,
                          int action,
                          java.lang.String userName,
                          java.util.Date from,
                          java.util.Date to,
                          boolean descending,
                          int start,
                          int pageLen,
                          javax.sql.DataSource dataSource)
                   throws RegistryException
Throws:
RegistryException

getLogs

public LogEntry[] getLogs(java.lang.String resourcePath,
                          int action,
                          java.lang.String userName,
                          java.util.Date from,
                          java.util.Date to,
                          boolean descending,
                          javax.sql.DataSource dataSource)
                   throws RegistryException
Throws:
RegistryException

getLogsCount

public int getLogsCount(java.lang.String resourcePath,
                        int action,
                        java.lang.String userName,
                        java.util.Date from,
                        java.util.Date to,
                        boolean descending)
                 throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.