psdi.webclient.beans.report

Class ReportDSBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class ReportDSBean
    extends DataBean
    Bean class for Create Data Sources dialog.
    • Constructor Detail

      • ReportDSBean

        public ReportDSBean()
    • Method Detail

      • addrow

        public int addrow()
                   throws MXException
        When an row is added to REPORTDS through UI, add a record to REPORTDSPARAM. Adding a record to REPORTDS param will not add a record to REPORTDSPARAM. So values can't be added to REPORTDSPARAM by using relation.fieldname, which is used in UI xml.
        Overrides:
        addrow in class DataBean
        Throws:
        MXException
      • setvalue

        public int setvalue()
                     throws MXException,
                            java.rmi.RemoteException
        Add a record to REPORTDSPARAM when a value is entered on UI and no record present. Import process may only enter record to REPORTDS and not to REPORTDSPARAM. So when the user tries to enter a value to any of the fields belonging to REPORTDSPARAM check to see that no REPORTDSPARAM exists, if so then add a REPORTDSPARAM record.
        Overrides:
        setvalue in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • testConnection

        public int testConnection()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException