org.alfresco.repo.activities.feed.local
Class LocalFeedTaskProcessor
java.lang.Object
org.alfresco.repo.activities.feed.FeedTaskProcessor
org.alfresco.repo.activities.feed.local.LocalFeedTaskProcessor
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
public class LocalFeedTaskProcessor
- extends FeedTaskProcessor
- implements org.springframework.context.ApplicationContextAware
The local (ie. not grid) feed task processor is responsible for processing the individual feed job
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalFeedTaskProcessor
public LocalFeedTaskProcessor()
setPostDAO
public void setPostDAO(ActivityPostDAO postDAO)
setFeedDAO
public void setFeedDAO(ActivityFeedDAO feedDAO)
setFeedControlDAO
public void setFeedControlDAO(FeedControlDAO feedControlDAO)
setSiteService
public void setSiteService(SiteService siteService)
setNodeService
public void setNodeService(NodeService nodeService)
setContentService
public void setContentService(ContentService contentService)
setDefaultEncoding
public void setDefaultEncoding(java.lang.String defaultEncoding)
setTemplateSearchPaths
public void setTemplateSearchPaths(java.util.List templateSearchPaths)
setUseRemoteCallbacks
public void setUseRemoteCallbacks(boolean useRemoteCallbacks)
setSqlMapClient
public void setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapper)
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
startTransaction
public void startTransaction()
throws java.sql.SQLException
- Specified by:
startTransaction
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
commitTransaction
public void commitTransaction()
throws java.sql.SQLException
- Specified by:
commitTransaction
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
endTransaction
public void endTransaction()
throws java.sql.SQLException
- Specified by:
endTransaction
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
selectPosts
public java.util.List selectPosts(ActivityPostEntity selector)
throws java.sql.SQLException
- Specified by:
selectPosts
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
insertFeedEntry
public long insertFeedEntry(ActivityFeedEntity feed)
throws java.sql.SQLException
- Specified by:
insertFeedEntry
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
updatePostStatus
public int updatePostStatus(long id,
ActivityPostEntity.STATUS status)
throws java.sql.SQLException
- Specified by:
updatePostStatus
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
selectUserFeedControls
public java.util.List selectUserFeedControls(java.lang.String userId)
throws java.sql.SQLException
- Specified by:
selectUserFeedControls
in class FeedTaskProcessor
- Throws:
java.sql.SQLException
getSiteMembers
protected java.util.Set getSiteMembers(RepoCtx ctx,
java.lang.String siteId)
throws java.lang.Exception
- Overrides:
getSiteMembers
in class FeedTaskProcessor
- Throws:
java.lang.Exception
getActivityTypeTemplates
protected java.util.Map getActivityTypeTemplates(java.lang.String repoEndPoint,
java.lang.String ticket,
java.lang.String subPath)
throws java.lang.Exception
- Overrides:
getActivityTypeTemplates
in class FeedTaskProcessor
- Throws:
java.lang.Exception
getFreemarkerConfiguration
protected freemarker.template.Configuration getFreemarkerConfiguration(RepoCtx ctx)
- Overrides:
getFreemarkerConfiguration
in class FeedTaskProcessor
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.