com.silverpeas.silvercrawler.statistic
Class HistoryDAO
java.lang.Object
  
com.silverpeas.silvercrawler.statistic.HistoryDAO
public class HistoryDAO
- extends Object
 
 
| 
Method Summary | 
static void | 
add(Connection con,
    String tableName,
    String userId,
    String path,
    String componentId,
    String objectType)
 
            | 
static void | 
deleteHistoryByObject(Connection con,
                      String tableName,
                      String path,
                      String componentId)
 
            | 
static Collection<HistoryDetail> | 
getHistoryDetailByObject(Connection con,
                         String tableName,
                         String path,
                         String componentId)
 
            | 
static Collection<HistoryDetail> | 
getHistoryDetailByObjectAndUser(Connection con,
                                String tableName,
                                String path,
                                String userId,
                                String componentId)
 
            | 
static Collection<HistoryDetail> | 
getHistoryDetails(ResultSet rs)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HistoryDAO
public HistoryDAO()
getHistoryDetails
public static Collection<HistoryDetail> getHistoryDetails(ResultSet rs)
                                                   throws SQLException
- Throws:
 SQLException
 
add
public static void add(Connection con,
                       String tableName,
                       String userId,
                       String path,
                       String componentId,
                       String objectType)
                throws SQLException
- Throws:
 SQLException
 
getHistoryDetailByObject
public static Collection<HistoryDetail> getHistoryDetailByObject(Connection con,
                                                                 String tableName,
                                                                 String path,
                                                                 String componentId)
                                                          throws SQLException
- Throws:
 SQLException
 
getHistoryDetailByObjectAndUser
public static Collection<HistoryDetail> getHistoryDetailByObjectAndUser(Connection con,
                                                                        String tableName,
                                                                        String path,
                                                                        String userId,
                                                                        String componentId)
                                                                 throws SQLException
- Throws:
 SQLException
 
deleteHistoryByObject
public static void deleteHistoryByObject(Connection con,
                                         String tableName,
                                         String path,
                                         String componentId)
                                  throws SQLException
- Throws:
 SQLException
 
Copyright © 2016 Silverpeas. All Rights Reserved.