public interface SignupMeetingDao
extends org.sakaiproject.genericdao.api.GeneralGenericDao
SignupMeetingDao is an interface, which provides methods to access the database storage for retrieving, creating, updating and removing SignupMeeting objects.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllCategories(String siteId)
Get all the Categories from a site
|
List<String> |
getAllLocations(String siteId)
Get all the Locations from a site
|
List<SignupMeeting> |
getAllSignupMeetings(String siteId)
This returns a list of SignupMeeting for the site
|
List<SignupMeeting> |
getAutoReminderSignupMeetings(Date startDate,
Date endDate)
This returns a subset list of SignupMeeting from startDate to endDate for
the sites, which have auto-reminder setting
|
int |
getAutoReminderTotalEventCounts(Date startDate,
Date endDate)
Get total Events record-Counts for auto-reminder process
|
List<SignupMeeting> |
getRecurringSignupMeetings(String currentSiteId,
Long recurrenceId,
Date startDate)
This returns a subset list of SignupMeetings with the same recurrenceId
from a starting Date for the site
|
List<SignupMeeting> |
getSignupMeetings(String currentSiteId,
Date searchEndDate)
This returns a subset list of SignupMeeting from Now to searchEndDate for
the site
|
List<SignupMeeting> |
getSignupMeetings(String siteId,
Date startDate,
Date endDate)
This returns a subset list of SignupMeeting from startDate to endDate for
the site
|
List<SignupMeeting> |
getSignupMeetingsInSite(String siteId,
Date startDate,
Date endDate)
This returns a subset list of SignupMeetings from startDate to endDate for
the defined site
|
List<SignupMeeting> |
getSignupMeetingsInSites(List<String> siteIds,
Date startDate,
Date endDate)
This returns a subset list of SignupMeetings from startDate to endDate for
the defined sites
|
boolean |
isEventExisted(Long evnetId)
Test to see if the event exists.
|
SignupMeeting |
loadSignupMeeting(Long meetingId)
This retrieve a SignupMeeting object from database according to the
SignupMeeting Id
|
void |
removeMeetings(List<SignupMeeting> meetings)
This deletes a list of SignupMeeting objects.
|
Long |
saveMeeting(SignupMeeting signupMeeting)
This saves meeting object into database
|
void |
saveMeetings(List<SignupMeeting> signupMeetings)
This saves a list of meeting object into database
|
void |
updateMeeting(SignupMeeting meeting)
This updates the SignupMeeting object in the DB
|
void |
updateMeetings(List<SignupMeeting> meetings)
This updates a list of SignupMeeting objects in the DB
|
void |
updateModifiedMeetings(List<SignupMeeting> meetings,
List<SignupTimeslot> removedTimeslots)
This updates a list of SignupMeeting objects in the DB
|
findById, getIdProperty, getPersistentClasses, invokeTransactionalAccesscreate, delete, delete, save, updatecountByProperties, countByProperties, findByProperties, findByProperties, findByProperties, findByProperties, findByPropertiescountBySearch, findBySearch, findOneBySearchList<SignupMeeting> getAllSignupMeetings(String siteId)
siteId - -
a unique id which represents the current siteList<SignupMeeting> getSignupMeetings(String currentSiteId, Date searchEndDate)
currentSiteId - a unique id which represents the current sitesearchEndDate - date,which constraints the search ending date.List<SignupMeeting> getSignupMeetings(String siteId, Date startDate, Date endDate)
siteId - a unique id which represents the current sitestartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.List<SignupMeeting> getSignupMeetingsInSite(String siteId, Date startDate, Date endDate)
siteId - a unique id which represents the multiple sitesstartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.List<SignupMeeting> getSignupMeetingsInSites(List<String> siteIds, Date startDate, Date endDate)
siteIds - a collection of unique ids which represents the multiple sitesstartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.List<SignupMeeting> getRecurringSignupMeetings(String currentSiteId, Long recurrenceId, Date startDate)
currentSiteId - a unique id which represents the current siterecurrenceId - recurrenceId,which constraints the recurring meetings.startDate - date,which constraints the search starting date.List<SignupMeeting> getAutoReminderSignupMeetings(Date startDate, Date endDate)
startDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.Long saveMeeting(SignupMeeting signupMeeting)
signupMeeting - a SignupMeeting objectvoid saveMeetings(List<SignupMeeting> signupMeetings)
signupMeetings - userId - SignupMeeting loadSignupMeeting(Long meetingId)
meetingId - a unique Id for SignupMeeting objectvoid updateMeeting(SignupMeeting meeting) throws org.springframework.dao.DataAccessException
meeting - a SignupMeeting objectorg.springframework.dao.DataAccessException - thrown if the data is not accessiblevoid updateMeetings(List<SignupMeeting> meetings) throws org.springframework.dao.DataAccessException
meetings - a list of SignupMeeting objectsorg.springframework.dao.DataAccessException - thrown if the data is not accessiblevoid updateModifiedMeetings(List<SignupMeeting> meetings, List<SignupTimeslot> removedTimeslots) throws org.springframework.dao.DataAccessException
meetings - a list of SignupMeeting objectsremovedTimeslots - a list of SignupTimeslot objects, which will be removed from the meetingorg.springframework.dao.DataAccessException - thrown if the data is not accessiblevoid removeMeetings(List<SignupMeeting> meetings)
meetings - a list of SignupMeeting objects, which need to be removedboolean isEventExisted(Long evnetId)
evnetId - a Long Id for eventint getAutoReminderTotalEventCounts(Date startDate, Date endDate)
startDate - search starting dateendDate - search ending dateList<String> getAllCategories(String siteId) throws org.springframework.dao.DataAccessException
siteId - String - a site Idorg.springframework.dao.DataAccessExceptionCopyright © 2007–2017 Sakai Project. All rights reserved.