psdi.webclient.beans.swcatalog

Class SoftwareCatalogAppBean

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


    public class SoftwareCatalogAppBean
    extends AppBean
    The application bean for the Software Catalog application
    Since:
    7.2
    • Constructor Detail

      • SoftwareCatalogAppBean

        public SoftwareCatalogAppBean()
    • Method Detail

      • LAUNCHENTRY

        public int LAUNCHENTRY()
                        throws java.rmi.RemoteException,
                               MXException
        A handler for the launch in context event that verifies if the launch in context entry has been customized. The method checks for the out of the box values and throws an exception with a message if it finds them.
        Returns:
        always EVENT_CONTINUE to allow further processing
        Throws:
        java.rmi.RemoteException
        MXException
        MXApplicationException - - when the launch in context entry has not been customized
      • CREATEITEM

        public int CREATEITEM()
                       throws java.rmi.RemoteException,
                              MXException
        Patches the feature of the framework not to check for authorization of a sigoption on the List page
        Returns:
        EVENT_CONTINUE
        Throws:
        MXAccessException - when there is no authorization for this action
        MXException
        java.rmi.RemoteException
      • find

        public int find()
                 throws MXException,
                        java.rmi.RemoteException
        The Software Catalog has the numeric TLOAMSOFTWAREID as the key field, which is not useful for the quick search. Therefore, use the SWNAME field as the search attribute instead.

        Note from PP: I have copied this whole method from SfwlicviewBean.find() with just a change in the searchAttribute value and some formatting, original author ssaadia.

        TODO: It would be nice to abstract this in a class between AppBean and these application beans that need to do their quick find on an attribute other than the unique key in the metadata

        Overrides:
        find in class AppBean
        Throws:
        MXException
        java.rmi.RemoteException