com.ibm.tivoli.maximo.fdmbo.app.manageres

Class JSONMergeAttributeSet

  • java.lang.Object
    • psdi.mbo.MboSet
      • com.ibm.tivoli.maximo.fdmbo.app.manageres.JSONMergeAttributeSet
    • Constructor Detail

      • JSONMergeAttributeSet

        public JSONMergeAttributeSet(MboServerInterface ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The MboServerInterface
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • canAdd

        public void canAdd()
                    throws MXException
        This method is called by the framework before save. Perform regular appValidate() and process LinkedMbo's add.
        Overrides:
        canAdd in class MboSet
        Throws:
        MXException
      • getExistingAttributes

        public java.util.Set getExistingAttributes(MboRemote thisMbo)
                                            throws MXException,
                                                   java.rmi.RemoteException
        Return set of existsing attributes.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Factory method to create JSONAttributeMapSet object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - The JSONAttributeMapSet.
        Returns:
        a MaxIfaceLoad object.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • commit

        public void commit()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: MboSet
        Makes all changes sent to the database since the last commit() or rollback() call, permanent. Changes made to other objects sharing this object's Connection will also become permanent. This is called automatically by the framework and should not be called directly by the programmer.
        Specified by:
        commit in interface MboSetRemote
        Overrides:
        commit in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException