Package org.rhq.enterprise.gui.legacy.WebUserPreferences

Examples of org.rhq.enterprise.gui.legacy.WebUserPreferences.DashboardPreferences.removePortlet()


    public static final String DASHBOARD_DELIMITER = "|";

    public static void removePortlet(WebUser user, String portletName) throws Exception {
        WebUserPreferences preferences = user.getWebPreferences();
        DashboardPreferences dashboardPreferences = preferences.getDashboardPreferences();
        dashboardPreferences.removePortlet(portletName);
        preferences.setDashboardPreferences(dashboardPreferences);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.