Interface ActivityFeedDAO
-
- All Superinterfaces:
ActivitiesDAO
- All Known Implementing Classes:
ActivityFeedDAOImpl
public interface ActivityFeedDAO extends ActivitiesDAO
Interface for activity feed DAO service
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_LEN_ACTIVITY_SUMMARYstatic intMAX_LEN_ACTIVITY_TYPEstatic intMAX_LEN_APP_TOOL_IDstatic intMAX_LEN_SITE_IDstatic intMAX_LEN_USER_ID-
Fields inherited from interface org.alfresco.repo.domain.activities.ActivitiesDAO
KEY_ACTIVITY_NULL_VALUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LongcountSiteFeedEntries(String siteId, int maxFeedSize)LongcountUserFeedEntries(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)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)-
Methods inherited from interface org.alfresco.repo.domain.activities.ActivitiesDAO
commitTransaction, endTransaction, rollbackTransaction, startTransaction
-
-
-
-
Field Detail
-
MAX_LEN_USER_ID
static final int MAX_LEN_USER_ID
- See Also:
- Constant Field Values
-
MAX_LEN_SITE_ID
static final int MAX_LEN_SITE_ID
- See Also:
- Constant Field Values
-
MAX_LEN_ACTIVITY_TYPE
static final int MAX_LEN_ACTIVITY_TYPE
- See Also:
- Constant Field Values
-
MAX_LEN_ACTIVITY_SUMMARY
static final int MAX_LEN_ACTIVITY_SUMMARY
- See Also:
- Constant Field Values
-
MAX_LEN_APP_TOOL_ID
static final int MAX_LEN_APP_TOOL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
insertFeedEntry
long insertFeedEntry(ActivityFeedEntity activityFeed) throws SQLException
- Throws:
SQLException
-
deleteFeedEntries
int deleteFeedEntries(Integer maxIdRange) throws SQLException
- Throws:
SQLException
-
deleteFeedEntries
int deleteFeedEntries(Date keepDate) throws SQLException
- Throws:
SQLException
-
deleteUserFeedEntries
int deleteUserFeedEntries(String feedUserId, Date keepDate) throws SQLException
- Throws:
SQLException
-
deleteUserFeedEntries
int deleteUserFeedEntries(String feedUserId) throws SQLException
- Throws:
SQLException
-
deleteSiteFeedEntries
int deleteSiteFeedEntries(String siteId, Date keepDate) throws SQLException
- Throws:
SQLException
-
deleteSiteFeedEntries
int deleteSiteFeedEntries(String siteUserId) throws SQLException
- Throws:
SQLException
-
selectSiteFeedsToClean
List<ActivityFeedEntity> selectSiteFeedsToClean(int maxFeedSize) throws SQLException
- Throws:
SQLException
-
selectUserFeedsToClean
List<ActivityFeedEntity> selectUserFeedsToClean(int maxFeedSize) throws SQLException
- 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
Long countSiteFeedEntries(String siteId, int maxFeedSize) throws SQLException
- Throws:
SQLException
-
countUserFeedEntries
Long countUserFeedEntries(String feedUserId, String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize) throws SQLException
- Throws:
SQLException
-
-