public class ActivityPostDAOImpl extends ActivitiesDAOImpl implements ActivityPostDAO
templateMAX_LEN_ACTIVITY_DATA, MAX_LEN_ACTIVITY_TYPE, MAX_LEN_APP_TOOL_ID, MAX_LEN_NAME, MAX_LEN_SITE_ID, MAX_LEN_USER_IDKEY_ACTIVITY_NULL_VALUE| Constructor and Description |
|---|
ActivityPostDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
deletePosts(Date keepDate,
ActivityPostEntity.STATUS status) |
Long |
getMaxActivitySeq() |
Integer |
getMaxNodeHash() |
Long |
getMinActivitySeq() |
long |
insertPost(ActivityPostEntity activityPost) |
List<ActivityPostEntity> |
selectPosts(ActivityPostEntity activityPost,
int maxItems) |
int |
updatePost(long id,
String siteNetwork,
String activityData,
ActivityPostEntity.STATUS status) |
int |
updatePostStatus(long id,
ActivityPostEntity.STATUS status) |
commitTransaction, endTransaction, rollbackTransaction, setSqlSessionTemplate, startTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitTransaction, endTransaction, rollbackTransaction, startTransactionpublic List<ActivityPostEntity> selectPosts(ActivityPostEntity activityPost, int maxItems) throws SQLException
selectPosts in interface ActivityPostDAOSQLExceptionpublic Long getMaxActivitySeq() throws SQLException
getMaxActivitySeq in interface ActivityPostDAOSQLExceptionpublic Long getMinActivitySeq() throws SQLException
getMinActivitySeq in interface ActivityPostDAOSQLExceptionpublic Integer getMaxNodeHash() throws SQLException
getMaxNodeHash in interface ActivityPostDAOSQLExceptionpublic int updatePost(long id,
String siteNetwork,
String activityData,
ActivityPostEntity.STATUS status)
throws SQLException
updatePost in interface ActivityPostDAOSQLExceptionpublic int updatePostStatus(long id,
ActivityPostEntity.STATUS status)
throws SQLException
updatePostStatus in interface ActivityPostDAOSQLExceptionpublic int deletePosts(Date keepDate, ActivityPostEntity.STATUS status) throws SQLException
deletePosts in interface ActivityPostDAOSQLExceptionpublic long insertPost(ActivityPostEntity activityPost) throws SQLException
insertPost in interface ActivityPostDAOSQLExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.