public class SignupMeetingServiceImpl extends Object implements SignupMeetingService, Retry, MeetingTypes, SignupMessageTypes
SignupMeetingServiceImpl is an implementation of SignupMeetingService, which provides methods to manipulate the SignupMeeting object to the DB, send email, post/edit Calendar and check permission.
MAX_NUMBER_OF_RETRYANNOUNCEMENT, BIWEEKLY, CUSTOM_TIMESLOTS, DAILY, GROUP, INDIVIDUAL, ONCE_ONLY, WEEKDAYS, WEEKLYATTENDEE_EDIT_COMMENT_NOTE, ORGANIZER_EDIT_COMMENT_NOTE, SEND_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 |
|---|
SignupMeetingServiceImpl() |
public void init()
public List<SignupMeeting> getAllSignupMeetings(String currentSiteId, String userId)
getAllSignupMeetings in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetings(String currentSiteId, String userId, Date searchEndDate)
getSignupMeetings in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetings(String currentSiteId, String userId, Date startDate, Date endDate)
getSignupMeetings in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetingsInSiteWithCache(String siteId, Date startDate, int timeFrameInDays)
getSignupMeetingsInSiteWithCache in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetingsInSitesWithCache(List<String> siteIds, Date startDate, int timeFrameInDays)
getSignupMeetingsInSitesWithCache in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetingsInSite(String siteId, Date startDate, Date endDate)
getSignupMeetingsInSite in interface SignupMeetingServicepublic List<SignupMeeting> getSignupMeetingsInSites(List<String> siteIds, Date startDate, Date endDate)
getSignupMeetingsInSites in interface SignupMeetingServicepublic List<SignupMeeting> getRecurringSignupMeetings(String currentSiteId, String userId, Long recurrenceId, Date startDate)
getRecurringSignupMeetings in interface SignupMeetingServicepublic Long saveMeeting(SignupMeeting signupMeeting, String userId) throws PermissionException
saveMeeting in interface SignupMeetingServicePermissionExceptionpublic void saveMeetings(List<SignupMeeting> signupMeetings, String userId) throws PermissionException
saveMeetings in interface SignupMeetingServicePermissionExceptionpublic boolean isAllowedToCreateinGroup(String userId, String siteId, String groupId)
isAllowedToCreateinGroup in interface SignupMeetingServicepublic boolean isAllowedToCreateinSite(String userId, String siteId)
isAllowedToCreateinSite in interface SignupMeetingServicepublic boolean isAllowedToCreateAnyInSite(String userId, String siteId)
isAllowedToCreateAnyInSite in interface SignupMeetingServicepublic void updateSignupMeeting(SignupMeeting meeting, boolean isOrganizer) throws Exception
updateSignupMeeting in interface SignupMeetingServiceExceptionpublic void updateSignupMeetings(List<SignupMeeting> meetings, boolean isOrganizer) throws Exception
updateSignupMeetings in interface SignupMeetingServiceExceptionpublic void updateModifiedMeetings(List<SignupMeeting> meetings, List<SignupTimeslot> removedTimeslots, boolean isOrganizer) throws Exception
updateModifiedMeetings in interface SignupMeetingServiceExceptionpublic SignupMeeting loadSignupMeeting(Long meetingId, String userId, String siteId)
loadSignupMeeting in interface SignupMeetingServicepublic SignupTargetSiteEventInfo loadSignupMeetingWithAutoSelectedSite(Long meetingId, String userId, String siteId)
loadSignupMeetingWithAutoSelectedSite in interface SignupMeetingServicepublic void postToCalendar(SignupMeeting meeting) throws Exception
postToCalendar in interface SignupMeetingServiceExceptionpublic void modifyCalendar(SignupMeeting meeting) throws Exception
modifyCalendar in interface SignupMeetingServiceExceptionpublic void removeCalendarEvents(List<SignupMeeting> meetings) throws Exception
removeCalendarEvents in interface SignupMeetingServiceExceptionpublic void removeCalendarEventsOnModifiedMeeting(List<SignupMeeting> meetings) throws Exception
removeCalendarEventsOnModifiedMeeting in interface SignupMeetingServiceExceptionpublic void sendEmail(SignupMeeting signupMeeting, String messageType) throws Exception
sendEmail in interface SignupMeetingServiceExceptionpublic void sendEmailToOrganizer(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception
sendEmailToOrganizer in interface SignupMeetingServiceExceptionpublic void sendCancellationEmail(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception
sendCancellationEmail in interface SignupMeetingServiceExceptionpublic void sendUpdateCommentEmail(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception
sendUpdateCommentEmail in interface SignupMeetingServiceExceptionpublic void removeMeetings(List<SignupMeeting> meetings) throws Exception
removeMeetings in interface SignupMeetingServiceExceptionpublic void sendEmailToParticipantsByOrganizerAction(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception
sendEmailToParticipantsByOrganizerAction in interface SignupMeetingServiceExceptionpublic boolean isEventExisted(Long eventId)
isEventExisted in interface SignupMeetingServicepublic void sendEmailToAttendee(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception
sendEmailToAttendee in interface SignupMeetingServiceExceptionpublic List<String> getAllLocations(String siteId) throws Exception
getAllLocations in interface SignupMeetingServiceExceptionpublic List<String> getAllCategories(String siteId) throws Exception
getAllCategories in interface SignupMeetingServiceExceptionCopyright © 2007–2017 Sakai Project. All rights reserved.