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 java.lang.LongcountSiteFeedEntries(java.lang.String siteId, int maxFeedSize)java.lang.LongcountUserFeedEntries(java.lang.String feedUserId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize)intdeleteFeedEntries(java.lang.Integer maxIdRange)intdeleteFeedEntries(java.util.Date keepDate)intdeleteSiteFeedEntries(java.lang.String siteUserId)intdeleteSiteFeedEntries(java.lang.String siteId, java.util.Date keepDate)intdeleteUserFeedEntries(java.lang.String feedUserId)intdeleteUserFeedEntries(java.lang.String feedUserId, java.util.Date keepDate)longinsertFeedEntry(ActivityFeedEntity activityFeed)org.alfresco.query.PagingResults<ActivityFeedEntity>selectPagedUserFeedEntries(java.lang.String feedUserId, java.lang.String networkId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, org.alfresco.query.PagingRequest pagingRequest)java.util.List<ActivityFeedEntity>selectSiteFeedEntries(java.lang.String siteUserId, int maxFeedItems)java.util.List<ActivityFeedEntity>selectSiteFeedsToClean(int maxFeedSize)java.util.List<ActivityFeedEntity>selectUserFeedEntries(java.lang.String feedUserId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems)java.util.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 java.sql.SQLException
- Throws:
java.sql.SQLException
-
deleteFeedEntries
int deleteFeedEntries(java.lang.Integer maxIdRange) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteFeedEntries
int deleteFeedEntries(java.util.Date keepDate) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteUserFeedEntries
int deleteUserFeedEntries(java.lang.String feedUserId, java.util.Date keepDate) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteUserFeedEntries
int deleteUserFeedEntries(java.lang.String feedUserId) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteSiteFeedEntries
int deleteSiteFeedEntries(java.lang.String siteId, java.util.Date keepDate) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deleteSiteFeedEntries
int deleteSiteFeedEntries(java.lang.String siteUserId) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
selectSiteFeedsToClean
java.util.List<ActivityFeedEntity> selectSiteFeedsToClean(int maxFeedSize) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
selectUserFeedsToClean
java.util.List<ActivityFeedEntity> selectUserFeedsToClean(int maxFeedSize) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
selectUserFeedEntries
java.util.List<ActivityFeedEntity> selectUserFeedEntries(java.lang.String feedUserId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
selectSiteFeedEntries
java.util.List<ActivityFeedEntity> selectSiteFeedEntries(java.lang.String siteUserId, int maxFeedItems) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
selectPagedUserFeedEntries
org.alfresco.query.PagingResults<ActivityFeedEntity> selectPagedUserFeedEntries(java.lang.String feedUserId, java.lang.String networkId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, org.alfresco.query.PagingRequest pagingRequest) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
countSiteFeedEntries
java.lang.Long countSiteFeedEntries(java.lang.String siteId, int maxFeedSize) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
countUserFeedEntries
java.lang.Long countUserFeedEntries(java.lang.String feedUserId, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedSize) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-