psdi.webclient.beans.dm

Class DlgUploadCmpSrc

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


    public class DlgUploadCmpSrc
    extends DataBean
    • Constructor Detail

      • DlgUploadCmpSrc

        public DlgUploadCmpSrc()
    • 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
      • docancel

        public int docancel()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Called when dialog is cancelled to clean up data.
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • dook

        public int dook()
                 throws MXException,
                        java.rmi.RemoteException
        Event: dook When ok out of this dialog, continue with the package creation process
        Throws:
        MXException
        java.rmi.RemoteException
      • hasSigOptionAccess

        public boolean hasSigOptionAccess(int row,
                                          java.lang.String sigOption)
                                   throws java.rmi.RemoteException,
                                          MXException
        Description copied from class: DataBean
        Returns true if the user has record level privileges for a given sigoption on the given mbo. If the mbo doesn't exist, false it returned. (Changed in 7.1.1.5-BS. Prior versions checked on the app level, which almost always returned true)
        Overrides:
        hasSigOptionAccess in class DataBean
        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