Interface ActivityFeedDAO

    • 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