org.kie.uberfire.social.activities.persistence
Class SocialTimelineCachePersistence
java.lang.Object
org.kie.uberfire.social.activities.persistence.SocialTimelineCachePersistence
- All Implemented Interfaces:
- SocialTimelinePersistenceAPI
- Direct Known Subclasses:
- SocialTimelineCacheClusterPersistence, SocialTimelineCacheInstancePersistence
public abstract class SocialTimelineCachePersistence
- extends Object
- implements SocialTimelinePersistenceAPI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOCIAL_FILES
public static final String SOCIAL_FILES
- See Also:
- Constant Field Values
THRESHOLD_PROPERTY
public static final String THRESHOLD_PROPERTY
- See Also:
- Constant Field Values
SocialTimelineCachePersistence
public SocialTimelineCachePersistence()
setup
public void setup()
- Specified by:
setup in interface SocialTimelinePersistenceAPI
getLastEvents
public List<SocialActivitiesEvent> getLastEvents(SocialEventType key)
- Specified by:
getLastEvents in interface SocialTimelinePersistenceAPI
numberOfPages
public Integer numberOfPages(SocialEventType type)
- Specified by:
numberOfPages in interface SocialTimelinePersistenceAPI
getRecentEvents
public List<SocialActivitiesEvent> getRecentEvents(SocialEventType type)
- Specified by:
getRecentEvents in interface SocialTimelinePersistenceAPI
getTypeMostRecentFileIndex
public Integer getTypeMostRecentFileIndex(SocialEventType type)
- Specified by:
getTypeMostRecentFileIndex in interface SocialTimelinePersistenceAPI
getTimeline
public List<SocialActivitiesEvent> getTimeline(SocialEventType type,
String timelineFile)
- Specified by:
getTimeline in interface SocialTimelinePersistenceAPI
getLastEvents
public List<SocialActivitiesEvent> getLastEvents(SocialUser user)
- Specified by:
getLastEvents in interface SocialTimelinePersistenceAPI
getRecentEvents
public List<SocialActivitiesEvent> getRecentEvents(SocialUser user)
- Specified by:
getRecentEvents in interface SocialTimelinePersistenceAPI
getUserMostRecentFileIndex
public Integer getUserMostRecentFileIndex(SocialUser user)
- Specified by:
getUserMostRecentFileIndex in interface SocialTimelinePersistenceAPI
getTimeline
public List<SocialActivitiesEvent> getTimeline(SocialUser socialUser,
String timelineFile)
- Specified by:
getTimeline in interface SocialTimelinePersistenceAPI
getNumberOfEventsOnFile
public Integer getNumberOfEventsOnFile(SocialEventType type,
String originalFilename)
- Specified by:
getNumberOfEventsOnFile in interface SocialTimelinePersistenceAPI
getNumberOfEventsOnFile
public Integer getNumberOfEventsOnFile(SocialUser socialUser,
String originalFilename)
- Specified by:
getNumberOfEventsOnFile in interface SocialTimelinePersistenceAPI
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.