The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

MBO(Maximo Business Objects) Basics Part 13 - Some Useful Methods

MBO Useful Methods


        Use defensive programming technique after MboSet is retrieved
               MboSetRemote ciSet = mxServer.getMboSet(“CI”);
                   If (ciSet.isEmpty()) { …. }
        Use getThisMboSet() to retrieve the parent MboSet
                MboSetRemote  ciParentSet = ci.getThisMboSet();
        New Mbos are added to MboSet
       To add at the start :                        ciSet.add();
       To add at the end:                           ciSet.addAtEnd();
       To add at a specific position:        ciSet.add(n)
       To delete/remove Mbo from the MboSet in the memory
                      ci.delete();
       To make permanent changes in the database use save() method on MboSet. Save() method performs following activities
       Adds all new Mbos
       Updates all modified Mbos
       Deletes all the deleted Mbos
       Performs DB commit