psdi.webclient.beans.common

Class RecordImageBean

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


    public class RecordImageBean
    extends DataBean
    • Constructor Detail

      • RecordImageBean

        public RecordImageBean()
    • Method Detail

      • removeimage

        public int removeimage()
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        This method is meant to be overrided by dialog beans but by default if the bean's remote is a NonPersistentMboSetRemote, then execute is called on the bean's remote and if the DataBean has a parent then execute is called on the bean's parent bean. If the remote is not a NonPersistentMboSetRemote then if the bean has a parentbean and a parent relationship then execute is called on the parent bean, else save is called on the bean's remote If you do not want to save the parent of the bean then override execute and just call save.
        Overrides:
        execute in class DataBean
        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
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: DataBean
        Called by the dialog control when the dialog is cancled. Override this method if any special processing needs to be done when the user closes a dialog.
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException