Interface IDashboardDAO
-
- All Known Implementing Classes:
DashboardDAO
public interface IDashboardDAOIDashboardDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(java.lang.String strBeanName)Delete a record from the tablevoiddeleteAll()Delete all record from the tablevoidinsert(IDashboardComponent dashboardComponent)Insert a new record in the table.IDashboardComponentload(java.lang.String strBeanName)Load the data of the IndexerAction from the tablejava.util.List<IDashboardComponent>selectAllDashboardComponents()Finds all DashboardComponentjava.util.List<java.lang.Integer>selectColumns()Returns the columns listjava.util.List<IDashboardComponent>selectDashboardComponents(DashboardFilter filter)Finds all dashboard components matching filterintselectMaxOrder()Returns the max order value, for all columnsintselectMaxOrder(int nColumn)Returns the max order value, for the given columnvoidstore(IDashboardComponent dashboardComponent)Update the dashboardComponent in the table
-
-
-
Method Detail
-
insert
void insert(IDashboardComponent dashboardComponent)
Insert a new record in the table.- Parameters:
dashboardComponent- instance of the dashboardComponent object to insert
-
load
IDashboardComponent load(java.lang.String strBeanName)
Load the data of the IndexerAction from the table- Parameters:
strBeanName- The identifier of the action- Returns:
- the instance of the IndexerAction
-
delete
void delete(java.lang.String strBeanName)
Delete a record from the table- Parameters:
strBeanName- The identifier of the dashboard
-
deleteAll
void deleteAll()
Delete all record from the table
-
store
void store(IDashboardComponent dashboardComponent)
Update the dashboardComponent in the table- Parameters:
dashboardComponent- instance of the IDashboardComponent object to update
-
selectAllDashboardComponents
java.util.List<IDashboardComponent> selectAllDashboardComponents()
Finds all DashboardComponent- Returns:
- all DashboardComponent
-
selectDashboardComponents
java.util.List<IDashboardComponent> selectDashboardComponents(DashboardFilter filter)
Finds all dashboard components matching filter- Parameters:
filter- the filter- Returns:
- all dashboard components matching filter
-
selectMaxOrder
int selectMaxOrder()
Returns the max order value, for all columns- Returns:
- the max order
-
selectMaxOrder
int selectMaxOrder(int nColumn)
Returns the max order value, for the given column- Parameters:
nColumn- the column- Returns:
- the max order
-
selectColumns
java.util.List<java.lang.Integer> selectColumns()
Returns the columns list- Returns:
- the columns list
-
-