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
DatabaseException
public static void createIfNew(Dashboard db) throws DatabaseException
DatabaseException
public void delete(int dsId) throws DatabaseException
DatabaseException
public static List<Dashboard> findByUserSource(String user, String source) throws DatabaseException
DatabaseException
public static void deleteVisitedNodes(String user, String source) throws DatabaseException
DatabaseException
public static void purgeOldVisitedNode(String user, String source, String node, Calendar date) throws DatabaseException
DatabaseException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.