public class FeedNotifierImpl extends java.lang.Object implements FeedNotifier, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
FeedNotifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildSubjectText(long currentTime) |
protected void |
checkProperties()
Perform basic checks to ensure that the necessary dependencies were injected.
|
void |
execute(int repeatIntervalMins) |
protected void |
refreshLock(java.lang.String lockToken,
long time) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBatchSize(int batchSize) |
void |
setFeedEmailTemplateLocation(RepositoryLocation feedEmailTemplateLocation) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setJobLockService(JobLockService jobLockService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setNumThreads(int numThreads) |
void |
setPersonService(PersonService personService) |
void |
setRepoAdminService(RepoAdminService repoAdminService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setSysAdminParams(SysAdminParams sysAdminParams) |
void |
setTransactionService(TransactionService transactionService) |
void |
setUserNotifier(UserNotifier userNotifier) |
public void setNumThreads(int numThreads)
public void setBatchSize(int batchSize)
public void setUserNotifier(UserNotifier userNotifier)
public void setFileFolderService(FileFolderService fileFolderService)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setPersonService(PersonService personService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setJobLockService(JobLockService jobLockService)
public void setTransactionService(TransactionService transactionService)
public void setSysAdminParams(SysAdminParams sysAdminParams)
public void setRepoAdminService(RepoAdminService repoAdminService)
protected void checkProperties()
public void execute(int repeatIntervalMins)
execute in interface FeedNotifierrepeatIntervalMins - system-wide job repeat interval (in minutes)public void setFeedEmailTemplateLocation(RepositoryLocation feedEmailTemplateLocation)
protected java.lang.String buildSubjectText(long currentTime)
protected void refreshLock(java.lang.String lockToken,
long time)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.