psdi.app.report

Interface ReportServiceRemote

    • Method Detail

      • canRunThisReport

        boolean canRunThisReport(UserInfo userInfo,
                                 java.lang.String reportName,
                                 java.lang.String appName)
                          throws MXException,
                                 java.rmi.RemoteException
        returns string array containg the webserver's name and reportServer's name. It reads this information from MXServer.properties file.
        Throws:
        java.rmi.RemoteException
        MXException
      • canRunThisReport

        boolean canRunThisReport(java.lang.String userId,
                                 java.lang.String reportName,
                                 java.lang.String appName,
                                 UserInfo userInfo)
                          throws MXException,
                                 java.rmi.RemoteException
        This method checks if for the given userId, reportName and appName the report is accessible. Here userInfo is used for creating the Mbos
        Throws:
        MXException
        java.rmi.RemoteException
      • applyDefaultYesNoValues

        void applyDefaultYesNoValues(MboSetRemote mboSetRemote)
                              throws MXException,
                                     java.rmi.RemoteException
        Applies the default YORN value as the locale specific value instead of 1 or 0.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAccessibleReports

        MboSetRemote getAccessibleReports(UserInfo userInfo)
                                   throws MXException,
                                          java.rmi.RemoteException
        This method returns an MBo Set of REPORT object which contains all reports that the current user has access to.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAccessibleReportsCollection

        java.util.ArrayList getAccessibleReportsCollection(UserInfo userInfo)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        This method returns an ArrayList of REPORTS that the current user has access to. This can be used to quickly check if a REPORTNAME+APPNAME combo is allowed, instead of traversing through a Mbo Set or calling canRun multiple times.
        Throws:
        MXException
        java.rmi.RemoteException