com.dotmarketing.portlets.report.factories
Class ReportParameterFactory

java.lang.Object
  extended by com.dotmarketing.portlets.report.factories.ReportParameterFactory

public class ReportParameterFactory
extends java.lang.Object

ReportParmater class's factory

Author:
Jason Tesser

Constructor Summary
ReportParameterFactory()
           
 
Method Summary
static void deleteReportParameter(ReportParameter rp)
          Deletes a ReportParameter object
static void deleteReportsParameters(Report report)
          Deletes all ReportParamters for a Report Object.
static void getReportParameters(Report report)
          Fills a Report Object with its parmaters.
static void saveReportParameter(ReportParameter rp)
          Saves a ReportParameter object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportParameterFactory

public ReportParameterFactory()
Method Detail

getReportParameters

public static void getReportParameters(Report report)
                                throws DotHibernateException
Fills a Report Object with its parmaters. The method returns void but will set the parametrs attribute of the passed in report object.

Parameters:
report - The report to load parametrs for
Throws:
DotHibernateException

deleteReportsParameters

public static void deleteReportsParameters(Report report)
Deletes all ReportParamters for a Report Object.

Parameters:
report - Report to delete all paramters for

saveReportParameter

public static void saveReportParameter(ReportParameter rp)
                                throws DotHibernateException
Saves a ReportParameter object

Parameters:
rp - ReportParameter to save
Throws:
DotHibernateException

deleteReportParameter

public static void deleteReportParameter(ReportParameter rp)
                                  throws DotHibernateException
Deletes a ReportParameter object

Parameters:
rp - ReportParameter to delete
Throws:
DotHibernateException


Copyright © 2013 dotCMS Inc. All Rights Reserved.