|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.statistic.ejb.HistoryObjectDAO
public class HistoryObjectDAO
Class declaration
Method Summary | |
---|---|
static void |
add(Connection con,
String userId,
ForeignPK foreignPK,
int actionType,
String objectType)
Method declaration |
static void |
deleteHistoryByObject(Connection con,
ForeignPK foreignPK,
String objectType)
Method declaration |
static void |
deleteStatsOfComponent(Connection con,
String componentId)
|
static int |
getCount(Connection con,
Collection<ForeignPK> foreignPKs,
String objectType)
|
static int |
getCount(Connection con,
ForeignPK foreignPK,
String objectType)
|
static int |
getCountByPeriod(Connection con,
WAPrimaryKey primaryKey,
String objectType,
Date startDate,
Date endDate)
|
static int |
getCountByPeriodAndUser(Connection con,
WAPrimaryKey primaryKey,
String objectType,
Date startDate,
Date endDate,
String userId)
|
static Collection<HistoryObjectDetail> |
getHistoryDetailByObject(Connection con,
ForeignPK foreignPK,
String objectType)
Method declaration |
static Collection<HistoryObjectDetail> |
getHistoryDetailByObjectAndUser(Connection con,
ForeignPK foreignPK,
String objectType,
String userId)
|
static Collection<HistoryObjectDetail> |
getHistoryDetails(ResultSet rs,
String componentName)
Method declaration |
static Collection<HistoryObjectDetail> |
getLastHistoryDetailOfObjectsForUser(Connection con,
String userId,
int actionType,
String objectType,
int nbObjects)
Gets the last history detail of each object associated to a user. |
static List<String> |
getListObjectAccessByPeriod(Connection con,
List<WAPrimaryKey> primaryKeys,
String objectType,
Date startDate,
Date endDate)
|
static List<String> |
getListObjectAccessByPeriodAndUser(Connection con,
List<WAPrimaryKey> primaryKeys,
String objectType,
Date startDate,
Date endDate,
String userId)
|
static void |
move(Connection con,
ForeignPK toForeignPK,
int actionType,
String objectType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Collection<HistoryObjectDetail> getHistoryDetails(ResultSet rs, String componentName) throws SQLException
rs
- space
- componentName
-
SQLException
public static void add(Connection con, String userId, ForeignPK foreignPK, int actionType, String objectType) throws SQLException
con
- tableName
- userId
- nodePK
- pubPK
-
SQLException
public static Collection<HistoryObjectDetail> getHistoryDetailByObject(Connection con, ForeignPK foreignPK, String objectType) throws SQLException
con
- tableName
- foreignPK
-
SQLException
public static Collection<HistoryObjectDetail> getHistoryDetailByObjectAndUser(Connection con, ForeignPK foreignPK, String objectType, String userId) throws SQLException
SQLException
public static void deleteHistoryByObject(Connection con, ForeignPK foreignPK, String objectType) throws SQLException
con
- tableName
- foreignPK
-
SQLException
public static void deleteStatsOfComponent(Connection con, String componentId) throws SQLException
SQLException
public static int getCount(Connection con, Collection<ForeignPK> foreignPKs, String objectType) throws SQLException
SQLException
public static int getCount(Connection con, ForeignPK foreignPK, String objectType) throws SQLException
SQLException
public static int getCountByPeriod(Connection con, WAPrimaryKey primaryKey, String objectType, Date startDate, Date endDate) throws SQLException
SQLException
public static int getCountByPeriodAndUser(Connection con, WAPrimaryKey primaryKey, String objectType, Date startDate, Date endDate, String userId) throws SQLException
SQLException
public static void move(Connection con, ForeignPK toForeignPK, int actionType, String objectType) throws SQLException
SQLException
public static List<String> getListObjectAccessByPeriod(Connection con, List<WAPrimaryKey> primaryKeys, String objectType, Date startDate, Date endDate) throws SQLException
SQLException
public static List<String> getListObjectAccessByPeriodAndUser(Connection con, List<WAPrimaryKey> primaryKeys, String objectType, Date startDate, Date endDate, String userId) throws SQLException
SQLException
public static Collection<HistoryObjectDetail> getLastHistoryDetailOfObjectsForUser(Connection con, String userId, int actionType, String objectType, int nbObjects) throws SQLException
con
- userId
- actionType
- objectType
- nbObjects
-
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |