@Transactional
public interface CustomReportDashboardService
| Modifier and Type | Method and Description |
|---|---|
void |
bindChart(org.squashtest.tm.domain.customreport.CustomReportChartBinding newBinding)
Bind a chart to a dashboard
|
boolean |
canShowDashboardInWorkspace(org.squashtest.tm.domain.Workspace workspace)
Check if dashboard id in user prefs is valid
|
org.squashtest.tm.domain.customreport.CustomReportChartBinding |
changeBindedChart(long bindingId,
long chartNodeId)
Change the chartbinded by the
CustomReportChartBinding designed by bindingId. |
void |
chooseFavoriteDashboardForCurrentUser(org.squashtest.tm.domain.Workspace workspace,
long nodeId)
Set the dashboard as favorite.
|
org.squashtest.tm.domain.customreport.CustomReportDashboard |
findById(Long id) |
boolean |
shouldShowFavoriteDashboardInWorkspace(org.squashtest.tm.domain.Workspace workspace)
Check if user prefs said that we should show a dashboard on home page
|
void |
unbindChart(Long id)
remove designed binding from database
|
void |
updateGridPosition(List<org.squashtest.tm.domain.customreport.CustomReportChartBinding> bindings)
Update all bindings position given in argument.
|
void updateGridPosition(List<org.squashtest.tm.domain.customreport.CustomReportChartBinding> bindings)
bindings - org.squashtest.tm.domain.customreport.CustomReportDashboard findById(Long id)
void bindChart(org.squashtest.tm.domain.customreport.CustomReportChartBinding newBinding)
newBinding - void unbindChart(Long id)
newBinding - org.squashtest.tm.domain.customreport.CustomReportChartBinding changeBindedChart(long bindingId,
long chartNodeId)
CustomReportChartBinding designed by bindingId.
WARNING: the chartNodeId param is the CustomReportLibraryNode id, not the ChartDefinition id.
This is because the user manipulate the tree node not the entity directlybindingId - chartNodeId - void chooseFavoriteDashboardForCurrentUser(org.squashtest.tm.domain.Workspace workspace,
long nodeId)
nodeId - This is the CustomReportLibraryNode id not the CustomReportDashboard idboolean shouldShowFavoriteDashboardInWorkspace(org.squashtest.tm.domain.Workspace workspace)
boolean canShowDashboardInWorkspace(org.squashtest.tm.domain.Workspace workspace)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.