psdi.app.rsconfig

Class ResultSetColsSet

    • Constructor Detail

      • ResultSetColsSet

        public ResultSetColsSet(MboServerInterface ms)
                         throws MXException,
                                java.rmi.RemoteException
        Constructs the set of ResultSetCols.
        Parameters:
        ms - the MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new ResultSetCols object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet.
        Returns:
        Mbo - the new ResultSetCols.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAttributesForApp

        public void getAttributesForApp(java.lang.String appName)
                                 throws java.rmi.RemoteException,
                                        MXException
        Sets up result set columns for the given applciation.
        Uses MAXAPPS to find out what is the MAINTBNAME for the given application
        gets maximo data dictionary for that table and uses attributes names to fill up values for this set and table RESULTSETCOLS
        This method tries to keep the data dictionary in ResultSetCols table current and passes on the updated information to RSCONFIG. New columsn need to be added and old ones need to be removed.
        Specified by:
        getAttributesForApp in interface ResultSetColsSetRemote
        Parameters:
        appName - as String
        Throws:
        java.rmi.RemoteException
        MXException
      • getAttributesToAdd

        public java.util.ArrayList getAttributesToAdd()
                                               throws java.rmi.RemoteException,
                                                      MXException
        Return MBOValueInof of attribtus that have been added into the Query's App's Main object since the last time portlet was configured.
        Specified by:
        getAttributesToAdd in interface ResultSetColsSetRemote
        Returns:
        ArraYList of MboValueInfo
        Throws:
        java.rmi.RemoteException
        MXException - May 22, 2007
      • getAttributesToDelete

        public java.util.ArrayList getAttributesToDelete()
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Return MBOValueInof of attribtus that have been added into the Query's App's Main object since the last time portlet was configured. For Future use.
        Specified by:
        getAttributesToDelete in interface ResultSetColsSetRemote
        Returns:
        ArraYList of MboValueInfo
        Throws:
        java.rmi.RemoteException
        MXException