psdi.app.system

Class MaxVars

    • Constructor Detail

      • MaxVars

        public MaxVars(MboSet ms)
                throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Ensure that OrgID and SiteID are populated or not, depending on the MaxVarType.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws java.rmi.RemoteException,
                         MXException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • updateSiteVarFromOrg

        public void updateSiteVarFromOrg(java.lang.String attributeName,
                                         java.lang.String val)
                                  throws java.rmi.RemoteException,
                                         MXException
        Loops through the entire set of sites updating a particular maxvar based on the org that is selected. Updateds both MAXVARs and MAXVARTYPE tables with the new value.
        Parameters:
        attributeName - The maxvar to change
        val - The new value that the maxvar should be set to
        Throws:
        java.rmi.RemoteException
        MXException