Interface ActivityFeedDAO
- All Superinterfaces:
ActivitiesDAO
- All Known Implementing Classes:
ActivityFeedDAOImpl
Interface for activity feed DAO service
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from interface org.alfresco.repo.domain.activities.ActivitiesDAO
KEY_ACTIVITY_NULL_VALUE -
Method Summary
Modifier and TypeMethodDescriptioncountSiteFeedEntries(String siteId, int maxFeedSize) countUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize) intdeleteFeedEntries(Integer maxIdRange) intdeleteFeedEntries(Date keepDate) intdeleteSiteFeedEntries(String siteUserId) intdeleteSiteFeedEntries(String siteId, Date keepDate) intdeleteUserFeedEntries(String feedUserId) intdeleteUserFeedEntries(String feedUserId, Date keepDate) longinsertFeedEntry(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) selectSiteFeedEntries(String siteUserId, int maxFeedItems) selectSiteFeedsToClean(int maxFeedSize) selectUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems) selectUserFeedsToClean(int maxFeedSize) Methods inherited from interface org.alfresco.repo.domain.activities.ActivitiesDAO
commitTransaction, endTransaction, rollbackTransaction, startTransaction
-
Field Details
-
MAX_LEN_USER_ID
static final int MAX_LEN_USER_ID- See Also:
-
MAX_LEN_SITE_ID
static final int MAX_LEN_SITE_ID- See Also:
-
MAX_LEN_ACTIVITY_TYPE
static final int MAX_LEN_ACTIVITY_TYPE- See Also:
-
MAX_LEN_ACTIVITY_SUMMARY
static final int MAX_LEN_ACTIVITY_SUMMARY- See Also:
-
MAX_LEN_APP_TOOL_ID
static final int MAX_LEN_APP_TOOL_ID- See Also:
-
-
Method Details
-
insertFeedEntry
- Throws:
SQLException
-
deleteFeedEntries
- Throws:
SQLException
-
deleteFeedEntries
- Throws:
SQLException
-
deleteUserFeedEntries
- Throws:
SQLException
-
deleteUserFeedEntries
- Throws:
SQLException
-
deleteSiteFeedEntries
- Throws:
SQLException
-
deleteSiteFeedEntries
- Throws:
SQLException
-
selectSiteFeedsToClean
- Throws:
SQLException
-
selectUserFeedsToClean
- Throws:
SQLException
-
selectUserFeedEntries
List<ActivityFeedEntity> selectUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems) throws SQLException - Throws:
SQLException
-
selectSiteFeedEntries
List<ActivityFeedEntity> selectSiteFeedEntries(String siteUserId, int maxFeedItems) throws SQLException - Throws:
SQLException
-
selectPagedUserFeedEntries
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 - Throws:
SQLException
-
countSiteFeedEntries
- Throws:
SQLException
-
countUserFeedEntries
Long countUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize) throws SQLException - Throws:
SQLException
-