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

Class OslcPublicUri

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


    public class OslcPublicUri
    extends DataBean
    Event fired when user clicks Complete button on the screen.
    • Field Detail

      • oslcLogger

        public final MXLogger oslcLogger
    • Constructor Detail

      • OslcPublicUri

        public OslcPublicUri()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • insert

        public void insert()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        Inserts a row at the begining of the MboSet. Fires a row change event to all listeners upon success.
        Overrides:
        insert in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • setDefaultValues

        protected void setDefaultValues(MboRemote wizMbo)
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • changepublicuri

        public int changepublicuri()
                            throws java.rmi.RemoteException,
                                   MXException
        When 'Change Public URI' is selected from the OSLC Providers tab the user is prompted to enter a new Public URI to replace the current Public URI. Various table values that hold the old Public URI are updated to the new one. The cataloguri is also updated if it exists. The baseurl, access, authorization, and request token uri's are also updated.
        Throws:
        java.rmi.RemoteException
        MXException