public class SignupEvent extends Object implements Entity, MeetingTypes
This class holds the information of sign-up meeting/event for RESTful and it's a wrapper class for SignupMeeting.
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOCATE_TO_TS_ID_FIELD_NAME |
static String |
SITE_ID_FIELD_NAME |
static String |
USER_ACTION_TYPE_FIELD_NAME |
static String |
USER_ADD_TO_WAITLIST |
static String[] |
USER_ATION_Types |
static String |
USER_CANCEL_SIGNUP |
static String |
USER_REMOVE_FROM_WAITLIST |
static String |
USER_SIGNUP |
ANNOUNCEMENT, BIWEEKLY, CUSTOM_TIMESLOTS, DAILY, GROUP, INDIVIDUAL, ONCE_ONLY, WEEKDAYS, WEEKLY| Constructor and Description |
|---|
SignupEvent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAllocToTSid() |
String[] |
getAllowedUserActionTypes() |
String |
getAvailableStatus() |
Date |
getDate()
This is a extra field for JSON object to display the event date.
|
String |
getDescription()
get the description of the event/meeting
|
Date |
getEndTime()
get the end time of an event/meeting
|
Long |
getEventId()
get the unique meeting/event Id, which is generated by DB
|
String |
getId() |
String |
getLocation()
get the location, where the event/meeting occurs
|
int |
getMaxNumberOfAttendees()
get the maximum nubmer of the attendees, which is allowed in one time
slot
|
Integer |
getMaxNumOfSlots() |
String |
getMeetingType()
get the event/meeting type (individual,group and announcement)
|
Date |
getMyEndTime() |
Date |
getMyStartTime() |
int |
getNoOfTimeSlots()
This method obtains the number of time slots in the event/meeting
|
String |
getOrganizerName() |
Permission |
getPermission()
get the Permission object, which contains the user's operation
permissions on this event/meeting
|
ResourceProperties |
getProperties() |
Long |
getRecurrenceId()
get the recurrence Id of the event/meeting
|
String |
getReference() |
String |
getReference(String arg0) |
String |
getRepeatType() |
String |
getServerUrl() |
Date |
getSignupBegins()
get the signup starting time for the event/meeting
|
Date |
getSignupDeadline()
get the time when the signup process stops
|
List<SignupAttachment> |
getSignupMainEventAttachItems()
This method provides the attachments for main Sign-up event page
and is public to whole site.
|
List<SignupSiteItem> |
getSignupSiteItems()
get a list of SignupSiteItem objects, which indicate the scope of the
event/meeting
|
List<SignupTimeslotItem> |
getSignupTimeSlotItems()
get a list of SignupTimeslot objects, which contains the event/meeting
segments information
|
String |
getSiteId() |
Date |
getStartTime()
get the starting time of the event/meeting
|
String |
getTitle()
get the name of the event/meeting
|
String |
getUrl() |
String |
getUrl(String arg0) |
String |
getUserActionType() |
String |
getUserActionWarningMsg() |
int |
hashCode() |
boolean |
isallowAttendance()
check if the meeting/event can take attendance
|
boolean |
isAllowComment() |
boolean |
isAllowWaitList() |
boolean |
isAutoReminder() |
boolean |
isCurrentUserSignedUp() |
boolean |
isEidInputMode() |
boolean |
isMeetingCrossDays()
This will test if the event/meeting is cross days
|
boolean |
isMeetingExpired()
This method will check if the event/meeting is already expired
|
boolean |
isMySignupEvents() |
boolean |
isPassedDeadline()
This method will check if the current time has already passed the signup
deadline
|
boolean |
isStartToSignUp()
This will test if the event/meeting is started to sign up
|
void |
setAllocToTSid(String allocToTSid) |
void |
setAllowAttendance(boolean allowAttendance)
this is a setter.
|
void |
setAllowComment(boolean allowComment) |
void |
setAllowedUserActionTypes(String[] types) |
void |
setAllowWaitList(boolean allowWaitList) |
void |
setAutoReminder(boolean autoReminder) |
void |
setAvailableStatus(String availableStatus) |
void |
setCurrentUserSignedUp(boolean currentUserSignedUp) |
void |
setDescription(String description)
this is a setter.
|
void |
setEidInputMode(boolean eidInputMode) |
void |
setEndTime(Date endTime)
this is a setter.
|
void |
setEventId(Long id)
this is a setter.
|
void |
setId(String s) |
void |
setLocation(String location)
this is a setter.
|
void |
setMaxNumOfSlots(Integer maxNumOfSlots) |
void |
setMeetingType(String meetingType)
this is a setter
|
void |
setMyEndTime(Date myEndTime) |
void |
setMyStartTime(Date myStartTime) |
void |
setOrganizerName(String organizerName) |
void |
setPermission(Permission permission)
this is a setter
|
void |
setRecurrenceId(Long recurrenceId)
this is a setter.
|
void |
setRepeatType(String repeatType) |
void |
setSignupBegins(Date signupBegins)
this is a setter
|
void |
setSignupDeadline(Date signupDeadLine)
this is a setter
|
void |
setSignupMainEventAttachItems(List<SignupAttachment> signupMainEventAttachItems)
this is a setter. it only holds the attachments,
which belongs to the entire event, not to individual
time slot or participant
|
void |
setSignupSiteItems(List<SignupSiteItem> signupSites)
this is a setter
|
void |
setSignupTimeSlotItems(List<SignupTimeslotItem> signupTimeSlotItems)
this is a setter.
|
void |
setSiteId(String siteId) |
void |
setStartTime(Date startTime)
this is a setter
|
void |
setTitle(String title)
this is a setter
|
void |
setUserActionType(String userActionType) |
void |
setUserActionWarningMsg(String userActionWarningMsg) |
String |
toString() |
Element |
toXml(Document doc,
Stack stack) |
public static final String USER_SIGNUP
public static final String USER_CANCEL_SIGNUP
public static final String USER_ADD_TO_WAITLIST
public static final String USER_REMOVE_FROM_WAITLIST
public static final String USER_ACTION_TYPE_FIELD_NAME
public static final String ALLOCATE_TO_TS_ID_FIELD_NAME
public static final String SITE_ID_FIELD_NAME
public static final String[] USER_ATION_Types
public void setId(String s)
public Long getEventId()
public void setEventId(Long id)
id - an unique sequence Idpublic String getTitle()
public void setTitle(String title)
title - a name of the event/meetingpublic String getOrganizerName()
public void setOrganizerName(String organizerName)
public String getLocation()
public void setLocation(String location)
location - a location, where the event/meeting occurspublic String getDescription()
public void setDescription(String description)
description - a description of an event/meetingpublic Date getEndTime()
public void setEndTime(Date endTime)
endTime - the end time of the event/meetingpublic String getAvailableStatus()
public void setAvailableStatus(String availableStatus)
public String getMeetingType()
public void setMeetingType(String meetingType)
meetingType - a defined meeting type (individual,group and announcement)public int getNoOfTimeSlots()
public Long getRecurrenceId()
public void setRecurrenceId(Long recurrenceId)
recurrenceId - a unique Idpublic Date getStartTime()
public void setStartTime(Date startTime)
startTime - the time when the event/meeting startspublic Date getDate()
public Date getSignupBegins()
public void setSignupBegins(Date signupBegins)
signupBegins - a time when the signup process startspublic Date getSignupDeadline()
public void setSignupDeadline(Date signupDeadLine)
signupDeadLine - the time when signup process stopspublic boolean isAllowWaitList()
public void setAllowWaitList(boolean allowWaitList)
public boolean isAllowComment()
public void setAllowComment(boolean allowComment)
public String getRepeatType()
public void setRepeatType(String repeatType)
public boolean isMySignupEvents()
public Date getMyStartTime()
public void setMyStartTime(Date myStartTime)
public Date getMyEndTime()
public void setMyEndTime(Date myEndTime)
public boolean isallowAttendance()
public void setAllowAttendance(boolean allowAttendance)
allowAttendance - a boolean valuepublic int getMaxNumberOfAttendees()
public List<SignupSiteItem> getSignupSiteItems()
public void setSignupSiteItems(List<SignupSiteItem> signupSites)
SignupSiteItem - a SignupSiteItem objectpublic boolean isStartToSignUp()
public boolean isMeetingExpired()
public boolean isPassedDeadline()
public boolean isMeetingCrossDays()
public boolean isCurrentUserSignedUp()
public void setCurrentUserSignedUp(boolean currentUserSignedUp)
public String[] getAllowedUserActionTypes()
public void setAllowedUserActionTypes(String[] types)
public List<SignupTimeslotItem> getSignupTimeSlotItems()
public void setSignupTimeSlotItems(List<SignupTimeslotItem> signupTimeSlotItems)
signupTimeSlots - a list of SignupTimeslot objectspublic List<SignupAttachment> getSignupMainEventAttachItems()
public void setSignupMainEventAttachItems(List<SignupAttachment> signupMainEventAttachItems)
SignupAttachment - a list of SignupAttachment objectspublic Permission getPermission()
public void setPermission(Permission permission)
permission - a permission objectpublic String getAllocToTSid()
public void setAllocToTSid(String allocToTSid)
public String getUserActionType()
public void setUserActionType(String userActionType)
public String getSiteId()
public void setSiteId(String siteId)
public boolean isEidInputMode()
public void setEidInputMode(boolean eidInputMode)
public boolean isAutoReminder()
public void setAutoReminder(boolean autoReminder)
public ResourceProperties getProperties()
getProperties in interface Entitypublic String getReference()
getReference in interface Entitypublic String getReference(String arg0)
getReference in interface Entitypublic String getServerUrl()
public String getUserActionWarningMsg()
public void setUserActionWarningMsg(String userActionWarningMsg)
public Integer getMaxNumOfSlots()
public void setMaxNumOfSlots(Integer maxNumOfSlots)
Copyright © 2007–2018 Sakai Project. All rights reserved.