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, startTransaction
static 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
SQLException
Long getMaxActivitySeq() throws SQLException
SQLException
Long getMinActivitySeq() throws SQLException
SQLException
Integer getMaxNodeHash() throws SQLException
SQLException
int deletePosts(Date keepDate, ActivityPostEntity.STATUS status) throws SQLException
SQLException
long insertPost(ActivityPostEntity activityPost) throws SQLException
SQLException
int updatePost(long id, String network, String activityData, ActivityPostEntity.STATUS status) throws SQLException
SQLException
int updatePostStatus(long id, ActivityPostEntity.STATUS status) throws SQLException
SQLException
Copyright © 2005–2017 Alfresco Software. All rights reserved.