psdi.plusc.app.pluscds

Class PlusCDSAssetsLink

  • java.lang.Object
    • Constructor Detail

      • PlusCDSAssetsLink

        public PlusCDSAssetsLink(MboSet ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Instantiates a new plus cds assets link.
        Parameters:
        ms - the ms
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: Mbo
        Method for propagating key value. Provide an implementation of the method only when the parent's key values need to be propagate down to this MBO which is a child of a MBO set obtained through a relationship from the parent, and only when the key attribute of the parent are not one of the key attributes of the child MBO. When overwrite this method, please don't call super().
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        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:
        MXException
        java.rmi.RemoteException
      • validateItemEqLoc

        public void validateItemEqLoc(boolean newItem,
                                      boolean newassetnum,
                                      boolean newLocation)
                               throws MXException,
                                      java.rmi.RemoteException
        Validate item eq loc.
        Parameters:
        newItem - the new item
        newassetnum - the newassetnum
        newLocation - the new location
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: Mbo
        Pre-save validation method. Programmer can override with specific rules.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • validateDS

        public void validateDS(java.lang.String dsNum,
                               java.lang.String revNum,
                               java.lang.String dsOrg,
                               java.lang.String dsSite)
                        throws MXException,
                               java.rmi.RemoteException
        Issue 08-20893.
        Specified by:
        validateDS in interface PlusCDSAssetsLinkRemote
        Parameters:
        dsNum - the ds num
        revNum - the rev num
        dsOrg - the ds org
        dsSite - the ds site
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception