org.sonar.server.ui
Class Views

java.lang.Object
  extended by org.sonar.server.ui.Views
All Implemented Interfaces:
ServerComponent

public class Views
extends Object
implements ServerComponent


Constructor Summary
Views()
           
Views(View[] views)
           
 
Method Summary
protected static boolean acceptNavigationSection(ViewProxy proxy, String section)
           
protected static boolean acceptResourceLanguage(ViewProxy proxy, String resourceLanguage)
           
protected static boolean acceptResourceQualifier(ViewProxy proxy, String resourceQualifier)
           
protected static boolean acceptResourceScope(ViewProxy proxy, String resourceScope)
           
 ViewProxy<Page> getPage(String id)
           
 List<ViewProxy<Page>> getPages(String section)
           
 List<ViewProxy<Page>> getPages(String section, String resourceScope, String resourceQualifier, String resourceLanguage)
           
 List<ViewProxy<Page>> getPagesForMetric(String section, String resourceScope, String resourceQualifier, String resourceLanguage, String metric)
           
 ViewProxy<Widget> getWidget(String id)
           
 List<ViewProxy<Widget>> getWidgets()
           
 List<ViewProxy<Widget>> getWidgets(String resourceScope, String resourceQualifier, String resourceLanguage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Views

public Views()

Views

public Views(View[] views)
Method Detail

getPage

public ViewProxy<Page> getPage(String id)

getPages

public List<ViewProxy<Page>> getPages(String section)

getPages

public List<ViewProxy<Page>> getPages(String section,
                                      String resourceScope,
                                      String resourceQualifier,
                                      String resourceLanguage)

getPagesForMetric

public List<ViewProxy<Page>> getPagesForMetric(String section,
                                               String resourceScope,
                                               String resourceQualifier,
                                               String resourceLanguage,
                                               String metric)

getWidget

public ViewProxy<Widget> getWidget(String id)

getWidgets

public List<ViewProxy<Widget>> getWidgets(String resourceScope,
                                          String resourceQualifier,
                                          String resourceLanguage)

getWidgets

public List<ViewProxy<Widget>> getWidgets()

acceptResourceLanguage

protected static boolean acceptResourceLanguage(ViewProxy proxy,
                                                String resourceLanguage)

acceptResourceScope

protected static boolean acceptResourceScope(ViewProxy proxy,
                                             String resourceScope)

acceptResourceQualifier

protected static boolean acceptResourceQualifier(ViewProxy proxy,
                                                 String resourceQualifier)

acceptNavigationSection

protected static boolean acceptNavigationSection(ViewProxy proxy,
                                                 String section)


Copyright © 2009-2012 SonarSource. All Rights Reserved.