psdi.app.calendar

Class CalendarBreakSet

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MboSet
        Validate all objects in the collection that have been modified. Called by the system prior to saving
        Specified by:
        validate in interface MboSetRemote
        Overrides:
        validate in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • checkAllBreaksAreDefined

        protected void checkAllBreaksAreDefined(CalendarBreakSetRemote calendarBreakSet)
                                         throws MXException,
                                                java.rmi.RemoteException
        Verify if all shift breaks for the selected day have all required fields defined and duplicate breaks do not exist
        Parameters:
        calendarBreakSet - Shift Breaks for the selected day
        Throws:
        MXException
        java.rmi.RemoteException
      • clearCalendarYear

        public java.util.Date clearCalendarYear(java.util.Date date)
                                         throws MXException,
                                                java.rmi.RemoteException
        Clears the year from the date.
        Parameters:
        date - Complete date
        Returns:
        date which has the year portion of the date cleared
        Throws:
        MXException
        java.rmi.RemoteException