pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.view
Class AbstractStatisticsViewControllerConfiguration

java.lang.Object
  extended by org.torweg.pulse.configuration.Configuration
      extended by org.torweg.pulse.util.adminui.AbstractBaseConfiguration
          extended by org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerConfiguration
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GroupAnalysisViewControllerConfiguration, OverViewControllerConfiguration, RefererAnalysisViewControllerConfiguration, TechnicalInformationViewControllerConfiguration, TimeAnalysisViewControllerConfiguration, WestPanelControllerConfiguration

public abstract class AbstractStatisticsViewControllerConfiguration
extends AbstractBaseConfiguration

Abstract base-class to derive Configurations for the AbstractStatisticsViewControllers from.

Version:
$Revision: 1568 $
Author:
Daniel Dietz
See Also:
Serialized Form

Constructor Summary
AbstractStatisticsViewControllerConfiguration()
           
 
Method Summary
 java.util.Set<Period> getAvailableStatisticalDataResolutionPeriods()
          Returns the available data resolution Period s.
 Period getDefaultStatisticalDataResolutionPeriod()
          Returns the default data resolution Period.
 Period getDefaultStatisticalViewPeriod()
          Returns the default Period.
 java.lang.String getReportPDFPrefix()
          Returns the prefix to be used for naming the created report PDF.
 XSLHandle getReportPDFXSLHandle()
          Returns the (main) XSLHandle to fetch the (main) XSLHandle for the creation of the PDF report.
protected  void setAvailableStatisticalDataResolutionPeriods(java.util.Set<Period> periods)
          Sets the available data resolution Period.
protected  void setDefaultStatisticalDataResolutionPeriod(Period period)
          Sets the default data resolution Period.
protected  void setDefaultStatisticalViewPeriod(Period period)
          Sets the default Period.
protected  void setReportPDFPrefix(java.lang.String prefix)
          FOR TESTING ONLY.
protected  void setReportPDFXSLHandle(XSLHandleConfiguration handle)
          FOR TESTING ONLY.
 
Methods inherited from class org.torweg.pulse.util.adminui.AbstractBaseConfiguration
getMainXSLHandle
 
Methods inherited from class org.torweg.pulse.configuration.Configuration
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStatisticsViewControllerConfiguration

public AbstractStatisticsViewControllerConfiguration()
Method Detail

getDefaultStatisticalViewPeriod

public final Period getDefaultStatisticalViewPeriod()
Returns the default Period.

Returns:
the default Period

setDefaultStatisticalViewPeriod

protected final void setDefaultStatisticalViewPeriod(Period period)
Sets the default Period.

Parameters:
period - the Period

getDefaultStatisticalDataResolutionPeriod

public final Period getDefaultStatisticalDataResolutionPeriod()
Returns the default data resolution Period.

Returns:
the default data resolution Period

setDefaultStatisticalDataResolutionPeriod

protected final void setDefaultStatisticalDataResolutionPeriod(Period period)
Sets the default data resolution Period.

Parameters:
period - the Period

getAvailableStatisticalDataResolutionPeriods

public final java.util.Set<Period> getAvailableStatisticalDataResolutionPeriods()
Returns the available data resolution Period s.

Returns:
the available data resolution Periods

setAvailableStatisticalDataResolutionPeriods

protected final void setAvailableStatisticalDataResolutionPeriods(java.util.Set<Period> periods)
Sets the available data resolution Period.

Parameters:
periods - the Periods

getReportPDFXSLHandle

public final XSLHandle getReportPDFXSLHandle()
Returns the (main) XSLHandle to fetch the (main) XSLHandle for the creation of the PDF report.

Returns:
an XSLHandle

setReportPDFXSLHandle

protected final void setReportPDFXSLHandle(XSLHandleConfiguration handle)
FOR TESTING ONLY.

Parameters:
handle - the reportPDFXSLHandle to set

getReportPDFPrefix

public final java.lang.String getReportPDFPrefix()
Returns the prefix to be used for naming the created report PDF.

Returns:
the reportPDFPrefix

setReportPDFPrefix

protected final void setReportPDFPrefix(java.lang.String prefix)
FOR TESTING ONLY.

Parameters:
prefix - the report PDF prefix to set