Class SignupMeeting

    • Constructor Detail

      • SignupMeeting

        public SignupMeeting()
    • Method Detail

      • getMaxNumOfSlots

        public Integer getMaxNumOfSlots()
        get how many slots allowed for one user to sign in in this meeting
        Returns:
        Integer.
      • setEndTime

        public void setEndTime​(Date endTime)
        special setter.
        Parameters:
        endTime - the end time of the event/meeting
      • getNoOfTimeSlots

        public int getNoOfTimeSlots()
        This method obtains the number of time slots in the event/meeting
        Returns:
        the number of time slots
      • setSignupBegins

        public void setSignupBegins​(Date signupBegins)
        special setter
        Parameters:
        signupBegins - a time when the signup process starts
      • setSignupDeadline

        public void setSignupDeadline​(Date signupDeadLine)
        special setter
        Parameters:
        signupDeadLine - the time when signup process stops
      • setStartTime

        public void setStartTime​(Date startTime)
        special setter
        Parameters:
        startTime - the time when the event/meeting starts
      • getMaxNumberOfAttendees

        public int getMaxNumberOfAttendees()
        get the maximum nubmer of the attendees, which is allowed in one time slot
        Returns:
        the maximum nubmer of the attendees
      • equals

        public boolean equals​(Object object)
        test if two event/meeting objects are equal
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTimeslot

        public SignupTimeslot getTimeslot​(Long timeslotId)
        This method will obtain the SignupTimeslot object according to the timeslot Id
        Parameters:
        timeslotId - a timeslot Id
        Returns:
        a SignupTimeslot object
      • isMeetingExpired

        public boolean isMeetingExpired()
        This method will check if the event/meeting is already expired
        Returns:
        true if the event/meeting is expired
      • isPassedDeadline

        public boolean isPassedDeadline()
        This method will check if the current time has already passed the signup deadline
        Returns:
        true if the current time has already passed the signup deadline
      • isMeetingCrossDays

        public boolean isMeetingCrossDays()
        This will test if the event/meeting is cross days
        Returns:
        true if the event/meeting is cross days
      • isStartToSignUp

        public boolean isStartToSignUp()
        This will test if the event/meeting is started to sign up
        Returns:
        true if the sign-up begin time is before current time.
      • isRecurredMeeting

        public boolean isRecurredMeeting()
      • hasSignupAttachments

        public boolean hasSignupAttachments()
      • getCoordinatorIdsList

        public List<String> getCoordinatorIdsList()
        Breaks up the coordinatorIds string into a list object
        Returns:
        a list of coordinator id strings