psdi.dm.changetracking

Class DMPkgEventTracking

  • java.lang.Object
    • Constructor Detail

      • DMPkgEventTracking

        public DMPkgEventTracking(MboSet ms)
                           throws java.rmi.RemoteException
        Construct the PkgEventTracking object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • constructMosMboSet

        public MboRemote constructMosMboSet(MboRemote objMbo,
                                            MboSetRemote mosMboSet)
                                     throws MXException,
                                            java.rmi.RemoteException
        Construct a mboset which contains mbos which events have been tracked to be later used to create xml.
        Specified by:
        constructMosMboSet in interface DMPkgEventTrackingRemote
        Parameters:
        objMbo - The mbo object to be copied or recreated in mosMboSet.
        mosMboSet - The mboset which contains mbos which events that have been tracked. This mboset will be passed to the MicService to create xml data.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getDeletedChildrenEventIds

        public java.lang.String getDeletedChildrenEventIds(java.lang.String childMboName,
                                                           MboSetRemote objSet)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        Find the deleted children of the current event mbo.
        Specified by:
        getDeletedChildrenEventIds in interface DMPkgEventTrackingRemote
        Parameters:
        childMboName - The name of the child mbo
        Returns:
        A list of mbo unique ids of the child mbos that have been deleted.
        Throws:
        MXException
        java.rmi.RemoteException
      • getChildEventIds

        public java.lang.String getChildEventIds()
                                          throws MXException,
                                                 java.rmi.RemoteException
        Given a change tracking event, traverse the object structure tree and find all the change tracking events that are associated with the parent event. This method is called recursively, and returns the event's unique id in a comma-delimited string.
        Specified by:
        getChildEventIds in interface DMPkgEventTrackingRemote
        Returns:
        Returns all the unique ids of change tracking events that are associated with this parent event.
        Throws:
        MXException
        java.rmi.RemoteException