com.ibm.tivoli.maximo.appt.app

Class ApptBookWindowAvailability

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.appt.app.ApptBookWindowAvailability
    • Constructor Detail

      • ApptBookWindowAvailability

        public ApptBookWindowAvailability(MboSet ms)
                                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException,
                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • applyWindow

        public void applyWindow(ApptBookWindow apptwindow,
                                java.util.Date workDate,
                                java.lang.String sPatternseq,
                                java.lang.Integer existingAppts)
                         throws MXException,
                                java.rmi.RemoteException
        Public but not remote. Called by WorkPeriodRemote in addNewDayInPattern(). If the pattern day is not empty, it adds one row in workperiod. and sets the field values accordingly.
        Throws:
        MXException
        java.rmi.RemoteException
      • setTotalAppointments

        public void setTotalAppointments(java.lang.String totalAppointments,
                                         java.lang.Integer previousTotalAppts)
                                  throws java.rmi.RemoteException,
                                         MXException
        Validate a set of business rules required for saving an Appointment Book Window Availability record.
        Specified by:
        setTotalAppointments in interface ApptBookWindowAvailabilityRemote
        Parameters:
        totalAppointments - - The total number of appointments set.
        previousTotalAppts - - The previous number of total appointments set.
        Throws:
        java.rmi.RemoteException
        MXException