org.alfresco.repo.domain.activities
Interface ActivityFeedDAO

All Superinterfaces:
ActivitiesDAO
All Known Implementing Classes:
ActivityFeedDAOImpl

public interface ActivityFeedDAO
extends ActivitiesDAO

Interface for activity feed DAO service


Field Summary
static int MAX_LEN_ACTIVITY_FORMAT
           
static int MAX_LEN_ACTIVITY_SUMMARY
           
static int MAX_LEN_ACTIVITY_TYPE
           
static int MAX_LEN_APP_TOOL_ID
           
static int MAX_LEN_SITE_ID
           
static int MAX_LEN_USER_ID
           
 
Method Summary
 int deleteFeedEntries(java.util.Date keepDate)
           
 int deleteSiteFeedEntries(java.lang.String siteUserId)
           
 int deleteSiteFeedEntries(java.lang.String siteId, java.lang.String format, java.util.Date keepDate)
           
 int deleteUserFeedEntries(java.lang.String feedUserId)
           
 int deleteUserFeedEntries(java.lang.String feedUserId, java.lang.String format, java.util.Date keepDate)
           
 long insertFeedEntry(ActivityFeedEntity activityFeed)
           
 java.util.List selectFeedsToClean(int maxFeedSize)
           
 java.util.List selectSiteFeedEntries(java.lang.String siteUserId, java.lang.String format, int maxFeedItems)
           
 java.util.List selectUserFeedEntries(java.lang.String feedUserId, java.lang.String format, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId, int maxFeedItems)
           
 
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_ACTIVITY_FORMAT

static final int MAX_LEN_ACTIVITY_FORMAT
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.util.Date keepDate)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

deleteUserFeedEntries

int deleteUserFeedEntries(java.lang.String feedUserId,
                          java.lang.String format,
                          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.lang.String format,
                          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

selectFeedsToClean

java.util.List selectFeedsToClean(int maxFeedSize)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

selectUserFeedEntries

java.util.List selectUserFeedEntries(java.lang.String feedUserId,
                                     java.lang.String format,
                                     java.lang.String siteId,
                                     boolean excludeThisUser,
                                     boolean excludeOtherUsers,
                                     long minFeedId,
                                     int maxFeedItems)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

selectSiteFeedEntries

java.util.List selectSiteFeedEntries(java.lang.String siteUserId,
                                     java.lang.String format,
                                     int maxFeedItems)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.