public class SignupMeetingWrapper extends Object implements SignupBeanConstants
This class is a wrapper class for SignupMeeting for UI purpose
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 |
|---|
SignupMeetingWrapper(org.sakaiproject.signup.model.SignupMeeting signupMeeting,
String creator,
String currentUserId,
org.sakaiproject.signup.logic.SakaiFacade sakaiFacade)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<org.sakaiproject.signup.model.SignupAttachment> |
getAttendeeAttachments() |
String |
getAvailableStatus()
This is a getter method for UI.
|
String |
getCreator()
This is a getter for UI
|
boolean |
getEmptyAttendeeAttachment() |
boolean |
getEmptyEventMainAttachment() |
Date |
getEndTime()
This is mainly used for showing my appointment time frame at UI.
|
List<org.sakaiproject.signup.model.SignupAttachment> |
getEventMainAttachments() |
String |
getHideStyle()
It's a getter method.
|
org.sakaiproject.signup.model.SignupMeeting |
getMeeting()
This is a getter method for UI.
|
int |
getRecurEventsSize()
It's a getter method.
|
String |
getRecurId()
The recurId format is as '294_0' where 294:parent meetingId; _0:first
sub-recurrent meeting
|
Date |
getStartTime()
This is mainly used for showing my appointment time frame at UI.
|
String |
getStatusStyle()
This is a getter method for UI
|
boolean |
isAtleastOneTimeslotLockedOrCanceled()
This is a getter method for UI.
|
boolean |
isFirstOneRecurMeeting()
It's a getter method for UI
|
boolean |
isMyAppointmentCrossDays()
This will test if the event/meeting is cross days
|
boolean |
isRefresh()
Check if the current data is old and need refreshing.
|
boolean |
isSelected()
This is a getter method for UI.
|
boolean |
isShowMyAppointmentTimeFrame()
It's a getter method for UI.
|
boolean |
isSubRecurringMeeting()
It is a UI getter method.
|
boolean |
isToDownload() |
void |
resetAvailableStatus()
It will force to recalculate the current available status.
|
void |
setAttendeeAttachments(List<org.sakaiproject.signup.model.SignupAttachment> attendeeAttachments) |
void |
setCreator(String creator)
This is a setter
|
void |
setEndTime(Date endTime) |
void |
setEventMainAttachments(List<org.sakaiproject.signup.model.SignupAttachment> eventMainAttachments) |
void |
setHideStyle(String hideStyle) |
void |
setMeeting(org.sakaiproject.signup.model.SignupMeeting meeting)
This is a setter.
|
void |
setRecurEventsSize(int recurEventsSize) |
void |
setRecurId(String recurId) |
void |
setSelected(boolean selected)
This is a setter.
|
void |
setShowMyAppointmentTimeFrame(boolean showMyAppointmentTimeFrame) |
void |
setStartTime(Date startTime) |
void |
setSubRecurringMeeting(boolean subRecurringMeeting) |
void |
setToDownload(boolean toDownload) |
public SignupMeetingWrapper(org.sakaiproject.signup.model.SignupMeeting signupMeeting,
String creator,
String currentUserId,
org.sakaiproject.signup.logic.SakaiFacade sakaiFacade)
signupMeeting - a SignupMeeting object.creator - an user display name string.currentUserId - an unique sakai internal user id(not username).public org.sakaiproject.signup.model.SignupMeeting getMeeting()
public String getCreator()
public void setCreator(String creator)
creator - -String of a display namepublic String getAvailableStatus()
public String getStatusStyle()
public void resetAvailableStatus()
public boolean isAtleastOneTimeslotLockedOrCanceled()
public void setMeeting(org.sakaiproject.signup.model.SignupMeeting meeting)
meeting - a SignupMeeting object.public boolean isSelected()
public void setSelected(boolean selected)
selected - a boolean value.public boolean isToDownload()
public void setToDownload(boolean toDownload)
public boolean isRefresh()
public boolean isSubRecurringMeeting()
public void setSubRecurringMeeting(boolean subRecurringMeeting)
public String getRecurId()
public void setRecurId(String recurId)
public String getHideStyle()
public void setHideStyle(String hideStyle)
public boolean isFirstOneRecurMeeting()
public int getRecurEventsSize()
public void setRecurEventsSize(int recurEventsSize)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
public boolean isShowMyAppointmentTimeFrame()
public void setShowMyAppointmentTimeFrame(boolean showMyAppointmentTimeFrame)
public boolean isMyAppointmentCrossDays()
public List<org.sakaiproject.signup.model.SignupAttachment> getAttendeeAttachments()
public void setAttendeeAttachments(List<org.sakaiproject.signup.model.SignupAttachment> attendeeAttachments)
public List<org.sakaiproject.signup.model.SignupAttachment> getEventMainAttachments()
public void setEventMainAttachments(List<org.sakaiproject.signup.model.SignupAttachment> eventMainAttachments)
public boolean getEmptyEventMainAttachment()
public boolean getEmptyAttendeeAttachment()
Copyright © 2007-2015 Sakai Project. All Rights Reserved.