com.atlassian.greenhopper.web.input
Class ViewDefinition

java.lang.Object
  extended by com.atlassian.greenhopper.web.input.ViewDefinition

public class ViewDefinition
extends java.lang.Object

This object is loaded first on each request, and describes the current overall page view settings. In addition to base view information, it provides naming lookup for context, capacity, watched fields and other page dependent configuration.


Nested Class Summary
static class ViewDefinition.ChartBoardSubType
          Chart board sub type.
static class ViewDefinition.PageType
          Supported page types
static class ViewDefinition.PlanningBoardSubType
          Planning board types Will eventually have to be wrapped by a mutable object / class to cater for custom fields.
 
Constructor Summary
ViewDefinition()
           
 
Method Summary
 ViewDefinition.ChartBoardSubType getChartBoardSubType()
           
 ViewDefinition.PageType getPageType()
           
 ViewDefinition.PlanningBoardSubType getPlanningBoardSubType()
          Convenience method to centralise casting by interested clients
 java.lang.Object getSubType()
           
 void setPageType(ViewDefinition.PageType pageType)
           
 void setSubType(java.lang.Object subType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewDefinition

public ViewDefinition()
Method Detail

getPageType

public ViewDefinition.PageType getPageType()

setPageType

public void setPageType(ViewDefinition.PageType pageType)

getSubType

public java.lang.Object getSubType()

setSubType

public void setSubType(java.lang.Object subType)

getPlanningBoardSubType

public ViewDefinition.PlanningBoardSubType getPlanningBoardSubType()
Convenience method to centralise casting by interested clients

Returns:
the ViewDefinition.PlanningBoardSubType casted instance of subType, or null if it's not of this type

getChartBoardSubType

public ViewDefinition.ChartBoardSubType getChartBoardSubType()


Copyright © 2007-2014 Atlassian. All Rights Reserved.