com.ibm.tivoli.maximo.oslc.consumer.webclient.beans.interaction

Class CreateOSLCWizardBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class CreateOSLCWizardBean
    extends OslcCommonBean
    Provides the functionality for executing OSLC Interaction Wizard
    • Constructor Detail

      • CreateOSLCWizardBean

        public CreateOSLCWizardBean()
    • Method Detail

      • nexttab

        public int nexttab()
                    throws MXException,
                           java.rmi.RemoteException
        Event fired when user click Next button on the screen.
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException
      • prevtab

        public int prevtab()
                    throws MXException,
                           java.rmi.RemoteException
        Event fired when user click Previous button on the screen.
        Returns:
        previuous tab order
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException
      • discover

        public int discover()
                     throws MXException,
                            java.rmi.RemoteException
        Discover all information from external repository.
        Overrides:
        discover in class OslcCommonBean
        Returns:
        handling of event
        Throws:
        MXException
        java.rmi.RemoteException
      • click

        public int click()
                  throws MXException,
                         java.rmi.RemoteException
        Intercept click event after authorization by the external repository.
        Returns:
        handling of event
        Throws:
        MXException
        java.rmi.RemoteException
      • setDefaultValues

        protected void setDefaultValues(MboRemote wizMbo)
                                 throws MXException,
                                        java.rmi.RemoteException
        Set default values to Data Bean Mbo.
        Parameters:
        wizMbo - wizard Mbo reference
        Throws:
        MXException
        java.rmi.RemoteException
      • insert

        public void insert()
                    throws MXException,
                           java.rmi.RemoteException
        Insert Data Bean Mbo.
        Overrides:
        insert in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • complete

        public int complete()
                     throws MXException,
                            java.rmi.RemoteException
        Event fired when user click Complete button on the screen.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException
      • cancelchanges

        public int cancelchanges()
                          throws MXException,
                                 java.rmi.RemoteException
        Cancels the changes to the interaction. Closes OSLC interaction dialog and refreshes the application.
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException