public class SignupCacheServiceImpl extends Object implements SignupCacheService, CacheRefresher
SignupCacheServiceImpl implements the methods to cache the search results of a list of the SignupMeeting objects from the DB.
| Modifier and Type | Field and Description |
|---|---|
static SignupCacheServiceImpl |
m_instance
The one and only one client.
|
protected SignupMeetingDao |
signupMeetingDao |
| Constructor and Description |
|---|
SignupCacheServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Returns to uninitialized state.
|
List<SignupMeeting> |
getAllSignupMeetingsInSite(String siteId,
Date startDate,
int timeLengthInDays) |
List<SignupMeeting> |
getAllSignupMeetingsInSites(List<String> siteIds,
Date startDate,
int searchTimeFrame) |
MemoryService |
getMemoryService() |
SignupMeetingDao |
getSignupMeetingDao() |
void |
init() |
Object |
refresh(Object key,
Object oldValue,
Event event) |
void |
setMemoryService(MemoryService memoryService) |
void |
setSignupMeetingDao(SignupMeetingDao signupMeetingDao) |
protected SignupMeetingDao signupMeetingDao
public static SignupCacheServiceImpl m_instance
public void init()
public List<SignupMeeting> getAllSignupMeetingsInSite(String siteId, Date startDate, int timeLengthInDays)
getAllSignupMeetingsInSite in interface SignupCacheServicepublic List<SignupMeeting> getAllSignupMeetingsInSites(List<String> siteIds, Date startDate, int searchTimeFrame)
getAllSignupMeetingsInSites in interface SignupCacheServicepublic void destroy()
public Object refresh(Object key, Object oldValue, Event event)
refresh in interface CacheRefresherpublic MemoryService getMemoryService()
public void setMemoryService(MemoryService memoryService)
public SignupMeetingDao getSignupMeetingDao()
public void setSignupMeetingDao(SignupMeetingDao signupMeetingDao)
Copyright © 2007–2017 Sakai Project. All rights reserved.