public class DashboardDAO extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
createIfNew(Dashboard db)
Create dashboard stats
|
void |
delete(int dsId)
Delete dashboard stats
|
static void |
deleteVisitedNodes(String user,
String source)
Delete visited nodes
|
Dashboard |
findByPk(int dsId)
Get dashboard stats
|
static List<Dashboard> |
findByUserSource(String user,
String source)
Find by user source
|
static void |
purgeOldVisitedNode(String user,
String source,
String node,
Calendar date)
Delete old visited node
|
public Dashboard findByPk(int dsId) throws DatabaseException
DatabaseExceptionpublic static void createIfNew(Dashboard db) throws DatabaseException
DatabaseExceptionpublic void delete(int dsId)
throws DatabaseException
DatabaseExceptionpublic static List<Dashboard> findByUserSource(String user, String source) throws DatabaseException
DatabaseExceptionpublic static void deleteVisitedNodes(String user, String source) throws DatabaseException
DatabaseExceptionpublic static void purgeOldVisitedNode(String user, String source, String node, Calendar date) throws DatabaseException
DatabaseExceptionCopyright © 2018 Open Knowledge Management System S.L.. All rights reserved.