psdi.app.report

Class FldReportScheduleOnly

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldReportScheduleOnly
    extends MboValueAdapter
    Validation for ScheduleOnly in Report Object to make fields norequestpage, dp (direct/quick print) dploc (direct print location) ql (browser view) qlloc (browser view location) pad (direct print with attachments) padloc (direct print with attachments location) readonly when the ScheduleOnly checkbox is selected. These fields must be marked readonly because they rely on the request page NOT being displayed to the end user. In the case of Schedule Only reports, the request page must be displayed so the schedule can be input.
    • Constructor Detail

      • FldReportScheduleOnly

        public FldReportScheduleOnly(MboValue mbv)
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If ScheduleOnly is selected then norequestpage, direct print, browser view, and direct print with attachment must be disabled as they are mutually exclusive choices. When ScheduleOnly is checked the other choices listed here are greyed out and when ScheduleOnly is de-selected the other choices are enabled again.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        If any of norequestpage, direct print, browser view, or direct print with attachment are enabled put up an error message that schedule only cannot be checked.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException