psdi.app.calendar

Interface ShiftRemote

  • All Superinterfaces:
    MboRemote, java.rmi.Remote
    All Known Implementing Classes:
    Shift


    public interface ShiftRemote
    extends MboRemote
    Remote Interface to the Shift object.
    • Method Detail

      • getPatternDays

        int getPatternDays()
                    throws MXException,
                           java.rmi.RemoteException
        Return how many days in a shift pattern.
        Throws:
        MXException
        java.rmi.RemoteException
      • setPatternDays

        void setPatternDays()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setPatternDays

        ShiftPatternDaySetRemote setPatternDays(int numberOfDays)
                                         throws MXException,
                                                java.rmi.RemoteException
        Created necessry empty rows (without working hour) in table shiftpatternday for this shift. The client can call this function when a shift with a non zero number of pattern days is being added. If the pattern already exists, an exception is thrown. This function is only here to provide the convenience when a new shift is created. Modification and insertion to the existing or zero day pattern should be achieved by directly calling ShiftPatternDaySet' add() and ShiftPatternDay's setValue().
        Throws:
        MXException
        java.rmi.RemoteException