public class OrganizerSignupMBean extends SignupUIBaseBean
This JSF UIBean class will handle information exchanges between Organizer's event/meeting view page:orgSignupMeeting.jsp and backbone system. It provides all the necessary business logic
| Modifier and Type | Field and Description |
|---|---|
static String |
DELIMITER |
calendarHelper, currentUserSignedup, customCategory, customLocation, DEFAULT_EXPORT_TO_CALENDAR_TOOL, DEFAULT_SEND_EMAIL, ICS_MIME_TYPE, meetingWrapper, publishedSite, publishToCalendar, sakaiFacade, sendEmail, sendEmailToSelectedPeopleOnly, signupMeetingService, timeslotWrapper, timeslotWrappersADD_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_UPSEND_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| Constructor and Description |
|---|
OrganizerSignupMBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
addAttendee()
This is a JSF action call method by UI to add a new attendee into the
event/meeting.
|
String |
addAttendeeToWList()
This is a JSF action call method by UI to add the attendee to a waiting
list in the event/meeting.
|
String |
cancelAddAttendee()
This is a JSF action call method by UI to reset user input.
|
String |
cancelTimeslot()
This is a JSF action call method by UI to cancel time slot of the
event/meeting.
|
String |
copyMeeting()
This is a JSF action call method by UI to copy the event/meeting.
|
String |
editTimeslotAttendee()
This is a JSF action call method by UI to edit the attendee in the
event/meeting.
|
UIInput |
getAddNewAttendeeUserEidOrEmail()
This is a getter.
|
List<SelectItem> |
getAllAttendees()
This is getter for UI.
|
UIInput |
getAttendeeTimeSlotWithId() |
String |
getAttendeeUserId()
This is a getter for UI.
|
UIData |
getAttendeeWrapperTable()
This is a JSF getter method to get the selected attendee.
|
CopyMeetingSignupMBean |
getCopyMeetingMBean()
This is a getter method.
|
String |
getCurrentUserEmailAddress()
Helper to get the email address for the current user
|
EditMeetingSignupMBean |
getEditMeetingMBean()
This is a getter method.
|
UIInput |
getListPendingType()
This is a getter, which tells how to pend an attendee into a waiting list
(on top or on bottom).
|
String |
getMoveAction()
This is a getter for UI.
|
String |
getOnBottomList()
This is a getter for UI.
|
String |
getOnTopList()
This is a getter for UI.
|
List<org.sakaiproject.signup.model.SignupSite> |
getPublishedSignupSites()
It's a getter method for UI.
|
String |
getReplaceAction()
This is a getter for UI.
|
UIInput |
getReplacedAttendeeEidOrEmail()
This is a getter for UI.
|
String |
getSelectedAction()
This is a getter.
|
String |
getSelectedEditTimeslotId()
This is a getter method for UI.
|
String |
getSelectedFirstUser()
This is a getter.
|
UIInput |
getSelectedTimeslotId()
This is a getter.
|
String |
getSwapAction()
This is a getter for UI.
|
UIData |
getTimeslotWrapperTable() |
String |
getUserActionType()
This is a getter for UI.
|
String |
getUserInputEidOrEmail()
This is for javascrip UI only.
|
ViewCommentSignupMBean |
getViewCommentMBean()
This is a getter method.
|
UIInput |
getWaiterEidOrEmail() |
UIData |
getWaiterWrapperTable()
This is a getter method for UI.
|
void |
init(SignupMeetingWrapper meetingWrapper)
This will initialize all the wrapper objects such as
SignupMeetingWrapper, SignupTimeslotWrapper etc.
|
String |
initiateCancelTimeslot()
This is a JSF action call method by UI to go to Cancel confirmation page.
|
boolean |
isAddNewAttendee()
Check if the action is a add-new-attendee.
|
boolean |
isCollapsedMeetingInfo()
It's a getter method for UI
|
boolean |
isEidInputMode()
Check if the user input mode is Eid mode or not.
|
boolean |
isShowEmailAllAttendeesLink()
Helper to check if we need to show the email link
If we have email addresses, then the link shows up.
|
void |
loadAllAttendees(org.sakaiproject.signup.model.SignupMeeting meeting)
This will load all the potential participants for an event/meeting and
wrap it for UI purpose.
|
String |
modifyMeeting()
This is a JSF action call method by UI to modify the event/meeting.
|
String |
prepareAddAttendee() |
String |
processLockTsAction()
This is a JSF action call method by UI to lock/unlock time slot of the
event/meeting.
|
String |
removeAttendee()
This is a JSF action call method by UI to remove an attendee from the
event/meeting.
|
String |
removeAttendeeFromWList()
This is a JSF action call method by UI to remove the attendee from the
waiting list in the event/meeting.
|
void |
reset(SignupMeetingWrapper meetingWrapper)
This will basically update the Timeslot wrappers after event/meeting is
updated
|
String |
restoreTimeslot()
This is a JSF action call method by UI to restore time slot of the
event/meeting.
|
void |
setAddNewAttendee(boolean addNewAttendee)
This is a setter.
|
void |
setAddNewAttendeeUserEidOrEmail(UIInput addNewAttendeeUserEidOrEmail)
This is a setter.
|
void |
setAllAttendees(List<SelectItem> allAttendees)
This is a setter.
|
void |
setAttendeeTimeSlotWithId(UIInput attendeeEid) |
void |
setAttendeeWrapperTable(UIData attendeeWrapperTable)
This is a setter.
|
void |
setCollapsedMeetingInfo(boolean collapsedMeetingInfo)
This is a setter method for UI.
|
void |
setCopyMeetingMBean(CopyMeetingSignupMBean copyMeetingMBean)
This is a setter.
|
void |
setEditMeetingMBean(EditMeetingSignupMBean editMeetingMBean)
This is a setter.
|
void |
setEidInputMode(boolean eidInputMode)
This is a setter.
|
void |
setListPendingType(UIInput listPendingType)
This is a setter.
|
void |
setReplacedAttendeeEidOrEmail(UIInput replacedAttendeeEidOrEmail)
This is a setter.
|
void |
setSelectedAction(String selectedAction)
This is a setter.
|
void |
setSelectedEditTimeslotId(String selectedEditTimeslotId)
This is a setter.
|
void |
setSelectedFirstUser(String selectedFirstUser)
This is a setter.
|
void |
setSelectedTimeslotId(UIInput selectedTimeslotId)
This is a setter.
|
void |
setTimeslotWrapperTable(UIData timeslotWrapperTable) |
void |
setUserActionType(String userActionType)
This is a setter.
|
void |
setUserInputEidOrEmail(String value)
This is a setter.
|
void |
setViewCommentMBean(ViewCommentSignupMBean viewCommentMBean)
This is a setter.
|
void |
setWaiterEidOrEmail(UIInput waiterEidOrEmail) |
void |
setWaiterWrapperTable(UIData waiterWrapperTable)
This is a setter for UI.
|
String |
synchroniseGroupMembership()
Synchronise the users in a timeslot with the users in a group.
|
protected void |
updateTimeSlotWrappers(SignupMeetingWrapper meetingWrapper)
process new data into Timeslot wrapper for UI purpose
|
String |
viewAttendeeComment()
This is a JSF action call method by UI to view a specific attendee's
comment of the event/meeting.
|
cleanUpUnusedAttachmentCopies, convertAttendeesToUuids, convertAttendeeWrappersToUuids, downloadICSForMeeting, downloadICSForMeetingTimeSlot, generateGroupDescription, generateGroupTitle, getAllAttendeesEmailAddressesFormatted, getAnnouncement, getAnnouncementType, getAttachmentHandler, getCustomCategory, getCustomLocation, getCustomTsType, getEidsForEmail, getGroup, getGroupType, getIframeId, getIndividual, getIndividualType, getMaxAttendeesPerSlot, getMaxSlots, getMeetingWrapper, getPublishedSite, getSakaiFacade, getSendEmailToSelectedPeopleOnly, getSignupAttachmentEmpty, getSignupMeetingService, getTimeslotWrapper, getTimeslotWrappers, getUserIdForEidOrEmail, getValidAttendees, isCurrentUserSignedup, isIcsEnabled, isMeetingOverRepeatPeriod, isPublishToCalendar, isSendEmail, markerTimeslots, sendDownload, sendDownloadWarning, setAttachmentHandler, setCurrentUserSignedup, setCustomCategory, setCustomLocation, setIframeId, setMaxAttendeesPerSlot, setMaxSlots, setMeetingWrapper, setPublishToCalendar, setSakaiFacade, setSendEmail, setSendEmailToSelectedPeopleOnly, setSignupBeginDeadlineData, setSignupMeetingService, setTimeslotWrapper, setTimeslotWrappers, updateMeetingwrapper, updateSignupAttachmentWrapperpublic static final String DELIMITER
public void init(SignupMeetingWrapper meetingWrapper) throws Exception
meetingWrapper - a SignupMeetingWrapper object.Exceptionpublic void reset(SignupMeetingWrapper meetingWrapper)
meetingWrapper - a SignupMeetingWrapper object.public String modifyMeeting()
public String copyMeeting()
public String processLockTsAction()
public String initiateCancelTimeslot()
public String restoreTimeslot()
public String cancelTimeslot()
public String viewAttendeeComment()
public String editTimeslotAttendee()
public void loadAllAttendees(org.sakaiproject.signup.model.SignupMeeting meeting)
meeting - a SignupMeeting object.protected void updateTimeSlotWrappers(SignupMeetingWrapper meetingWrapper)
SignupUIBaseBeanupdateTimeSlotWrappers in class SignupUIBaseBeanpublic UIData getTimeslotWrapperTable()
public void setTimeslotWrapperTable(UIData timeslotWrapperTable)
public UIInput getAttendeeTimeSlotWithId()
public void setAttendeeTimeSlotWithId(UIInput attendeeEid)
public UIInput getWaiterEidOrEmail()
public void setWaiterEidOrEmail(UIInput waiterEidOrEmail)
public String prepareAddAttendee()
public String addAttendee()
public String cancelAddAttendee()
public String removeAttendee()
public String addAttendeeToWList()
public String removeAttendeeFromWList()
public UIData getAttendeeWrapperTable()
public void setAttendeeWrapperTable(UIData attendeeWrapperTable)
attendeeWrapperTable - an UIData object, which is selected by user.public UIData getWaiterWrapperTable()
public void setWaiterWrapperTable(UIData waiterWrapperTable)
waiterWrapperTable - an UIData object.public List<SelectItem> getAllAttendees()
public void setAllAttendees(List<SelectItem> allAttendees)
allAttendees - public String getAttendeeUserId()
public String getSelectedEditTimeslotId()
public void setSelectedEditTimeslotId(String selectedEditTimeslotId)
selectedEditTimeslotId - a time slot Id string.public String getMoveAction()
public String getReplaceAction()
public String getSwapAction()
public String getOnTopList()
public String getOnBottomList()
public String getSelectedAction()
public void setSelectedAction(String selectedAction)
selectedAction - a string value.public UIInput getReplacedAttendeeEidOrEmail()
public void setReplacedAttendeeEidOrEmail(UIInput replacedAttendeeEidOrEmail)
replacedAttendeeEid - an UIInput object.public UIInput getSelectedTimeslotId()
public void setSelectedTimeslotId(UIInput selectedTimeslotId)
selectedTimeslotId - a time slot Id string.public boolean isAddNewAttendee()
public void setAddNewAttendee(boolean addNewAttendee)
addNewAttendee - a boolean value.public UIInput getAddNewAttendeeUserEidOrEmail()
public void setAddNewAttendeeUserEidOrEmail(UIInput addNewAttendeeUserEidOrEmail)
addNewAttendeeUserEidOrEmail - an attendee's Eid or email string.public String getSelectedFirstUser()
public void setSelectedFirstUser(String selectedFirstUser)
selectedFirstUser - an eid stirng.public String getUserActionType()
public void setUserActionType(String userActionType)
userActionType - a action type string.public UIInput getListPendingType()
public void setListPendingType(UIInput listPendingType)
listPendingType - a pending type string (on top or on bottom).public CopyMeetingSignupMBean getCopyMeetingMBean()
public void setCopyMeetingMBean(CopyMeetingSignupMBean copyMeetingMBean)
copyMeetingMBean - a CopyMeetingSignupMBean object.public EditMeetingSignupMBean getEditMeetingMBean()
public void setEditMeetingMBean(EditMeetingSignupMBean editMeetingMBean)
editMeetingMBean - an EditMeetingSignupMBean object.public ViewCommentSignupMBean getViewCommentMBean()
public void setViewCommentMBean(ViewCommentSignupMBean viewCommentMBean)
viewCommentMBean - a ViewCommentSignupMBean object.public boolean isEidInputMode()
public void setEidInputMode(boolean eidInputMode)
eidInputMode - a boolean value.public String getUserInputEidOrEmail()
public void setUserInputEidOrEmail(String value)
value - an user input eid or email address value .public List<org.sakaiproject.signup.model.SignupSite> getPublishedSignupSites()
public boolean isCollapsedMeetingInfo()
public void setCollapsedMeetingInfo(boolean collapsedMeetingInfo)
collapsedMeetingInfo - a boolean valuepublic String synchroniseGroupMembership()
Ensures that both lists have the same users in each, but does NOT remove any users from the group.
public boolean isShowEmailAllAttendeesLink()
public String getCurrentUserEmailAddress()
Copyright © 2007-2014 Sakai Project. All Rights Reserved.