org.alfresco.repo.activities.feed
Class AbstractFeedGenerator

java.lang.Object
  extended by 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
AbstractFeedGenerator()
           
 
Method Summary
 void execute()
           
protected abstract  boolean generate()
           
 AuthenticationService getAuthenticationService()
           
abstract  int getEstimatedGridSize()
           
 int getMaxItemsPerCycle()
           
 ActivityPostDAO getPostDaoService()
           
 RepoCtx getWebScriptsCtx()
           
 void init()
           
protected  boolean isActive()
           
 void setActivityPostServiceImpl(ActivityPostServiceImpl activityPostServiceImpl)
           
 void setAuthenticationService(AuthenticationService authenticationService)
           
 void setJobLockService(JobLockService jobLockService)
           
 void setMaxItemsPerCycle(int maxItemsPerCycle)
           
 void setPostDAO(ActivityPostDAO postDAO)
           
 void setRepoEndPoint(java.lang.String repoEndPoint)
           
 void setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFeedGenerator

public AbstractFeedGenerator()
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)

getWebScriptsCtx

public RepoCtx getWebScriptsCtx()

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

getEstimatedGridSize

public abstract int getEstimatedGridSize()
Specified by:
getEstimatedGridSize in interface FeedGenerator

isActive

protected boolean isActive()

execute

public void execute()
             throws org.quartz.JobExecutionException
Specified by:
execute in interface FeedGenerator
Throws:
org.quartz.JobExecutionException

generate

protected abstract boolean generate()
                             throws java.lang.Exception
Throws:
java.lang.Exception


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