public abstract class SocialTimelineCachePersistence extends Object implements SocialTimelinePersistenceAPI
| Modifier and Type | Class and Description |
|---|---|
protected class |
SocialTimelineCachePersistence.SocialCacheControl |
| Modifier and Type | Field and Description |
|---|---|
static String |
SOCIAL_FILES |
static String |
THRESHOLD_PROPERTY |
| Constructor and Description |
|---|
SocialTimelineCachePersistence() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
List<SocialActivitiesEvent> |
getLastEvents(SocialEventType key) |
List<SocialActivitiesEvent> |
getLastEvents(SocialUser user) |
Integer |
getNumberOfEventsOnFile(SocialEventType type,
String originalFilename) |
Integer |
getNumberOfEventsOnFile(SocialUser socialUser,
String originalFilename) |
List<SocialActivitiesEvent> |
getRecentEvents(SocialEventType type) |
List<SocialActivitiesEvent> |
getRecentEvents(SocialUser user) |
List<SocialActivitiesEvent> |
getTimeline(SocialEventType type,
String timelineFile) |
List<SocialActivitiesEvent> |
getTimeline(SocialUser socialUser,
String timelineFile) |
Integer |
getTypeMostRecentFileIndex(SocialEventType type) |
Integer |
getUserMostRecentFileIndex(SocialUser user) |
Integer |
numberOfPages(SocialEventType type) |
int |
priority() |
void |
setup() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpersist, persist, saveAllEventspublic static final String SOCIAL_FILES
public static final String THRESHOLD_PROPERTY
public void setup()
setup in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getLastEvents(SocialEventType key)
getLastEvents in interface SocialTimelinePersistenceAPIpublic Integer numberOfPages(SocialEventType type)
numberOfPages in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getRecentEvents(SocialEventType type)
getRecentEvents in interface SocialTimelinePersistenceAPIpublic Integer getTypeMostRecentFileIndex(SocialEventType type)
getTypeMostRecentFileIndex in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getTimeline(SocialEventType type, String timelineFile)
getTimeline in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getLastEvents(SocialUser user)
getLastEvents in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getRecentEvents(SocialUser user)
getRecentEvents in interface SocialTimelinePersistenceAPIpublic Integer getUserMostRecentFileIndex(SocialUser user)
getUserMostRecentFileIndex in interface SocialTimelinePersistenceAPIpublic List<SocialActivitiesEvent> getTimeline(SocialUser socialUser, String timelineFile)
getTimeline in interface SocialTimelinePersistenceAPIpublic Integer getNumberOfEventsOnFile(SocialEventType type, String originalFilename)
getNumberOfEventsOnFile in interface SocialTimelinePersistenceAPIpublic Integer getNumberOfEventsOnFile(SocialUser socialUser, String originalFilename)
getNumberOfEventsOnFile in interface SocialTimelinePersistenceAPIpublic int priority()
priority in interface org.uberfire.commons.lifecycle.PriorityDisposablepublic void dispose()
dispose in interface org.uberfire.commons.lifecycle.DisposableCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.