psdi.webclient.beans.servicedesk

Class SearchBean

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


    public class SearchBean
    extends AppBean
    • Constructor Detail

      • SearchBean

        public SearchBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Used within the SearchSolution Dialog from the Power Apps. Passes the tickets classification and querying solutions using that classification.
        Overrides:
        initialize in class AppBean
        Throws:
        MXException
        java.rmi.RemoteException
      • searchsr

        public int searchsr()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearsr

        public int clearsr()
                    throws MXException,
                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clear

        public int clear()
                  throws MXException,
                         java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • returnSolution

        public int returnSolution()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • filterByLinearAssets

        public int filterByLinearAssets()
                                 throws MXException,
                                        java.rmi.RemoteException
        This method launches a dialog to find SRs based on Linear asset and related fields.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • hasSigOptionAccess

        public boolean hasSigOptionAccess(int row,
                                          java.lang.String sigOption)
                                   throws java.rmi.RemoteException,
                                          MXException
        The default implementation of this method is returning false the first time it is rendering and true afterwards (on refresh) for the "description field". This is behaving inconsistently. This seems to be related to the way the search fields are used for the solution self service application. It looks like this method is not prepared for handling scenarios where the element has to be rendered before list started processing the elements. This implementation will get the not yet saved MBO at position 0 if the row index is less than 0, and check the save rights using that MBO. This is part of the fix for issues 08-13101 and 08-10052.
        Overrides:
        hasSigOptionAccess in class AppBean
        Parameters:
        row - - The index of the mbo to do the check on.
        sigOption - - The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        DataBean.hasSigOptionAccess(int, String), AppInstance.allowPageEdits()
      • servicelog

        public int servicelog()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException