psdi.app.swcatalog

Class SoftwareRelationship

  • java.lang.Object
    • Constructor Detail

      • SoftwareRelationship

        public SoftwareRelationship(MboSet ms)
                             throws MXException,
                                    java.rmi.RemoteException
        The boilerplate constructor
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Manage read-only attributes based on if this is a new object, or an imported one. If it is a new object, all attributes editable. If it is an imported entry, check if in he list of catalogs it is allowed to modify entries imported from this source (SwKBT does not allow editing in TLOM, all others do).

        Make isreviewed field Read-Only if its value is TRUE

        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Set the value of the invisible external key to the main record
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Pre-save validation method. Shows a more meaningful message if the relationship parent or child is blank because the framework shows message about the missing unique id that the user never sees
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException