public class SignupMeetingsBean extends Object implements SignupBeanConstants
This JSF UIBean class will handle information exchanges between main events/meetings list view page:orgSignupMeetings.jsp and backbone system. It provides all the necessary business logic
| Modifier and Type | Field and Description |
|---|---|
protected AttendanceSignupBean |
attendanceSignupBean |
protected AttendeeSignupMBean |
attendeeSignupMBean |
protected Boolean |
categoriesExist |
protected String |
categoryFilter |
protected String |
disabledSelectView |
protected boolean |
enableExpandOption |
protected Boolean |
locationsExist |
protected UIData |
meetingTable |
protected String |
meetingUnavailableMessages |
protected OrganizerSignupMBean |
organizerSignupMBean |
protected org.sakaiproject.signup.logic.SakaiFacade |
sakaiFacade |
protected boolean |
showAllRecurMeetings |
protected List<SignupMeetingWrapper> |
signupMeetings |
protected org.sakaiproject.signup.logic.SignupMeetingService |
signupMeetingService |
protected SignupSorter |
signupSorter |
protected String |
viewDateRang |
protected List<SelectItem> |
viewDropDownList |
ADD_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 |
|---|
SignupMeetingsBean()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
addMeeting()
This is a JSF action call method by UI to navigate to add new
event/meeting page.
|
List<SelectItem> |
getAllCategories() |
List<SelectItem> |
getAllCategoriesForFilter()
UI method to get list of categories for the filter
First item has null value to signal that it is all categories
|
List<SelectItem> |
getAllLocations() |
List<SignupMeetingWrapper> |
getAllSignupMeetings()
This is a getter method for UI and returns all signup meetings.
|
AttendanceSignupBean |
getAttendanceSignupBean() |
AttendeeSignupMBean |
getAttendeeSignupMBean()
This is a getter method.
|
CreateSitesGroups |
getCreateSitesGroups() |
String |
getCurrentUserDisplayName()
This is a getter method.
|
String |
getIframeId()
This is a getter method which provide current Iframe id for refresh
IFrame purpose.
|
String |
getInstructorName(String userId)
Get the name of the user (instructor) for the given userId.
|
List<SelectItem> |
getInstructors(org.sakaiproject.signup.model.SignupMeeting meeting)
Get a list of instructors, defined as those with a given permission.
|
UIData |
getMeetingTable()
This is a getter method for UI.
|
String |
getMeetingUnavailableMessages()
It's a getter method for UI.
|
NewSignupMeetingBean |
getNewSignupMeetingBean()
It's getter method for JSF bean
|
OrganizerSignupMBean |
getOrganizerSignupMBean()
This is a getter method.
|
org.sakaiproject.signup.logic.SakaiFacade |
getSakaiFacade()
This is a getter method for UI.
|
List<SignupMeetingWrapper> |
getSignupMeetings()
This is a getter method for UI and filters the list according to what has been set.
|
org.sakaiproject.signup.logic.SignupMeetingService |
getSignupMeetingService()
This is a getter method.
|
SignupSorter |
getSignupSorter()
This is a getter to obtain the SignupSorter object.
|
String |
getViewDateRang()
This is a getter method for UI.
|
List<SelectItem> |
getViewDropDownList()
This is a getter method.
|
boolean |
isAllowedToCreate() |
boolean |
isAllowedToDelete()
This is a getter method for UI.
|
boolean |
isAllowedToUpdate()
This is a getter method for UI.
|
boolean |
isAttendanceOn() |
boolean |
isCategoriesAvailable()
This is a getter method for UI.
|
boolean |
isCsvExportEnabled()
Is CSV export enabled?
|
boolean |
isCurrentUserAllowedUpdateSite()
Is the current user allowed to update the site?
|
boolean |
isEnableExpandOption()
This is a getter method for UI.
|
boolean |
isLocationsAvailable()
This is a getter method for UI.
|
boolean |
isMeetingsAvailable()
This is a getter method for UI.
|
boolean |
isSelectedViewAllMeetings()
This provides information of user's View selection for UI
|
boolean |
isSelectedViewFutureMeetings()
This provides information of user's View selection for UI
|
boolean |
isSelectedViewImmediateAvail() |
boolean |
isSelectedViewMySignedUp() |
boolean |
isShowAllRecurMeetings()
This is a getter method for UI.
|
boolean |
isShowMyAppointmentTime()
For UI, it will switch the time-column accordingly
|
boolean |
isUserLoggedInStatus() |
String |
processExpandAllRcurEvents(ValueChangeEvent vce)
This is a ValueChange Listener to watch the show-all-recurring-events
check-box value change by user.
|
String |
processSelectedCategory(ValueChangeEvent vce)
This is a ValueChange Listener to watch the category filter selection by user.
|
String |
processSelectedRange(ValueChangeEvent vce)
This is a ValueChange Listener to watch the view-range type selection by
user.
|
String |
processSignup()
This is a JSF action call method by UI to navigate to view the specific
event/meeting page.
|
String |
processSignupAttendance()
This is a JSF action call method by UI to navigate to view the specific
event/meeting attendance page.
|
String |
removeMeetings()
This is a JSF action call method by UI to remove the selected
events/meetings.
|
void |
setAttendanceSignupBean(AttendanceSignupBean attendanceSignupBean) |
void |
setAttendeeSignupMBean(AttendeeSignupMBean attendeeSignupMBean)
This is a setter.
|
void |
setEnableExpandOption(boolean enableExpandOption)
This is a setter method for UI.
|
void |
setMeetingTable(UIData meetingTable)
This is a setter.
|
void |
setNewSignupMeetingBean(NewSignupMeetingBean newSignupMeetingBean)
It's a setter method for JSF bean.
|
void |
setOrganizerSignupMBean(OrganizerSignupMBean organizerSignupMBean)
This is a setter.
|
void |
setSakaiFacade(org.sakaiproject.signup.logic.SakaiFacade sakaiFacade)
This is a setter.
|
void |
setShowAllRecurMeetings(boolean showAllRecurMeetings)
This is a setter method for UI.
|
void |
setSignupMeetings(List<SignupMeetingWrapper> signupMeetings)
This is a setter.
|
void |
setSignupMeetingService(org.sakaiproject.signup.logic.SignupMeetingService signupMeetingService)
This is a setter.
|
void |
setSignupSorter(SignupSorter signupSorter)
This is a setter.
|
void |
setViewDateRang(String viewDateRang)
This is a setter for UI.
|
protected UIData meetingTable
protected String viewDateRang
protected org.sakaiproject.signup.logic.SignupMeetingService signupMeetingService
protected List<SignupMeetingWrapper> signupMeetings
protected org.sakaiproject.signup.logic.SakaiFacade sakaiFacade
protected AttendeeSignupMBean attendeeSignupMBean
protected OrganizerSignupMBean organizerSignupMBean
protected AttendanceSignupBean attendanceSignupBean
protected SignupSorter signupSorter
protected boolean showAllRecurMeetings
protected boolean enableExpandOption
protected List<SelectItem> viewDropDownList
protected final String disabledSelectView
protected String meetingUnavailableMessages
protected Boolean categoriesExist
protected Boolean locationsExist
protected String categoryFilter
public String getCurrentUserDisplayName()
public String addMeeting()
public String removeMeetings()
public List<SelectItem> getAllLocations()
public List<SelectItem> getAllCategories()
public String processSignup()
public String processSignupAttendance()
public String processSelectedRange(ValueChangeEvent vce)
vce - a ValuechangeEvent object.public String processExpandAllRcurEvents(ValueChangeEvent vce)
vce - a ValuechangeEvent object.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 List<SignupMeetingWrapper> getSignupMeetings()
public List<SignupMeetingWrapper> getAllSignupMeetings()
public boolean isAllowedToDelete()
public boolean isAllowedToUpdate()
public boolean isMeetingsAvailable()
public boolean isCategoriesAvailable()
public boolean isLocationsAvailable()
public boolean isSelectedViewFutureMeetings()
public boolean isSelectedViewAllMeetings()
public boolean isAllowedToCreate()
public CreateSitesGroups getCreateSitesGroups()
public void setSignupMeetings(List<SignupMeetingWrapper> signupMeetings)
signupMeetings - a list of SignupMeetingWrapper objects.public UIData getMeetingTable()
public void setMeetingTable(UIData meetingTable)
meetingTable - an UIData object.public AttendeeSignupMBean getAttendeeSignupMBean()
public void setAttendeeSignupMBean(AttendeeSignupMBean attendeeSignupMBean)
attendeeSignupMBean - an AttendeeSignupMBean object.public OrganizerSignupMBean getOrganizerSignupMBean()
public void setOrganizerSignupMBean(OrganizerSignupMBean organizerSignupMBean)
organizerSignupMBean - an OrganizerSignupMBean objectpublic String getViewDateRang()
public void setViewDateRang(String viewDateRang)
viewDateRang - a string value.public SignupSorter getSignupSorter()
public void setSignupSorter(SignupSorter signupSorter)
signupSorter - A SignupSorter object.public boolean isShowAllRecurMeetings()
public void setShowAllRecurMeetings(boolean showAllRecurMeetings)
showAllRecurMeetings - a boolean valuepublic String getIframeId()
public boolean isEnableExpandOption()
public void setEnableExpandOption(boolean enableExpandOption)
enableExpandOption - a boolean valuepublic List<SelectItem> getViewDropDownList()
public String getMeetingUnavailableMessages()
public boolean isSelectedViewImmediateAvail()
public boolean isSelectedViewMySignedUp()
public NewSignupMeetingBean getNewSignupMeetingBean()
public void setNewSignupMeetingBean(NewSignupMeetingBean newSignupMeetingBean)
newSignupMeetingBean - a NewSignupMeetingBean objectpublic AttendanceSignupBean getAttendanceSignupBean()
public void setAttendanceSignupBean(AttendanceSignupBean attendanceSignupBean)
public boolean isShowMyAppointmentTime()
public boolean isUserLoggedInStatus()
public boolean isAttendanceOn()
public List<SelectItem> getInstructors(org.sakaiproject.signup.model.SignupMeeting meeting)
public String getInstructorName(String userId)
userId - public boolean isCsvExportEnabled()
public boolean isCurrentUserAllowedUpdateSite()
public List<SelectItem> getAllCategoriesForFilter()
public String processSelectedCategory(ValueChangeEvent vce)
vce - a ValuechangeEvent object.Copyright © 2007-2015 Sakai Project. All Rights Reserved.