psdi.app.craft

Class FldCraftRateSkillLevel

    • Constructor Detail

      • FldCraftRateSkillLevel

        public FldCraftRateSkillLevel(MboValue mbv)
                               throws java.rmi.RemoteException
        Construct and attach to the specified MboValue
        Parameters:
        mbv -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • smartFill

        public MboSetRemote smartFill(java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        Overwrite smartfill to use smartFillWithoutReset() method since the result MboSet from getList() needs to be displayed on the GUI and cannot be reset.
        Specified by:
        smartFill in interface MboValueListener
        Overrides:
        smartFill in class MAXTableDomain
        Parameters:
        value - the value the ther has entered in this field.
        exact - whether the list is retrieved use exact qbe.
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        This method first gets a CraftRate set based on the Craft,Skilllevel,and Orgid that are currently filled in. If this set is empty, it will display a Lookup of the craft rates available. If there is one and only one record in the set, then we fill in all of the values. If there are multiple records, we do nothing and wait for the user to enter more information.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getSqlForEnteredFields

        protected SqlFormat getSqlForEnteredFields()
                                            throws java.rmi.RemoteException,
                                                   MXException
        Throws:
        java.rmi.RemoteException
        MXException