Package org.fluxtream.core.domain

Examples of org.fluxtream.core.domain.Dashboard


    public Response getAvailableWidgets(@PathParam("dashboardId") long dashboardId) {
        long guestId = AuthHelper.getGuestId();
        try {
            final List<DashboardWidget> widgetsNotYetInDashboard = new ArrayList<DashboardWidget>();
            final List<DashboardWidget> availableWidgetsList = widgetsService.getAvailableWidgetsList(guestId);
            final Dashboard dashboard = dashboardsService.getDashboard(guestId, dashboardId);
            final String[] dashboardWidgets = StringUtils.split(dashboard.widgetNames, ",");
            outerloop: for (DashboardWidget availableWidget : availableWidgetsList) {
                for (String dashboardWidgetName : dashboardWidgets) {
                    if (availableWidget.WidgetName.equals(dashboardWidgetName))
                        continue outerloop;
View Full Code Here

TOP

Related Classes of org.fluxtream.core.domain.Dashboard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.