psdi.app.contract.software

Class SFWViewLine

    • Constructor Detail

      • SFWViewLine

        public SFWViewLine(MboSet ms)
                    throws MXException,
                           java.rmi.RemoteException
        Construct the ContractLine
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Defaults certain fields on the ContractLine Object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class ContractLine
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Delete the contract line record. It will also delete associated payment schedule records.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class ContractLine
        Parameters:
        accessModifier -
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • associateLicenses

        public void associateLicenses(MboSetRemote licenseSet)
                               throws MXException,
                                      java.rmi.RemoteException
        Associate License to a Contract Line
        Specified by:
        associateLicenses in interface SFWViewLineRemote
        Parameters:
        licenseSet -
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.contract.ContractLine#associateLicenses
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Set the attribute haspaymentsched on contract line based on whether it has any payment schedules or not.
        Overrides:
        save in class ContractLine
        Throws:
        MXException
        java.rmi.RemoteException
      • setSFWLicensed

        public void setSFWLicensed(MboSetRemote contSfwLicenseSet)
                            throws MXException,
                                   java.rmi.RemoteException
        set the sfwlicensed field base on the contractline.orderqty value and the capacity of the associated licenses
        Parameters:
        contSfwLicenseSet -
        Throws:
        MXException
        java.rmi.RemoteException
      • getCONTSFWLICRelName

        protected java.lang.String getCONTSFWLICRelName()
        Fix APAR IV02680, relationship name in TAMIT 7.2 changed so we need to make this override method to return the relationship name
        Returns:
        relationship name to CONTSFWLIC