psdi.webclient.beans.location

Class LocationAppBean

    • Field Detail

      • targetStatusOption

        public java.lang.String targetStatusOption
        IJ01922
    • Constructor Detail

      • LocationAppBean

        public LocationAppBean()
    • Method Detail

      • initializeApp

        public void initializeApp()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: AppBean
        This method is called when the presentations "main" page is initalized and before the page is rendered. It can be called multiple times to "reinitialize" the applicaiton, for example when the existing query is reset.

        Only on the first initialize the method also checks for these mutually exclusiive special conditions:

      • if there is a particular record the app needs to jump to (using uniqueid from the loadapp or gotoapp event) the result set is restricted to that record only
      • if there is a startup query sent through the launch in context as a startup where clause it is set as a user where clause
      • if there is an additional ecent "insert" a new record is inserted

        A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen

Overrides:
initializeApp in class AppBean
Throws:
MXException
java.rmi.RemoteException
  • APPLYIAS

    public int APPLYIAS()
                 throws java.rmi.RemoteException,
                        java.io.IOException,
                        javax.servlet.ServletException
    Throws:
    java.rmi.RemoteException
    java.io.IOException
    javax.servlet.ServletException
  • ADDSYS

    public int ADDSYS()
               throws MXException,
                      java.rmi.RemoteException
    This function handles the "Associate Systems" action. It opens the "Associate Systems" dialog if it's OK to do so.
    Throws:
    MXException
    java.rmi.RemoteException
  • METREAD

    public int METREAD()
                throws MXException,
                       java.rmi.RemoteException,
                       java.io.IOException,
                       javax.servlet.ServletException
    Throws:
    MXException
    java.rmi.RemoteException
    java.io.IOException
    javax.servlet.ServletException
  • METRESET

    public int METRESET()
                 throws MXException,
                        java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException
  • METHIST

    public int METHIST()
                throws MXException,
                       java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException
  • VIEWWOPM

    public int VIEWWOPM()
                 throws java.rmi.RemoteException,
                        java.io.IOException,
                        javax.servlet.ServletException
    Throws:
    java.rmi.RemoteException
    java.io.IOException
    javax.servlet.ServletException
  • SAVE

    public int SAVE()
             throws java.rmi.RemoteException,
                    MXException
    checks for exceptions resulting from duplicate LocationMeter.Sequence values when the Location's meter group (Location.GroupName) has been modified. If duplicate sequence exceptions exist, appends an exception that informs user to modify the duplicate sequence numbers if they are not desired. The save transation still completes with duplicate sequence numbers.
    Overrides:
    SAVE in class AppBean
    Throws:
    MXApplicationException("meter","dupseqnumResolution")
    java.rmi.RemoteException
    MXException
  • convertsachildtoparent

    public int convertsachildtoparent()
                               throws MXException,
                                      java.rmi.RemoteException
    Make the current customized (child) Service Address a main one (parent)
    Throws:
    MXException
    java.rmi.RemoteException
  • createNewSA

    public int createNewSA()
                    throws MXException,
                           java.rmi.RemoteException
    Prepares the initial data to be used in the 'Create New Service Address' dialog.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • addNewSAusingTempData

    public int addNewSAusingTempData()
                              throws MXException,
                                     java.rmi.RemoteException
    Proceed with the Service Address creation based on information provided in the dialog.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • changeTemplateState

    public int changeTemplateState()
                            throws MXException,
                                   java.rmi.RemoteException
    Method to be sent to event handler after the 'Create New Service Address' dialog is closed. This is to guarantee that changes won't be lost by leave the modified service address in memory.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • LOCSTATUS

    public int LOCSTATUS()
                  throws java.rmi.RemoteException,
                         java.io.IOException,
                         javax.servlet.ServletException,
                         MXException
    Throws:
    java.rmi.RemoteException
    java.io.IOException
    javax.servlet.ServletException
    MXException
  • STATUSSUB

    public int STATUSSUB()
                  throws MXException,
                         java.rmi.RemoteException
    IJ01922: location is nostatus in work flow, apply this statuschangebean method here
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException