Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.activities
Interface ActivityPostService
All Known Subinterfaces:
ActivityService

@org.alfresco.api.AlfrescoPublicApi
public interface ActivityPostService

Method Summary
void
postActivity(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)
void
postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String beforeName)
          Post a pre-defined activity type - eg.
void
postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String name, QName typeQName, NodeRef parentNodeRef)
          Post a pre-defined activity type - eg.
void
postActivity(String activityType, String siteId, String appTool, String jsonActivityData)
          Post a custom activity type
void
postActivity(String activityType, String siteId, String appTool, String jsonActivityData, 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 jsonActivityData, String userId)
          Post a custom activity type
Method Detail
postActivity
void postActivity(String activityType,
                  String siteId,
                  String appTool,
                  String jsonActivityData)
Post a custom activity type
Parameters:
activityType - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
jsonActivityData - - required

postActivity
void postActivity(String activityType,
                  String siteId,
                  String appTool,
                  String jsonActivityData,
                  org.alfresco.repo.Client client)
Post a custom activity type
Parameters:
activityType - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
jsonActivityData - - required

postActivity
void postActivity(String activityType,
                  String siteId,
                  String appTool,
                  String jsonActivityData,
                  org.alfresco.repo.Client client,
                  FileInfo contentNodeInfo)
Post a custom activity type
Parameters:
activityType - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
jsonActivityData - - required
contentNodeInfo - FileInfo

postActivity
void postActivity(String activityType,
                  String siteId,
                  String appTool,
                  String jsonActivityData,
                  String userId)
Post a custom activity type
Parameters:
activityType - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
jsonActivityData - - required
userId - - required

postActivity
void postActivity(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)
Parameters:
activityType - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
nodeRef - - 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 - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
nodeRef - - required - do not use deleted (or about to be deleted) nodeRef
beforeName - - 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 - - required
siteId - - optional, if null will be stored as empty string
appTool - - optional, if null will be stored as empty string
nodeRef - - required - can be a deleted (or about to be deleted) nodeRef
name - - optional - name of name
typeQName - - optional - type of node
parentNodeRef - - required - used to lookup path/displayPath

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.