com.ibm.tivoli.maximo.iotservices

Class IoTRestDtls

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.iotservices.IoTRestDtls
    • Constructor Detail

      • IoTRestDtls

        public IoTRestDtls(MboSet ms)
                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default value for some of the fields of the new JSONMappingDetail table.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        checks whether the device type configuration record can be deleted
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException - throws MXApplicationException if the object structure was referenced in MAXIFACEIN, MAXIFACEOUT and MAXIFACEINVOKE tables/MBOs
        java.rmi.RemoteException - throws RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Called when this mbo is being deleted. This method deletes all the corresponding IOTFDEVICETYPECFG entries associated with this object
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - the access modifier
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
        See Also:
        Mbo.delete(long)
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        This called whenever a change is made to the attributes of a MBO. The programmer should override if interested in intercepting this event. An example of the use of this is to set the changeby/changedate of a work order whenever one of the attributes is set. If an MXException is thrown from this routine, the change of value is rolled back, this provides a mechanism to abort any changes. Default behavior is to do nothing. The derived method has to call super.modify().
        Overrides:
        modify in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException