public abstract class AbstractUserNotifier extends Object implements UserNotifier
Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.ObjectFactory<ActivitiesFeedModelBuilder> |
activitiesFeedModelBuilderFactory |
protected ActivityService |
activityService |
protected static org.apache.commons.logging.Log |
logger |
protected org.alfresco.service.namespace.NamespaceService |
namespaceService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected RepoAdminService |
repoAdminService |
protected SiteService |
siteService |
Constructor and Description |
---|
AbstractUserNotifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkProperties()
Perform basic checks to ensure that the necessary dependencies were injected.
|
protected abstract Long |
getFeedId(org.alfresco.service.cmr.repository.NodeRef personNodeRef) |
protected abstract void |
notifyUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef,
String subjectLine,
Object[] subjectParams,
Map<String,Object> model,
String templateNodeRef) |
org.alfresco.util.Pair<Integer,Long> |
notifyUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef,
String subject,
Object[] subjectParams,
Map<String,String> siteNames,
String shareUrl,
int repeatIntervalMins,
String templateNodeRef) |
void |
setActivitiesFeedModelBuilderFactory(org.springframework.beans.factory.ObjectFactory<ActivitiesFeedModelBuilder> activitiesFeedModelBuilder) |
void |
setActivityService(ActivityService activityService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRepoAdminService(RepoAdminService repoAdminService) |
void |
setSiteService(SiteService siteService) |
protected abstract boolean |
skipUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef) |
protected static org.apache.commons.logging.Log logger
protected ActivityService activityService
protected org.alfresco.service.namespace.NamespaceService namespaceService
protected RepoAdminService repoAdminService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected SiteService siteService
protected org.springframework.beans.factory.ObjectFactory<ActivitiesFeedModelBuilder> activitiesFeedModelBuilderFactory
public void setActivityService(ActivityService activityService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setRepoAdminService(RepoAdminService repoAdminService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSiteService(SiteService siteService)
public void setActivitiesFeedModelBuilderFactory(org.springframework.beans.factory.ObjectFactory<ActivitiesFeedModelBuilder> activitiesFeedModelBuilder)
protected void checkProperties()
protected abstract boolean skipUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
protected abstract Long getFeedId(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
protected abstract void notifyUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef, String subjectLine, Object[] subjectParams, Map<String,Object> model, String templateNodeRef)
public org.alfresco.util.Pair<Integer,Long> notifyUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef, String subject, Object[] subjectParams, Map<String,String> siteNames, String shareUrl, int repeatIntervalMins, String templateNodeRef)
notifyUser
in interface UserNotifier
Copyright © 2005–2017 Alfresco Software. All rights reserved.