Class HistoryDAO
java.lang.Object
org.silverpeas.components.silvercrawler.statistic.HistoryDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Connection con, String tableName, String userId, String path, String componentId, String objectType) voiddeleteHistoryByObject(Connection con, String tableName, String path, String componentId) getHistoryDetailByObject(Connection con, String tableName, String path, String componentId) getHistoryDetailByObjectAndUser(Connection con, String tableName, String path, String userId, String componentId)
-
Constructor Details
-
HistoryDAO
public HistoryDAO()
-
-
Method Details
-
getHistoryDetails
- Throws:
SQLException
-
add
public void add(Connection con, String tableName, String userId, String path, String componentId, String objectType) throws SQLException - Throws:
SQLException
-
getHistoryDetailByObject
public Collection<HistoryDetail> getHistoryDetailByObject(Connection con, String tableName, String path, String componentId) throws SQLException - Throws:
SQLException
-
getHistoryDetailByObjectAndUser
public Collection<HistoryDetail> getHistoryDetailByObjectAndUser(Connection con, String tableName, String path, String userId, String componentId) throws SQLException - Throws:
SQLException
-
deleteHistoryByObject
public void deleteHistoryByObject(Connection con, String tableName, String path, String componentId) throws SQLException - Throws:
SQLException
-