Class AbstractFeedGenerator
- java.lang.Object
-
- org.alfresco.repo.activities.feed.AbstractFeedGenerator
-
- All Implemented Interfaces:
FeedGenerator
- Direct Known Subclasses:
LocalFeedGenerator
public abstract class AbstractFeedGenerator extends java.lang.Object implements FeedGenerator
Implementations of the abstract feed generator component are responsible for generating activity feed entries
-
-
Constructor Summary
Constructors Constructor Description AbstractFeedGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute()protected abstract booleangenerate()AuthenticationServicegetAuthenticationService()abstract intgetEstimatedGridSize()intgetMaxItemsPerCycle()ActivityPostDAOgetPostDaoService()TransactionServicegetTransactionService()RepoCtxgetWebScriptsCtx()voidinit()voidsetActivityPostServiceImpl(ActivityPostServiceImpl activityPostServiceImpl)voidsetAuthenticationService(AuthenticationService authenticationService)voidsetJobLockService(JobLockService jobLockService)voidsetMaxItemsPerCycle(int maxItemsPerCycle)voidsetPostDAO(ActivityPostDAO postDAO)voidsetRepoEndPoint(java.lang.String repoEndPoint)voidsetSysAdminParams(SysAdminParams sysAdminParams)voidsetTransactionService(TransactionService transactionService)voidsetUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
-
-
-
Method Detail
-
setActivityPostServiceImpl
public void setActivityPostServiceImpl(ActivityPostServiceImpl activityPostServiceImpl)
-
setPostDAO
public void setPostDAO(ActivityPostDAO postDAO)
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
-
setRepoEndPoint
public void setRepoEndPoint(java.lang.String repoEndPoint)
-
setUserNamesAreCaseSensitive
public void setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
-
setMaxItemsPerCycle
public void setMaxItemsPerCycle(int maxItemsPerCycle)
-
getMaxItemsPerCycle
public int getMaxItemsPerCycle()
-
getPostDaoService
public ActivityPostDAO getPostDaoService()
-
getAuthenticationService
public AuthenticationService getAuthenticationService()
-
setJobLockService
public void setJobLockService(JobLockService jobLockService)
-
setSysAdminParams
public void setSysAdminParams(SysAdminParams sysAdminParams)
-
getTransactionService
public TransactionService getTransactionService()
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
-
getWebScriptsCtx
public RepoCtx getWebScriptsCtx()
-
init
public void init() throws java.lang.Exception- Throws:
java.lang.Exception
-
getEstimatedGridSize
public abstract int getEstimatedGridSize()
- Specified by:
getEstimatedGridSizein interfaceFeedGenerator
-
execute
public void execute() throws org.quartz.JobExecutionException- Specified by:
executein interfaceFeedGenerator- Throws:
org.quartz.JobExecutionException
-
generate
protected abstract boolean generate() throws java.lang.Exception- Throws:
java.lang.Exception
-
-