org.squashtest.csp.tm.domain.report.view
Class ReportViewCatalog

java.lang.Object
  extended by org.squashtest.csp.tm.domain.report.view.ReportViewCatalog

public class ReportViewCatalog
extends Object

This class manages the views for a given report. It basically maintains the set of views and tells which one is the default one.

Author:
bsiri

Constructor Summary
ReportViewCatalog()
           
 
Method Summary
 void addView(ReportView view)
           
 ReportView findView(int viewIndex)
           
 ReportView getDefaultView()
           
 int getDefaultViewIndex()
           
 List<ReportView> getViewList()
           
 void setDefaultViewIndex(int defaultViewIndex)
           
protected  void setViewList(List<ReportView> viewList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportViewCatalog

public ReportViewCatalog()
Method Detail

getDefaultView

public ReportView getDefaultView()

getDefaultViewIndex

public int getDefaultViewIndex()

setDefaultViewIndex

public void setDefaultViewIndex(int defaultViewIndex)

getViewList

public List<ReportView> getViewList()

setViewList

protected void setViewList(List<ReportView> viewList)

addView

public void addView(ReportView view)

findView

public ReportView findView(int viewIndex)


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.