public class GooglePlusActivityUtil extends Object
Constructor and Description |
---|
GooglePlusActivityUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
formatId(String... idparts)
Formats the ID to conform with the Apache Streams activity ID convention
|
static Provider |
getProvider()
Gets the common googleplus
Provider object |
static void |
updateActivity(com.google.api.services.plus.model.Activity gPlusActivity,
Activity activity)
Given a Google Plus
Activity ,
convert that into an Activity streams formatted Activity |
static void |
updateActivity(List<com.google.api.services.plus.model.Comment> comments,
Activity activity)
|
static void |
updateActivity(com.google.api.services.plus.model.Person item,
Activity activity)
Given a
Person object and an
Activity object, fill out the appropriate details. |
public static void updateActivity(com.google.api.services.plus.model.Person item, Activity activity) throws ActivitySerializerException
Person
object and an
Activity
object, fill out the appropriate details.item
- Personactivity
- ActivityActivitySerializerException
- ActivitySerializerExceptionpublic static void updateActivity(List<com.google.api.services.plus.model.Comment> comments, Activity activity)
comments
- input List of Commentactivity
- output Activitypublic static void updateActivity(com.google.api.services.plus.model.Activity gPlusActivity, Activity activity)
Activity
,
convert that into an Activity streams formatted Activity
gPlusActivity
- input c.g.a.s.p.m.Activityactivity
- output o.a.s.p.j.Activitypublic static Provider getProvider()
Provider
objectCopyright © 2018 The Apache Software Foundation. All rights reserved.