public class SignupMeetingDaoImpl extends org.sakaiproject.genericdao.hibernate.HibernateGeneralGenericDao implements SignupMeetingDao
SignupMeetingServiceImpl is an implementation of SignupMeetingDao interface, which provides methods to access the database storage for retrieving, creating, updating and removing SignupMeeting objects.
| Constructor and Description |
|---|
SignupMeetingDaoImpl() |
| 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 siteId,
Long recurrenceId,
Date currentTime)
This returns a subset list of SignupMeetings with the same recurrenceId
from a starting Date for the site
|
List<SignupMeeting> |
getSignupMeetings(String siteId,
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
|
void |
init() |
boolean |
isEventExisted(Long eventId)
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
|
baseCountAll, baseDeleteSet, baseSaveSet, checkEntitySet, countAll, deleteMixedSet, deleteSet, deleteSet, findAll, findAll, saveMixedSet, saveSetbaseCountBySearch, baseFindBySearch, baseFindOneBySearch, countByProperties, countByProperties, countBySearch, findByProperties, findByProperties, findByProperties, findByProperties, findByProperties, findBySearch, findOneBySearchaddInterceptor, afterRead, afterWrite, baseCreate, baseDelete, baseFindById, baseGetIdValue, baseUpdate, beforeRead, beforeWrite, checkClass, cloneList, count, count, create, delete, delete, executeHqlQuery, executeHqlQuery, findById, findClass, getCacheName, getCacheProvider, getIdProperty, getPersistentClasses, getSearchCacheName, initCaches, invokeTransactionalAccess, makeComparisonHQL, makeComparisonHQL, removeInterceptor, save, setCacheProvider, setInterceptor, setParameters, setPersistentClasses, updatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindById, getIdProperty, getPersistentClasses, invokeTransactionalAccesscreate, delete, delete, save, updatecountByProperties, countByProperties, findByProperties, findByProperties, findByProperties, findByProperties, findByPropertiescountBySearch, findBySearch, findOneBySearchpublic void init()
public List<SignupMeeting> getAllSignupMeetings(String siteId)
getAllSignupMeetings in interface SignupMeetingDaositeId - -
a unique id which represents the current sitepublic List<SignupMeeting> getSignupMeetings(String siteId, Date searchEndDate)
getSignupMeetings in interface SignupMeetingDaositeId - a unique id which represents the current sitesearchEndDate - date,which constraints the search ending date.public List<SignupMeeting> getSignupMeetings(String siteId, Date startDate, Date endDate)
getSignupMeetings in interface SignupMeetingDaositeId - a unique id which represents the current sitestartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.public List<SignupMeeting> getSignupMeetingsInSite(String siteId, Date startDate, Date endDate)
SignupMeetingDaogetSignupMeetingsInSite in interface SignupMeetingDaositeId - a unique id which represents the multiple sitesstartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.public List<SignupMeeting> getSignupMeetingsInSites(List<String> siteIds, Date startDate, Date endDate)
getSignupMeetingsInSites in interface SignupMeetingDaositeIds - 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.public List<SignupMeeting> getRecurringSignupMeetings(String siteId, Long recurrenceId, Date currentTime)
getRecurringSignupMeetings in interface SignupMeetingDaositeId - a unique id which represents the current siterecurrenceId - recurrenceId,which constraints the recurring meetings.currentTime - date,which constraints the search starting date.public Long saveMeeting(SignupMeeting signupMeeting)
saveMeeting in interface SignupMeetingDaosignupMeeting - a SignupMeeting objectpublic void saveMeetings(List<SignupMeeting> signupMeetings)
saveMeetings in interface SignupMeetingDaopublic SignupMeeting loadSignupMeeting(Long meetingId)
loadSignupMeeting in interface SignupMeetingDaomeetingId - a unique Id for SignupMeeting objectpublic void updateMeeting(SignupMeeting meeting) throws org.springframework.dao.DataAccessException
updateMeeting in interface SignupMeetingDaomeeting - a SignupMeeting objectorg.springframework.dao.DataAccessException - thrown if the data is not accessiblepublic void updateMeetings(List<SignupMeeting> meetings) throws org.springframework.dao.DataAccessException
updateMeetings in interface SignupMeetingDaomeetings - a list of SignupMeeting objectsorg.springframework.dao.DataAccessException - thrown if the data is not accessiblepublic void updateModifiedMeetings(List<SignupMeeting> meetings, List<SignupTimeslot> removedTimeslots) throws org.springframework.dao.DataAccessException
updateModifiedMeetings in interface SignupMeetingDaomeetings - 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 accessiblepublic void removeMeetings(List<SignupMeeting> meetings)
removeMeetings in interface SignupMeetingDaomeetings - a list of SignupMeeting objects, which need to be removedpublic boolean isEventExisted(Long eventId)
isEventExisted in interface SignupMeetingDaoeventId - a Long Id for eventpublic int getAutoReminderTotalEventCounts(Date startDate, Date endDate)
getAutoReminderTotalEventCounts in interface SignupMeetingDaostartDate - search starting dateendDate - search ending datepublic List<SignupMeeting> getAutoReminderSignupMeetings(Date startDate, Date endDate)
getAutoReminderSignupMeetings in interface SignupMeetingDaostartDate - date,which constraints the search starting date.endDate - date,which constraints the search ending date.public List<String> getAllCategories(String siteId) throws org.springframework.dao.DataAccessException
SignupMeetingDaogetAllCategories in interface SignupMeetingDaositeId - String - a site Idorg.springframework.dao.DataAccessExceptionpublic List<String> getAllLocations(String siteId) throws org.springframework.dao.DataAccessException
SignupMeetingDaogetAllLocations in interface SignupMeetingDaositeId - String - a site Idorg.springframework.dao.DataAccessExceptionCopyright © 2007–2017 Sakai Project. All rights reserved.