public class ActivityPostServiceImpl extends Object implements ActivityPostService
Constructor and Description |
---|
ActivityPostServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
postActivity(String activityType,
String siteId,
String appTool,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
Post a pre-defined activity type - certain activity data will be looked-up asynchronously, including:
name (of nodeRef)
displayPath
typeQName
firstName (of posting user)
lastName (of posting user)
|
void |
postActivity(String activityType,
String siteId,
String appTool,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
String name)
Post a pre-defined activity type - eg.
|
void |
postActivity(String activityType,
String siteId,
String appTool,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
String name,
org.alfresco.service.namespace.QName typeQName,
org.alfresco.service.cmr.repository.NodeRef parentNodeRef)
Post a pre-defined activity type - eg.
|
void |
postActivity(String activityType,
String siteId,
String appTool,
String activityData)
Post a custom activity type
|
void |
postActivity(String activityType,
String siteId,
String appTool,
String activityData,
org.alfresco.repo.Client client)
Post a custom activity type
|
void |
postActivity(String activityType,
String siteId,
String appTool,
String jsonActivityData,
org.alfresco.repo.Client client,
FileInfo contentNodeInfo)
Post a custom activity type
|
void |
postActivity(String activityType,
String siteId,
String appTool,
String activityData,
String userId)
Post a custom activity type
|
void |
setEstimatedGridSize(int estGridSize) |
void |
setEventPublisher(org.alfresco.repo.events.EventPublisher eventPublisher) |
void |
setIgnoredActivityTypes(String ignoredActivityTypes) |
void |
setPostDAO(ActivityPostDAO postDAO) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive) |
public void setIgnoredActivityTypes(String ignoredActivityTypes)
public void setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
public void setPostDAO(ActivityPostDAO postDAO)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setEstimatedGridSize(int estGridSize)
public void setEventPublisher(org.alfresco.repo.events.EventPublisher eventPublisher)
public void postActivity(String activityType, String siteId, String appTool, String activityData)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringactivityData
- - requiredpublic void postActivity(String activityType, String siteId, String appTool, String activityData, org.alfresco.repo.Client client)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringactivityData
- - requiredpublic void postActivity(String activityType, String siteId, String appTool, String jsonActivityData, org.alfresco.repo.Client client, FileInfo contentNodeInfo)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringjsonActivityData
- - requiredcontentNodeInfo
- FileInfopublic void postActivity(String activityType, String siteId, String appTool, String activityData, String userId)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringactivityData
- - requireduserId
- - requiredpublic void postActivity(String activityType, String siteId, String appTool, org.alfresco.service.cmr.repository.NodeRef nodeRef)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - do not use for deleted (or about to be deleted) nodeRefpublic void postActivity(String activityType, String siteId, String appTool, org.alfresco.service.cmr.repository.NodeRef nodeRef, String name)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - do not use deleted (or about to be deleted) nodeRefname
- - optional - name of node (eg. prior to name change)public void postActivity(String activityType, String siteId, String appTool, org.alfresco.service.cmr.repository.NodeRef nodeRef, String name, org.alfresco.service.namespace.QName typeQName, org.alfresco.service.cmr.repository.NodeRef parentNodeRef)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - can be a deleted (or about to be deleted) nodeRefname
- - optional - name of nametypeQName
- - optional - type of nodeparentNodeRef
- - required - used to lookup path/displayPathCopyright © 2005–2017 Alfresco Software. All rights reserved.