Interface ActivityPostDAO
-
- All Superinterfaces:
ActivitiesDAO
- All Known Implementing Classes:
ActivityPostDAOImpl
public interface ActivityPostDAO extends ActivitiesDAO
Interface for activity post DAO service- Since:
- 3.0
- Author:
- janv
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_LEN_ACTIVITY_DATAstatic intMAX_LEN_ACTIVITY_TYPEstatic intMAX_LEN_APP_TOOL_IDstatic intMAX_LEN_NAMEstatic intMAX_LEN_SITE_IDstatic intMAX_LEN_USER_ID-
Fields inherited from interface org.alfresco.repo.domain.activities.ActivitiesDAO
KEY_ACTIVITY_NULL_VALUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdeletePosts(java.util.Date keepDate, ActivityPostEntity.STATUS status)java.lang.LonggetMaxActivitySeq()java.lang.IntegergetMaxNodeHash()java.lang.LonggetMinActivitySeq()longinsertPost(ActivityPostEntity activityPost)java.util.List<ActivityPostEntity>selectPosts(ActivityPostEntity activityPost, int maxItems)intupdatePost(long id, java.lang.String network, java.lang.String activityData, ActivityPostEntity.STATUS status)intupdatePostStatus(long id, ActivityPostEntity.STATUS status)-
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_DATA
static final int MAX_LEN_ACTIVITY_DATA
- See Also:
- Constant Field Values
-
MAX_LEN_APP_TOOL_ID
static final int MAX_LEN_APP_TOOL_ID
- See Also:
- Constant Field Values
-
MAX_LEN_NAME
static final int MAX_LEN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
selectPosts
java.util.List<ActivityPostEntity> selectPosts(ActivityPostEntity activityPost, int maxItems) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getMaxActivitySeq
java.lang.Long getMaxActivitySeq() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getMinActivitySeq
java.lang.Long getMinActivitySeq() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getMaxNodeHash
java.lang.Integer getMaxNodeHash() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
deletePosts
int deletePosts(java.util.Date keepDate, ActivityPostEntity.STATUS status) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
insertPost
long insertPost(ActivityPostEntity activityPost) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
updatePost
int updatePost(long id, java.lang.String network, java.lang.String activityData, ActivityPostEntity.STATUS status) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
updatePostStatus
int updatePostStatus(long id, ActivityPostEntity.STATUS status) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-