Interface ActivityPostService
- All Known Subinterfaces:
ActivityService
- All Known Implementing Classes:
ActivityPostServiceImpl,ActivityServiceImpl
@AlfrescoPublicApi
public interface ActivityPostService
-
Method Summary
Modifier and TypeMethodDescriptionvoidpostActivity(String activityType, String siteId, String appTool, String jsonActivityData) Post a custom activity typevoidpostActivity(String activityType, String siteId, String appTool, String jsonActivityData, String userId) Post a custom activity typevoidpostActivity(String activityType, String siteId, String appTool, String jsonActivityData, org.alfresco.sync.repo.Client client) Post a custom activity typevoidpostActivity(String activityType, String siteId, String appTool, String jsonActivityData, org.alfresco.sync.repo.Client client, FileInfo contentNodeInfo) Post a custom activity typevoidpostActivity(String activityType, String siteId, String appTool, 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)voidpostActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String beforeName) Post a pre-defined activity type - eg.voidpostActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String name, QName typeQName, NodeRef parentNodeRef) Post a pre-defined activity type - eg.
-
Method Details
-
postActivity
Post a custom activity type- Parameters:
activityType- - requiredsiteId- - optional, if null will be stored as empty stringappTool- - optional, if null will be stored as empty stringjsonActivityData- - required
-
postActivity
void postActivity(String activityType, String siteId, String appTool, String jsonActivityData, org.alfresco.sync.repo.Client client) Post a custom activity type- Parameters:
activityType- - requiredsiteId- - optional, if null will be stored as empty stringappTool- - optional, if null will be stored as empty stringjsonActivityData- - required
-
postActivity
void postActivity(String activityType, String siteId, String appTool, String jsonActivityData, org.alfresco.sync.repo.Client client, FileInfo contentNodeInfo) Post a custom activity type- Parameters:
activityType- - requiredsiteId- - optional, if null will be stored as empty stringappTool- - optional, if null will be stored as empty stringjsonActivityData- - requiredcontentNodeInfo- FileInfo
-
postActivity
void postActivity(String activityType, String siteId, String appTool, String jsonActivityData, String userId) Post a custom activity type- Parameters:
activityType- - requiredsiteId- - optional, if null will be stored as empty stringappTool- - optional, if null will be stored as empty stringjsonActivityData- - requireduserId- - required
-
postActivity
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)- Parameters:
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) nodeRef
-
postActivity
void postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String beforeName) Post a pre-defined activity type - eg. for checked-out nodeRef or renamed nodeRef- Parameters:
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) nodeRefbeforeName- - optional - name of node (eg. prior to name change)
-
postActivity
void postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String name, QName typeQName, NodeRef parentNodeRef) Post a pre-defined activity type - eg. for deleted nodeRef- Parameters:
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/displayPath
-