Interface IAdminDashboardDAO
- All Known Implementing Classes:
AdminDashboardDAO
public interface IAdminDashboardDAO
IAdminDashboardDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidDelete all record from the tablevoidinsert(IAdminDashboardComponent dashboardComponent) Insert a new record in the table.Load the data of the IndexerAction from the tableFinds all AdminDashboardComponentReturns the columns listFinds all dashboard components matching filterintReturns the max order value, for all columnsintselectMaxOrder(int nColumn) Returns the max order value, for the given columnvoidstore(IAdminDashboardComponent dashboardComponent) Update the dashboardComponent in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
dashboardComponent- instance of the dashboardComponent object to insert
-
load
Load the data of the IndexerAction from the table- Parameters:
strBeanName- The identifier of the action- Returns:
- the instance of the IndexerAction
-
delete
Delete a record from the table- Parameters:
strBeanName- The identifier of the dashboard
-
deleteAll
void deleteAll()Delete all record from the table -
store
Update the dashboardComponent in the table- Parameters:
dashboardComponent- instance of the IAdminDashboardComponent object to update
-
selectAllDashboardComponents
List<IAdminDashboardComponent> selectAllDashboardComponents()Finds all AdminDashboardComponent- Returns:
- all AdminDashboardComponent
-
selectDashboardComponents
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
Returns the columns list- Returns:
- the columns list
-