psdi.app.report

Class ReportProcReserve

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, ReportProcReserveRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class ReportProcReserve
    extends Mbo
    implements ReportProcReserveRemote
    ReportProcReserve Mbo class is in report scheduling and forces reports marked as ScheduleOnly that have reserved processing times to only be allowed to run during the scheduled availiability times. These reserved processing times are set and shown on the Report Administration Performance tab.
    • Constructor Detail

      • ReportProcReserve

        public ReportProcReserve(MboSet ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Construct the ReportProcReserve object
        Parameters:
        ms - - Mbo set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the ReportProcReserve Mbo and set the non-persistent field totalreservedhours as well as setting the DAY value to a default value of Sunday if DAY doesn't have a value yet.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a ReportProcReserve row if ScheduleOnly is true, otherwise throw an error message that ScheduleOnly must be checked to be able to add reserved processing times.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException