public class ActivityFeedDAOImpl extends ActivitiesDAOImpl implements ActivityFeedDAO
templateMAX_LEN_ACTIVITY_FORMAT, MAX_LEN_ACTIVITY_SUMMARY, MAX_LEN_ACTIVITY_TYPE, MAX_LEN_APP_TOOL_ID, MAX_LEN_SITE_ID, MAX_LEN_USER_ID| Constructor and Description |
|---|
ActivityFeedDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteFeedEntries(java.util.Date keepDate) |
int |
deleteFeedEntries(java.lang.Integer maxIdRange) |
int |
deleteSiteFeedEntries(java.lang.String siteId) |
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 |
selectSiteFeedEntries(java.lang.String siteId,
java.lang.String format,
int maxFeedSize) |
java.util.List |
selectSiteFeedsToClean(int maxFeedSize) |
java.util.List |
selectUserFeedEntries(java.lang.String feedUserId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId,
int maxFeedSize) |
java.util.List |
selectUserFeedsToClean(int maxFeedSize) |
commitTransaction, endTransaction, rollbackTransaction, setSqlSessionTemplate, startTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitTransaction, endTransaction, rollbackTransaction, startTransactionpublic long insertFeedEntry(ActivityFeedEntity activityFeed) throws java.sql.SQLException
insertFeedEntry in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteFeedEntries(java.lang.Integer maxIdRange)
throws java.sql.SQLException
deleteFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteFeedEntries(java.util.Date keepDate)
throws java.sql.SQLException
deleteFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteSiteFeedEntries(java.lang.String siteId)
throws java.sql.SQLException
deleteSiteFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteSiteFeedEntries(java.lang.String siteId,
java.lang.String format,
java.util.Date keepDate)
throws java.sql.SQLException
deleteSiteFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteUserFeedEntries(java.lang.String feedUserId,
java.lang.String format,
java.util.Date keepDate)
throws java.sql.SQLException
deleteUserFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic int deleteUserFeedEntries(java.lang.String feedUserId)
throws java.sql.SQLException
deleteUserFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic java.util.List selectUserFeedsToClean(int maxFeedSize)
throws java.sql.SQLException
selectUserFeedsToClean in interface ActivityFeedDAOjava.sql.SQLExceptionpublic java.util.List selectSiteFeedsToClean(int maxFeedSize)
throws java.sql.SQLException
selectSiteFeedsToClean in interface ActivityFeedDAOjava.sql.SQLExceptionpublic java.util.List selectUserFeedEntries(java.lang.String feedUserId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId,
int maxFeedSize)
throws java.sql.SQLException
selectUserFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionpublic java.util.List selectSiteFeedEntries(java.lang.String siteId,
java.lang.String format,
int maxFeedSize)
throws java.sql.SQLException
selectSiteFeedEntries in interface ActivityFeedDAOjava.sql.SQLExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.