com.atlassian.greenhopper.web.page
Class NavigationViewFactory

java.lang.Object
  extended by com.atlassian.greenhopper.web.page.NavigationViewFactory

@Service(value="gh-navigationViewFactory")
public class NavigationViewFactory
extends java.lang.Object

Provides the view for the navigation part of the page.


Field Summary
static java.lang.String SERVICE
           
 
Constructor Summary
NavigationViewFactory()
           
 
Method Summary
 NavigationViewModel createNavigationModel(BaseData baseData, BoardData board)
          Creates the model for the navigation part of the page.
 FilterModel createPlanningBoardsFilter(java.lang.String selectedId)
          Create a filter for the planning boards.
protected  void fillInContextData(NavigationViewModel viewModel, BaseData baseData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE

public static final java.lang.String SERVICE
See Also:
Constant Field Values
Constructor Detail

NavigationViewFactory

public NavigationViewFactory()
Method Detail

createNavigationModel

public NavigationViewModel createNavigationModel(BaseData baseData,
                                                 BoardData board)
Creates the model for the navigation part of the page.


fillInContextData

protected void fillInContextData(NavigationViewModel viewModel,
                                 BaseData baseData)

createPlanningBoardsFilter

public FilterModel createPlanningBoardsFilter(java.lang.String selectedId)
Create a filter for the planning boards.

Parameters:
selectedId - the selected planning board view


Copyright © 2007-2011 Atlassian. All Rights Reserved.