Package org.sakaiproject.signup.model
Class SignupMeeting
- java.lang.Object
-
- org.sakaiproject.signup.model.SignupMeeting
-
- All Implemented Interfaces:
SignupMessageTypes,MeetingTypes
public class SignupMeeting extends Object implements MeetingTypes, SignupMessageTypes
- Author:
- gl256
-
-
Field Summary
-
Fields inherited from interface org.sakaiproject.signup.model.MeetingTypes
ANNOUNCEMENT, BIWEEKLY, CUSTOM_TIMESLOTS, DAILY, GROUP, INDIVIDUAL, ONCE_ONLY, WEEKDAYS, WEEKLY
-
Fields inherited from interface org.sakaiproject.signup.logic.SignupMessageTypes
ATTENDEE_EDIT_COMMENT_NOTE, ORGANIZER_EDIT_COMMENT_NOTE, SEND_EMAIL_ALL_PARTICIPANTS, SEND_EMAIL_ONLY_ORGANIZER_COORDINATORS, SEND_EMAIL_ONLY_SIGNED_UP_ATTENDEES, SIGNUP_ATTENDEE_CANCEL, SIGNUP_ATTENDEE_PROMOTE, SIGNUP_ATTENDEE_SIGNUP, SIGNUP_ATTENDEE_SIGNUP_MOVE, SIGNUP_ATTENDEE_SIGNUP_REPLACE, SIGNUP_ATTENDEE_SIGNUP_SWAP, SIGNUP_CANCEL_MEETING, SIGNUP_MEETING_MODIFIED, SIGNUP_NEW_MEETING, SIGNUP_ORGANIZER_ADD, SIGNUP_ORGANIZER_REMOVE, SIGNUP_PRE_ASSIGN, VALID_SEND_EMAIL_TO_SELECTED_PEOPLE_ONLY
-
-
Constructor Summary
Constructors Constructor Description SignupMeeting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)test if two event/meeting objects are equalList<String>getCoordinatorIdsList()Breaks up the coordinatorIds string into a list objectintgetMaxNumberOfAttendees()get the maximum nubmer of the attendees, which is allowed in one time slotIntegergetMaxNumOfSlots()get how many slots allowed for one user to sign in in this meetingintgetNoOfTimeSlots()This method obtains the number of time slots in the event/meetingSignupTimeslotgetTimeslot(Long timeslotId)This method will obtain the SignupTimeslot object according to the timeslot IdinthashCode()booleanhasSignupAttachments()booleanisMeetingCrossDays()This will test if the event/meeting is cross daysbooleanisMeetingExpired()This method will check if the event/meeting is already expiredbooleanisPassedDeadline()This method will check if the current time has already passed the signup deadlinebooleanisRecurredMeeting()booleanisStartToSignUp()This will test if the event/meeting is started to sign upvoidsetEndTime(Date endTime)special setter.voidsetSignupBegins(Date signupBegins)special settervoidsetSignupDeadline(Date signupDeadLine)special settervoidsetStartTime(Date startTime)special setter
-
-
-
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
-
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()
-
-