MOB-647 - activity feed cleaner improvement (now supports maxFeedSize in addition to maxAgeMins)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14119 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2009-04-29 11:24:03 +00:00
parent 7cd1ccae96
commit eb0db2737a
7 changed files with 515 additions and 34 deletions

View File

@@ -37,6 +37,12 @@ public interface ActivityFeedDAO extends ActivitiesDAO
public int deleteFeedEntries(Date keepDate) throws SQLException;
public int deleteUserFeedEntries(String feedUserId, String format, Date keepDate) throws SQLException;
public int deleteSiteFeedEntries(String siteId, String format, Date keepDate) throws SQLException;
public List<ActivityFeedEntity> selectFeedsToClean(int maxFeedSize) throws SQLException;
public List<ActivityFeedEntity> selectUserFeedEntries(String feedUserId, String format, String siteId, boolean excludeThisUser, boolean excludeOtherUsers) throws SQLException;
public List<ActivityFeedEntity> selectSiteFeedEntries(String siteUserId, String format) throws SQLException;