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

Class OslcInteractionGroupApps

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

      • OslcInteractionGroupApps

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

      • add

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

        public void setPresentataion(byte[] data,
                                     boolean setTabs)
                              throws MXException,
                                     java.rmi.RemoteException
        Set presentation XML
        Parameters:
        data - presentation XML
        setTabs - fill application tabs list
        Throws:
        MXException
        java.rmi.RemoteException
      • setMenuPresentataion

        public void setMenuPresentataion(byte[] menuData)
                                  throws MXException,
                                         java.rmi.RemoteException
        Set menu presentation XML
        Parameters:
        menuData - presentation XML
        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
      • setMenuList

        public void setMenuList()
                         throws MXException,
                                java.rmi.RemoteException
        Populate Menus Mbo's for UI
        Throws:
        MXException
        java.rmi.RemoteException
      • getMenuPresentataion

        public byte[] getMenuPresentataion()
        Get menu presentation XML
        Returns:
        presentation XML
        Throws:
        MXException
        java.rmi.RemoteException
      • getPresentataion

        public byte[] getPresentataion()
        Get 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
      • saveInteractionGroupApp

        public java.util.List saveInteractionGroupApp(byte[] menuBytes)
                                               throws MXException,
                                                      java.rmi.RemoteException
        Generate artifacts for interaction group application.
        Parameters:
        menuBytes - Menu presentation
        Returns:
        List of presentation (first element will always be application presentation, second will be menu presentation if menu was modified)
        Throws:
        MXException - throws MXException
        java.rmi.RemoteException - throws RemoteException
      • modify

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

        public java.lang.String deleteGroupApp(byte[] presentataion)
                                        throws MXException,
                                               java.rmi.RemoteException
        Delete oslc interaction group app.
        Parameters:
        present - Presentation XML
        Returns:
        New presentation XML
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Overwritten for OslcInteraction MBO. Delete any rows in OSLCINTGRPAPPMENU 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 OSLCINTGRPAPPMENU referenced by the interaction to be undeleted.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException