psdi.app.workorder.unittest

Class WOPredecessorUtilTest

  • java.lang.Object
    • psdi.app.workorder.unittest.WOPredecessorUtilTest


  • public class WOPredecessorUtilTest
    extends java.lang.Object
    The parameter belong is necessary to allow this test to run. -Dcom.ibm.xtq.processor.overrideSecureProcessing=true
    • Constructor Detail

      • WOPredecessorUtilTest

        public WOPredecessorUtilTest()
    • Method Detail

      • setupBeforeClass

        public static void setupBeforeClass()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetWonum

        public void testGetWonum()
      • testBasicRelation1

        public void testBasicRelation1()
      • testBasicRelation2

        public void testBasicRelation2()
      • testCircularDependencies

        public void testCircularDependencies()
      • testCircularDependenciesParentOfaLink

        public void testCircularDependenciesParentOfaLink()
      • testDeleteScenario1

        public void testDeleteScenario1()
      • testDeleteScenario2

        public void testDeleteScenario2()
      • testCircularDependenciesChildofParentLink_part1

        public void testCircularDependenciesChildofParentLink_part1()
      • testCircularDependenciesChildofParentLink_part2

        public void testCircularDependenciesChildofParentLink_part2()
      • testCircularDependenciesChildofParentLink_part3

        public void testCircularDependenciesChildofParentLink_part3()
      • setCreateRlationships

        public void setCreateRlationships(java.lang.String predWonum,
                                          java.lang.String predRefWonum,
                                          java.lang.String wonum,
                                          java.lang.String orgid,
                                          java.lang.String siteid,
                                          java.lang.String relationShipType,
                                          double leadLagHours,
                                          MboRemote mbo)
                                   throws java.rmi.RemoteException,
                                          MXException
        This method will only set the values to the Mbo, you need to vbe aware that this method is not saving the MboSet and it is not setting up any BITa void skip validations and access checks
        Parameters:
        predWonum - Target Work Order number Sample of relationship
        predRefWonum - Predecessor WO reference (Same as target work order number).
        wonum - Origin from relationship
        orgid - Organization ID from origin work order
        siteid - Site ID from origin work order
        relationShipType - Type of relationship
        leadLagHours - Lead lag hours from relationship
        mbo - New MAXIMO Business Object
        Throws:
        java.rmi.RemoteException
        MXException