org.alfresco.repo.domain.activities
Interface ActivityPostDAO

All Superinterfaces:
ActivitiesDAO
All Known Implementing Classes:
ActivityPostDAOImpl

public interface ActivityPostDAO
extends ActivitiesDAO

Interface for activity post DAO service


Field Summary
static int MAX_LEN_ACTIVITY_DATA
           
static int MAX_LEN_ACTIVITY_TYPE
           
static int MAX_LEN_APP_TOOL_ID
           
static int MAX_LEN_SITE_ID
           
static int MAX_LEN_USER_ID
           
 
Method Summary
 int deletePosts(java.util.Date keepDate, ActivityPostEntity.STATUS status)
           
 java.lang.Long getMaxActivitySeq()
           
 java.lang.Integer getMaxNodeHash()
           
 java.lang.Long getMinActivitySeq()
           
 long insertPost(ActivityPostEntity activityPost)
           
 java.util.List selectPosts(ActivityPostEntity activityPost)
           
 int updatePost(long id, java.lang.String network, java.lang.String activityData, ActivityPostEntity.STATUS status)
           
 int updatePostStatus(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
Method Detail

selectPosts

java.util.List selectPosts(ActivityPostEntity activityPost)
                           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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.