com.ibm.tivoli.maximo.oslc.consumer.app.provider

Class OslcProvider

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.oslc.consumer.app.provider.OslcProvider
    • Constructor Detail

      • OslcProvider

        public OslcProvider(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Constructor
        Parameters:
        ms - The OslcProvider MboSet.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the newly created mbo
        Overrides:
        init in class Mbo
        Throws:
        MXException - Maximo Exception
      • add

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

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Over-rides the method in the super class. If the field need not be copied during copy() return true else return false. The following fields are not copied from the source Mbo to the target Mbo.
        • PROVIDERNAME
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        checks whether the oslc resource types record can be deleted
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException - throws MXApplicationException if the object structure was referenced in OSLCINTERACTION table/MBO
        java.rmi.RemoteException - throws RemoteException
      • duplicate

        public MboRemote duplicate()
                            throws MXException,
                                   java.rmi.RemoteException
        Duplicates OSLCProvider record and its related MBOs.
        Specified by:
        duplicate in interface MboRemote
        Overrides:
        duplicate in class Mbo
        Returns:
        MboRemote The newly created Enterpise Service.
        Throws:
        MXException - throws MXApplicationException if the object structure was referenced in OSLCINTERACTION table/MBO
        java.rmi.RemoteException - throws RemoteException
      • migrateProvider

        public void migrateProvider()
                             throws MXException,
                                    java.rmi.RemoteException
        Migrate OSLCProvider to Migration manager package.
        Specified by:
        migrateProvider in interface OslcProviderRemote
        Throws:
        MXException - throws MXApplicationException if the object structure was referenced in OSLCINTERACTION table/MBO
        java.rmi.RemoteException - throws RemoteException