public class SignupRESTfulSessionManager extends Object
This class will provides user session cache for restful events.
| Modifier and Type | Method and Description |
|---|---|
org.sakaiproject.signup.restful.SignupEvent |
getExistedSignupEventInCache(String uniqueId,
Long eventId) |
org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.SignupEventsCache |
getSignupEventsCache(String uniqueId) |
org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.UserSignupSessionData |
getStoredUserSessionData() |
boolean |
isSameViewRange(String id,
String viewRange)
See if the view range is the same for the data set
|
boolean |
isUpTodateDataAvailable(String uniqueId) |
void |
StoreSignupEventsData(String uniqueId,
List<org.sakaiproject.signup.restful.SignupEvent> events,
String viewRange)
Store the data in the cache
|
void |
StoreSignupEventsData(String uniqueId,
org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.SignupEventsCache cache) |
void |
updateMySignupEventsCache(String userId,
org.sakaiproject.signup.restful.SignupEvent event,
String userAction) |
void |
updateSignupEventsCache(String uniqueId,
org.sakaiproject.signup.restful.SignupEvent event) |
public org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.UserSignupSessionData getStoredUserSessionData()
public org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.SignupEventsCache getSignupEventsCache(String uniqueId)
public void StoreSignupEventsData(String uniqueId, List<org.sakaiproject.signup.restful.SignupEvent> events, String viewRange)
uniqueId - can be unique siteId or userIdevents - a list of SignupEvent objectsviewRange - a numeric stringpublic void StoreSignupEventsData(String uniqueId, org.sakaiproject.signup.tool.entityproviders.SignupRESTfulSessionManager.SignupEventsCache cache)
public boolean isUpTodateDataAvailable(String uniqueId)
public boolean isSameViewRange(String id, String viewRange)
id - can be unique siteId or userIdviewRange - numeric number stringpublic org.sakaiproject.signup.restful.SignupEvent getExistedSignupEventInCache(String uniqueId, Long eventId)
public void updateSignupEventsCache(String uniqueId, org.sakaiproject.signup.restful.SignupEvent event)
Copyright © 2007-2016 Sakai Project. All Rights Reserved.