public class NewSignupMeetingBean extends Object implements org.sakaiproject.signup.model.MeetingTypes, org.sakaiproject.signup.logic.SignupMessageTypes, SignupBeanConstants
This JSF UIBean class will handle the creation of different types of event/meeting by Organizer It provides all the necessary business logic for this process.
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
NEW_MEETING_SEND_EMAIL |
protected boolean |
sendEmail |
ANNOUNCEMENT, BIWEEKLY, CUSTOM_TIMESLOTS, DAILY, GROUP, INDIVIDUAL, ONCE_ONLY, WEEKDAYS, WEEKLYSEND_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_ASSIGNADD_MEETING_PAGE_URL, ADD_MEETING_STEP1_PAGE_URL, ADD_MEETING_STEP2_PAGE_URL, ALL_FUTURE, ATTACH_COPY, ATTACH_MODIFY, ATTACH_RECURRING, ATTACH_TEMP, ATTENDANCE_PAGE_URL, ATTENDEE_ADD_COMMENT_PAGE_URL, ATTENDEE_MEETING_PAGE_URL, ATTENDEE_USER_ID, CANCEL_ADD_MEETING_PAGE_URL, CATERGORY_FILER_ALL, COPTY_MEETING_PAGE_URL, CUSTOM_DEFINED_TIMESLOT_PAGE_URL, DATA_VERSION, dataRefreshInterval, DAY_IN_MILLISEC, DAY_IN_MINUTES, DAYS, FULL_DATA_BOTH_VERSION, FULL_VERSION, HALF_YEAR, Hour_In_MINUTES, HOURS, MAIN_EVENTS_LIST_PAGE_URL, MAX_NUM_PARTICIPANTS_FOR_DROPDOWN_BEFORE_AUTO_SWITCH_TO_EID_INPUT_MODE, MAX_NUMBER_OF_RETRY, MINUTE_IN_MILLISEC, MINUTES, MODIFY_MEETING_PAGE_URL, MOVE_ACTION, NINTY_DAYS, OLD_DAYS, ON_BOTTOM_LIST, ON_TOP_LIST, onceOnly, ORGANIZER_MEETING_PAGE_URL, perBiweek, perDay, perWeek, PRE_ASSIGN_ATTENDEE_PAGE_URL, REPLACE_ACTION, SHORT_VERSION, SIXTY_DAYS, START_NOW, SWAP_ACTION, THIRTY_DAYS, VIEW_ALL, VIEW_COMMENT_PAGE_URL, VIEW_IMMEDIATE_AVAIL, VIEW_MY_SIGNED_UP| Constructor and Description |
|---|
NewSignupMeetingBean()
The default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addAttendee()
This is a JSF action call method by UI to let user add an attendee into
the page.
|
String |
addRemoveAttachments()
This method is called by JSP page for adding/removing attachments action.
|
String |
createUserDefTimeSlots()
Create a new time slot blocks
|
String |
editUserDefTimeSlots()
Modify the existing time slot blocks
|
List<SelectItem> |
getAllAttendees()
This is a getter method for UI.
|
List<SelectItem> |
getAllCategories()
This method is called to get all categories to populate the dropdown, for new signup creation.
|
List<SelectItem> |
getAllLocations()
This method is called to get all locations to populate the dropdown, for new signup creation.
|
List<org.sakaiproject.signup.logic.SignupUser> |
getAllPossibleCoordinators() |
String |
getAnnouncement()
This is a getter method for UI.
|
AttachmentHandler |
getAttachmentHandler() |
List<org.sakaiproject.signup.model.SignupAttachment> |
getAttachments() |
String |
getAttendeeUserId()
This is a getter method for UI.
|
boolean |
getCreateGroups() |
String |
getCreatorUserId() |
SignupSiteWrapper |
getCurrentSite()
This is a getter method for UI.
|
HtmlInputHidden |
getCurrentStepHiddenInfo()
This is a getter method for UI.
|
String |
getCurrentUserDisplayName() |
String |
getcustomCategory() |
String |
getcustomLocation() |
List<TimeslotWrapper> |
getCustomTimeSlotWrpList() |
int |
getDeadlineTime()
This is a getter method for UI.
|
String |
getDeadlineTimeType()
This is a getter method for UI.
|
String |
getDisplayCurrentMeetingType()
This is for UI purpose and it displays the meeting type, which user can
redefine in message bundle
|
List<String> |
getEidsForEmail(String email)
Get the eids assocaited with an email address, ie there may be two or more users with the same email address.
|
String |
getEventFreqType()
This is a getter method for UI
|
String |
getGroup()
This is a getter method for UI.
|
String |
getIframeId()
This is a getter method which provide current Iframe id for refresh
IFrame purpose.
|
String |
getIndividual()
This is a getter method for UI.
|
String |
getInstructorName()
Get the instructor name attached to the value currently set for the instructor
|
List<SelectItem> |
getInstructors()
Get a list of users that have permission, but format it as a SelectItem list for the dropdown.
|
int |
getMaxAttendeesPerSlot() |
int |
getMaxNumOfSlots() |
int |
getMaxOfAttendees()
This is a getter method for UI.
|
int |
getMaxSlots() |
Date |
getMeetingEndTime()
This is a getter method for UI and it calculates the meeting ending time
according to meeting type
|
List<SelectItem> |
getMeetingTypeRadioBttns()
This is a getter method for UI and it provides the meeting types for
radio buttons.
|
UIInput |
getNewAttendeeInput()
This is a getter method for UI.
|
int |
getNumberOfAttendees()
This is a getter method for UI.
|
int |
getNumberOfSlots()
This is a getter method for UI.
|
int |
getOccurrences() |
List<SignupSiteWrapper> |
getOtherSites()
This is a getter method for UI.
|
boolean |
getPrePopulateValues() |
Boolean |
getPublishedSite()
This is a getter method for UI
|
boolean |
getPublishToCalendar() |
String |
getRecurLengthChoice() |
String |
getRepeatType() |
Date |
getRepeatUntil() |
org.sakaiproject.signup.logic.SakaiFacade |
getSakaiFacade()
This is a getter method.
|
String |
getselectedCategory() |
String |
getselectedLocation() |
List<org.sakaiproject.signup.model.SignupSite> |
getSelectedSignupSites()
This is a getter method for UI and it provides the selected
site(s)/group(s) by user.
|
boolean |
getSendEmail()
This is a getter method for UI.
|
boolean |
getSendEmailByOwner()
This is a getter method for UI.
|
String |
getSendEmailToSelectedPeopleOnly() |
Date |
getSignupBeginInDate()
This is a getter method for UI and it provides the time for Signup-begin.
|
int |
getSignupBegins()
This is a getter method for UI.
|
String |
getSignupBeginsType()
This is a getter method for UI.
|
Date |
getSignupDeadlineInDate()
This is a getter method for UI and it provides the time for
Signup-Deadline.
|
org.sakaiproject.signup.model.SignupMeeting |
getSignupMeeting()
This is a getter method for UI.
|
org.sakaiproject.signup.logic.SignupMeetingService |
getSignupMeetingService()
This is a getter method.
|
List<SelectItem> |
getSlots() |
int |
getTimeSlotDuration()
This is a getter method for UI.
|
List<TimeslotWrapper> |
getTimeSlotWrappers()
This is a getter method for UI.
|
UIData |
getTimeslotWrapperTable()
This is a getter method for UI.
|
UserDefineTimeslotBean |
getUserDefineTimeslotBean() |
String |
getUserIdForEidOrEmail(String value)
Gets the userId for a user, given an eid or an email address.
|
String |
getUserInputEidOrEmail()
This is for Javascript UI only.
|
String |
goBack()
This is a JSF action call method by UI to let user navigate one page
back.
|
String |
goNext()
This is a JSF action call method by UI to navigate to the next page.
|
boolean |
isAllLocationsEmpty() |
boolean |
isAllowComment() |
boolean |
isAllowWaitList() |
boolean |
isAnnouncementType()
This is a getter method for UI.
|
boolean |
isAssignParicitpantsToAllRecurEvents()
This is a getter for UI
|
boolean |
isAttachmentsEmpty() |
boolean |
isAttendanceOn() |
boolean |
isAutoReminder() |
boolean |
isAutoReminderOptionChoice() |
boolean |
isCategoriesExist() |
boolean |
isCustomTimeslotType()
This is a getter method for UI.
|
boolean |
isEidInputMode()
This is a getter method for UI.
|
boolean |
isEndTimeAutoAdjusted()
This is a getter method for UI
|
boolean |
isGroupType()
This is a getter method for UI.
|
boolean |
isIndividualType()
This is a getter method for UI.
|
boolean |
isMandatorySendEmail()
This is for UI page to determine whether the email checkbox should be checked and disabled to change
|
boolean |
isOtherSitesAvailability() |
boolean |
isReceiveEmail()
This is a getter method for UI.
|
boolean |
isRecurrence()
This is a getter method for UI and check if the event/meeting is
recurred.
|
boolean |
isShowParticipants()
This is a getter method for UI.
|
boolean |
isUnlimited()
This is a getter method and it checks if the number of attendees is
limited.
|
boolean |
isUserDefinedTS() |
boolean |
isUserIdInputModeOptionChoice() |
String |
proceesPreAssignAttendee()
This is a JSF action call method by UI to let user to go to next page,
which will allow user to pre-assign the attendees into the event/meeting.
|
String |
processAssignStudentsAndPublish()
This is a JSF action call method by UI to let user to save and publish
the new event/meeting with pre-assigned attendees.
|
String |
processCancel()
This is a JSF action call method by UI to let user cancel the action.
|
String |
processGroup(ValueChangeEvent vce)
This is a ValueChange Listener to watch changes on the selection of
'unlimited attendee' choice by user.
|
String |
processSave()
This is a JSF action call method by UI to let user to save and create a
new event/meeting.
|
String |
processSelectedType(ValueChangeEvent vce)
This is a ValueChange Listener to watch the meeting type selection by
user.
|
String |
removeAttendee()
This is a JSF action call method by UI to let user remove an attendee
from the page.
|
void |
reset() |
void |
setAllAttendees(List<SelectItem> allAttendees)
This is a setter.
|
void |
setAllowComment(boolean allowComment) |
void |
setAllowWaitList(boolean allowWaitList) |
void |
setAllPossibleCoordinators(List<org.sakaiproject.signup.logic.SignupUser> allPossibleCoordinators) |
void |
setAssignParicitpantsToAllRecurEvents(boolean assignParicitpantsToAllRecurEvents)
This is a setter method for UI
|
void |
setAttachmentHandler(AttachmentHandler attachmentHandler) |
void |
setAttachments(List<org.sakaiproject.signup.model.SignupAttachment> attachments) |
void |
setAutoReminder(boolean autoReminder) |
void |
setAutoReminderOptionChoice(boolean autoReminderOptionChoice) |
void |
setCreateGroups(boolean createGroups) |
void |
setCreatorUserId(String creatorUserId) |
void |
setCurrentSite(SignupSiteWrapper currentSite)
This is a setter for UI.
|
void |
setCurrentStepHiddenInfo(HtmlInputHidden htmlInputHidden)
This is a setter for UI.
|
void |
setcustomCategory(String customCategory) |
void |
setcustomLocation(String customLocation) |
void |
setCustomTimeSlotWrpList(List<TimeslotWrapper> customTimeSlotWrpList) |
void |
setDeadlineTime(int deadlineTime)
This is a setter for UI.
|
void |
setDeadlineTimeType(String deadlineTimeType)
This is a setter for UI.
|
void |
setEidInputMode(boolean eidInputMode)
This is a setter.
|
void |
setEndTimeAutoAdjusted(boolean endTimeAutoAdjusted)
This is a setter method.
|
void |
setIframeId(String iframeId) |
void |
setMaxAttendeesPerSlot(int maxAttendeesPerSlot) |
void |
setMaxNumOfSlots(int preferredSlot) |
void |
setMaxOfAttendees(int maxOfAttendees)
This is a setter for UI.
|
void |
setMaxSlots(int maxSlots) |
void |
setNewAttendeeInput(UIInput newAttendeeInput)
This is a setter for UI.
|
void |
setNumberOfAttendees(int numberOfAttendees)
This is a setter for UI.
|
void |
setNumberOfSlots(int numberOfSlots)
This is a setter method for UI.
|
void |
setOccurrences(int occurrences) |
void |
setOtherSites(List<SignupSiteWrapper> signupSiteWrapperList)
This is a setter method for UI.
|
void |
setOtherSitesAvailability(boolean otherSitesAvailability) |
void |
setPublishToCalendar(boolean publishToCalendar) |
void |
setReceiveEmail(boolean receiveEmail)
This is a setter for UI.
|
void |
setRecurLengthChoice(String recurLengthChoice) |
void |
setRecurrence(boolean recurrence)
This is a setter for UI.
|
void |
setRepeatType(String repeatType) |
void |
setRepeatUntil(Date repeatUntil) |
void |
setSakaiFacade(org.sakaiproject.signup.logic.SakaiFacade sakaiFacade)
This is a setter.
|
void |
setselectedCategory(String selectedCategory) |
void |
setselectedLocation(String selectedLocation) |
void |
setSendEmail(boolean sendEmail)
This is a setter for UI.
|
void |
setSendEmailByOwner(boolean sendEmailByOwner)
This is a getter method for UI.
|
void |
setSendEmailToSelectedPeopleOnly(String sendEmailToSelectedPeopleOnly) |
void |
setShowParticipants(boolean showParticipants)
This is a setter for UI.
|
void |
setSignupBegins(int bookingTime)
This is a setter for UI.
|
void |
setSignupBeginsType(String bookingTimeType)
This is a setter for UI.
|
void |
setSignupMeeting(org.sakaiproject.signup.model.SignupMeeting signupMeeting)
This is a setter for UI.
|
void |
setSignupMeetingService(org.sakaiproject.signup.logic.SignupMeetingService signupMeetingService)
This is a setter.
|
void |
setTimeSlotDuration(int timeSlotDuration) |
void |
setTimeslotWrapperTable(UIData timeslotWrapperTable)
This is a setter for UI.
|
void |
setUnlimited(boolean unlimited)
This is a setter for UI.
|
void |
setUserDefinedTS(boolean userDefinedTS) |
void |
setUserDefineTimeslotBean(UserDefineTimeslotBean userDefineTimeslotBean) |
void |
setUserIdInputModeOptionChoice(boolean userIdInputModeOptionChoice) |
void |
setUserInputEidOrEmail(String value)
This is for Javascript UI only.
|
void |
validateNewMeeting(ActionEvent e)
This is a validator to make sure that the event/meeting starting time is
before ending time.
|
protected boolean sendEmail
protected static boolean NEW_MEETING_SEND_EMAIL
public NewSignupMeetingBean()
public int getMaxNumOfSlots()
public void setMaxNumOfSlots(int preferredSlot)
public List<SelectItem> getSlots()
public String getCurrentUserDisplayName()
public String getselectedLocation()
public void setselectedLocation(String selectedLocation)
public String getcustomLocation()
public void setcustomLocation(String customLocation)
public String getselectedCategory()
public void setselectedCategory(String selectedCategory)
public String getcustomCategory()
public void setcustomCategory(String customCategory)
public String getCreatorUserId()
public void setCreatorUserId(String creatorUserId)
public boolean isOtherSitesAvailability()
public void setOtherSitesAvailability(boolean otherSitesAvailability)
public int getMaxSlots()
public void setMaxSlots(int maxSlots)
maxSlots - the maxSlots to setpublic int getMaxAttendeesPerSlot()
public void setMaxAttendeesPerSlot(int maxAttendeesPerSlot)
maxAttendeesPerSlot - the maxAttendeesPerSlot to setpublic String getRepeatType()
public Date getRepeatUntil()
public void setRepeatType(String repeatType)
public void setRepeatUntil(Date repeatUntil)
public void reset()
public List<SelectItem> getAllLocations()
public List<SelectItem> getAllCategories()
public String goNext()
public String addRemoveAttachments()
public String createUserDefTimeSlots()
public String editUserDefTimeSlots()
public boolean getPrePopulateValues()
public void validateNewMeeting(ActionEvent e)
e - an ActionEvent object.public String goBack()
public String processCancel()
public String processSelectedType(ValueChangeEvent vce)
vce - a ValuechangeEvent object.public String processGroup(ValueChangeEvent vce)
vce - a ValuechangeEvent object.public String processSave()
public String proceesPreAssignAttendee()
public String processAssignStudentsAndPublish()
public String addAttendee()
public String removeAttendee()
public List<TimeslotWrapper> getTimeSlotWrappers()
public Date getSignupBeginInDate()
public Date getSignupDeadlineInDate()
public Date getMeetingEndTime()
public org.sakaiproject.signup.logic.SakaiFacade getSakaiFacade()
public void setSakaiFacade(org.sakaiproject.signup.logic.SakaiFacade sakaiFacade)
sakaiFacade - a SakaiFacade object.public org.sakaiproject.signup.logic.SignupMeetingService getSignupMeetingService()
public void setSignupMeetingService(org.sakaiproject.signup.logic.SignupMeetingService signupMeetingService)
signupMeetingService - a SignupMeetingService object.public org.sakaiproject.signup.model.SignupMeeting getSignupMeeting()
public void setSignupMeeting(org.sakaiproject.signup.model.SignupMeeting signupMeeting)
signupMeeting - a SignupMeeting object.public HtmlInputHidden getCurrentStepHiddenInfo()
public void setCurrentStepHiddenInfo(HtmlInputHidden htmlInputHidden)
htmlInputHidden - a HtmlInputHidden object.public boolean isRecurrence()
public void setRecurrence(boolean recurrence)
recurrence - a boolean value.public int getMaxOfAttendees()
public void setMaxOfAttendees(int maxOfAttendees)
maxOfAttendees - an int valuepublic int getNumberOfSlots()
public void setNumberOfSlots(int numberOfSlots)
numberOfSlots - an int valuepublic int getTimeSlotDuration()
public void setTimeSlotDuration(int timeSlotDuration)
public int getNumberOfAttendees()
public void setNumberOfAttendees(int numberOfAttendees)
numberOfAttendees - an int value.public boolean isUnlimited()
public void setUnlimited(boolean unlimited)
unlimited - a boolean value.public int getSignupBegins()
public void setSignupBegins(int bookingTime)
bookingTime - an int value.public String getSignupBeginsType()
public void setSignupBeginsType(String bookingTimeType)
bookingTimeType - a string value.public int getDeadlineTime()
public void setDeadlineTime(int deadlineTime)
deadlineTime - an int value.public String getDeadlineTimeType()
public void setDeadlineTimeType(String deadlineTimeType)
deadlineTimeType - a string value.public List<SignupSiteWrapper> getOtherSites()
public void setOtherSites(List<SignupSiteWrapper> signupSiteWrapperList)
signupSiteWrapperList - a list of SignupSiteWrapper object.public SignupSiteWrapper getCurrentSite()
public void setCurrentSite(SignupSiteWrapper currentSite)
currentSite - a SignupSiteWrapper object.public boolean getSendEmail()
public void setSendEmail(boolean sendEmail)
sendEmail - a boolean value.public boolean getSendEmailByOwner()
public void setSendEmailByOwner(boolean sendEmailByOwner)
public String getIndividual()
public String getGroup()
public String getAnnouncement()
public List<SelectItem> getAllAttendees()
public void setAllAttendees(List<SelectItem> allAttendees)
allAttendees - a list of SelectItem objects.public boolean isShowParticipants()
public void setShowParticipants(boolean showParticipants)
showParticipants - a boolean value.public UIInput getNewAttendeeInput()
public void setNewAttendeeInput(UIInput newAttendeeInput)
newAttendeeInput - an UIInput object.public UIData getTimeslotWrapperTable()
public void setTimeslotWrapperTable(UIData timeslotWrapperTable)
timeslotWrapperTable - an UIData object.public boolean isReceiveEmail()
public void setReceiveEmail(boolean receiveEmail)
receiveEmail - a boolean value.public String getAttendeeUserId()
public boolean isAnnouncementType()
public boolean isGroupType()
public boolean isIndividualType()
public boolean isCustomTimeslotType()
public String getDisplayCurrentMeetingType()
public boolean isEidInputMode()
public void setEidInputMode(boolean eidInputMode)
eidInputMode - a boolean value.public String getUserInputEidOrEmail()
public void setUserInputEidOrEmail(String value)
value - eid or email for the userpublic boolean isAssignParicitpantsToAllRecurEvents()
public void setAssignParicitpantsToAllRecurEvents(boolean assignParicitpantsToAllRecurEvents)
assignParicitpantsToAllRecurEvents - a boolean vaulepublic String getEventFreqType()
public List<org.sakaiproject.signup.model.SignupSite> getSelectedSignupSites()
public List<SelectItem> getMeetingTypeRadioBttns()
public Boolean getPublishedSite()
public boolean isEndTimeAutoAdjusted()
public void setEndTimeAutoAdjusted(boolean endTimeAutoAdjusted)
endTimeAutoAdjusted - public boolean isAllowWaitList()
public void setAllowWaitList(boolean allowWaitList)
public boolean isAllowComment()
public void setAllowComment(boolean allowComment)
public boolean isAutoReminder()
public void setAutoReminder(boolean autoReminder)
public boolean isAutoReminderOptionChoice()
public void setAutoReminderOptionChoice(boolean autoReminderOptionChoice)
public boolean isUserIdInputModeOptionChoice()
public void setUserIdInputModeOptionChoice(boolean userIdInputModeOptionChoice)
public List<org.sakaiproject.signup.model.SignupAttachment> getAttachments()
public void setAttachments(List<org.sakaiproject.signup.model.SignupAttachment> attachments)
public AttachmentHandler getAttachmentHandler()
public void setAttachmentHandler(AttachmentHandler attachmentHandler)
public boolean isAttachmentsEmpty()
public boolean isAllLocationsEmpty()
public boolean isCategoriesExist()
public UserDefineTimeslotBean getUserDefineTimeslotBean()
public void setUserDefineTimeslotBean(UserDefineTimeslotBean userDefineTimeslotBean)
public List<TimeslotWrapper> getCustomTimeSlotWrpList()
public void setCustomTimeSlotWrpList(List<TimeslotWrapper> customTimeSlotWrpList)
public boolean isUserDefinedTS()
public void setUserDefinedTS(boolean userDefinedTS)
public boolean getPublishToCalendar()
public void setPublishToCalendar(boolean publishToCalendar)
public boolean getCreateGroups()
public void setCreateGroups(boolean createGroups)
public String getRecurLengthChoice()
public void setRecurLengthChoice(String recurLengthChoice)
public int getOccurrences()
public void setOccurrences(int occurrences)
public boolean isAttendanceOn()
public List<SelectItem> getInstructors()
public String getInstructorName()
public String getUserIdForEidOrEmail(String value)
value - the string to lookup, could be an eid or an email addresspublic List<String> getEidsForEmail(String email)
email - public List<org.sakaiproject.signup.logic.SignupUser> getAllPossibleCoordinators()
public void setAllPossibleCoordinators(List<org.sakaiproject.signup.logic.SignupUser> allPossibleCoordinators)
public boolean isMandatorySendEmail()
public String getSendEmailToSelectedPeopleOnly()
public void setSendEmailToSelectedPeopleOnly(String sendEmailToSelectedPeopleOnly)
public String getIframeId()
public void setIframeId(String iframeId)
Copyright © 2007-2016 Sakai Project. All Rights Reserved.