public interface ActivityFeedDAO extends ActivitiesDAO
Modifier and Type | Field and Description |
---|---|
static int |
MAX_LEN_ACTIVITY_SUMMARY |
static int |
MAX_LEN_ACTIVITY_TYPE |
static int |
MAX_LEN_APP_TOOL_ID |
static int |
MAX_LEN_SITE_ID |
static int |
MAX_LEN_USER_ID |
KEY_ACTIVITY_NULL_VALUE
Modifier and Type | Method and Description |
---|---|
Long |
countSiteFeedEntries(String siteId,
int maxFeedSize) |
Long |
countUserFeedEntries(String feedUserId,
String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId,
int maxFeedSize) |
int |
deleteFeedEntries(Date keepDate) |
int |
deleteFeedEntries(Integer maxIdRange) |
int |
deleteSiteFeedEntries(String siteUserId) |
int |
deleteSiteFeedEntries(String siteId,
Date keepDate) |
int |
deleteUserFeedEntries(String feedUserId) |
int |
deleteUserFeedEntries(String feedUserId,
Date keepDate) |
long |
insertFeedEntry(ActivityFeedEntity activityFeed) |
org.alfresco.query.PagingResults<ActivityFeedEntity> |
selectPagedUserFeedEntries(String feedUserId,
String networkId,
String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId,
org.alfresco.query.PagingRequest pagingRequest) |
List<ActivityFeedEntity> |
selectSiteFeedEntries(String siteUserId,
int maxFeedItems) |
List<ActivityFeedEntity> |
selectSiteFeedsToClean(int maxFeedSize) |
List<ActivityFeedEntity> |
selectUserFeedEntries(String feedUserId,
String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId,
int maxFeedItems) |
List<ActivityFeedEntity> |
selectUserFeedsToClean(int maxFeedSize) |
commitTransaction, endTransaction, rollbackTransaction, startTransaction
static final int MAX_LEN_USER_ID
static final int MAX_LEN_SITE_ID
static final int MAX_LEN_ACTIVITY_TYPE
static final int MAX_LEN_ACTIVITY_SUMMARY
static final int MAX_LEN_APP_TOOL_ID
long insertFeedEntry(ActivityFeedEntity activityFeed) throws SQLException
SQLException
int deleteFeedEntries(Integer maxIdRange) throws SQLException
SQLException
int deleteFeedEntries(Date keepDate) throws SQLException
SQLException
int deleteUserFeedEntries(String feedUserId, Date keepDate) throws SQLException
SQLException
int deleteUserFeedEntries(String feedUserId) throws SQLException
SQLException
int deleteSiteFeedEntries(String siteId, Date keepDate) throws SQLException
SQLException
int deleteSiteFeedEntries(String siteUserId) throws SQLException
SQLException
List<ActivityFeedEntity> selectSiteFeedsToClean(int maxFeedSize) throws SQLException
SQLException
List<ActivityFeedEntity> selectUserFeedsToClean(int maxFeedSize) throws SQLException
SQLException
List<ActivityFeedEntity> selectUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems) throws SQLException
SQLException
List<ActivityFeedEntity> selectSiteFeedEntries(String siteUserId, int maxFeedItems) throws SQLException
SQLException
org.alfresco.query.PagingResults<ActivityFeedEntity> selectPagedUserFeedEntries(String feedUserId, String networkId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, org.alfresco.query.PagingRequest pagingRequest) throws SQLException
SQLException
Long countSiteFeedEntries(String siteId, int maxFeedSize) throws SQLException
SQLException
Long countUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize) throws SQLException
SQLException
Copyright © 2005–2017 Alfresco Software. All rights reserved.