public interface ActivityPostDAO extends ActivitiesDAO
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LEN_ACTIVITY_DATA |
static int |
MAX_LEN_ACTIVITY_TYPE |
static int |
MAX_LEN_APP_TOOL_ID |
static int |
MAX_LEN_NAME |
static int |
MAX_LEN_SITE_ID |
static int |
MAX_LEN_USER_ID |
KEY_ACTIVITY_NULL_VALUE| 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 network,
String activityData,
ActivityPostEntity.STATUS status) |
int |
updatePostStatus(long id,
ActivityPostEntity.STATUS status) |
commitTransaction, endTransaction, rollbackTransaction, startTransactionstatic final int MAX_LEN_USER_ID
static final int MAX_LEN_SITE_ID
static final int MAX_LEN_ACTIVITY_TYPE
static final int MAX_LEN_ACTIVITY_DATA
static final int MAX_LEN_APP_TOOL_ID
static final int MAX_LEN_NAME
List<ActivityPostEntity> selectPosts(ActivityPostEntity activityPost, int maxItems) throws SQLException
SQLExceptionLong getMaxActivitySeq() throws SQLException
SQLExceptionLong getMinActivitySeq() throws SQLException
SQLExceptionInteger getMaxNodeHash() throws SQLException
SQLExceptionint deletePosts(Date keepDate, ActivityPostEntity.STATUS status) throws SQLException
SQLExceptionlong insertPost(ActivityPostEntity activityPost) throws SQLException
SQLExceptionint updatePost(long id,
String network,
String activityData,
ActivityPostEntity.STATUS status)
throws SQLException
SQLExceptionint updatePostStatus(long id,
ActivityPostEntity.STATUS status)
throws SQLException
SQLExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.