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

Class OslcInteraction

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

      • OslcInteraction

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

      • add

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

        public java.lang.String createInteraction(byte[] present)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Create oslc interaction.
        Specified by:
        createInteraction in interface OslcInteractionRemote
        Parameters:
        present - Presentation XML
        Returns:
        New presentation XML
        Throws:
        MXException
        java.rmi.RemoteException
      • deleteInteraction

        public java.lang.String deleteInteraction(byte[] presentataion)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Delete oslc interaction.
        Specified by:
        deleteInteraction in interface OslcInteractionRemote
        Parameters:
        present - Presentation XML
        Returns:
        New presentation XML
        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
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Overwritten for OslcInteraction MBO. Delete any rows in OSLCPREFILLMAP referenced by the interaction to be deleted.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - accessModifier
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Overwritten for OslcInteraction MBO. UnDelete any rows in OSLCPREFILLMAP referenced by the interaction to be undeleted.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of MaxIntObjDetail. When any field related to OslcInteraction is changed, changedate and changeby is updated.
        Overrides:
        modify in class Mbo
        Throws:
        MXException - throws MXException
        java.rmi.RemoteException - throws RemoteException
      • getAllproviders

        public java.util.Map getAllproviders()
                                      throws MXException,
                                             java.rmi.RemoteException
        Returns Map of all service providers
        Returns:
        provider map
        Throws:
        MXException
        java.rmi.RemoteException
      • setTabList

        public void setTabList()
                        throws MXException,
                               java.rmi.RemoteException
        Sets Map of all applications tabs
        Throws:
        MXException
        java.rmi.RemoteException
      • getPresentataion

        public byte[] getPresentataion()
                                throws MXException,
                                       java.rmi.RemoteException
        Returns presentation XML
        Returns:
        presentation XML
        Throws:
        MXException
        java.rmi.RemoteException
      • getTabMap

        public java.util.Map getTabMap()
                                throws MXException,
                                       java.rmi.RemoteException
        Returns Map of application tabs
        Returns:
        application tabs map
        Throws:
        MXException
        java.rmi.RemoteException
      • getAllUsages

        public java.util.Set getAllUsages()
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns Sat of all usages
        Returns:
        set of all usages
        Throws:
        MXException
        java.rmi.RemoteException
      • hasRelation

        public boolean hasRelation()
                            throws MXException,
                                   java.rmi.RemoteException
        Finds Application Relation to OSLCLINK table
        Returns:
        relation found
        Throws:
        MXException
        java.rmi.RemoteException
      • checkInteractionGroup

        public void checkInteractionGroup()
                                   throws MXException,
                                          java.rmi.RemoteException
        Check if interaction belong to an interaction group before deleting an interaction
        Throws:
        MXException
        java.rmi.RemoteException
      • logStep

        public void logStep(int step,
                            boolean isPrevious)
                     throws MXException,
                            java.rmi.RemoteException
        Log Wizard Steps.
        Specified by:
        logStep in interface OslcInteractionRemote
        Parameters:
        step - step level.
        label - Step Label
        Throws:
        MXException
        java.rmi.RemoteException