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 org.apache.streams.pojo.json.Provider |
getProvider()
Gets the common googleplus
Provider object |
static void |
updateActivity(com.google.api.services.plus.model.Activity gPlusActivity,
org.apache.streams.pojo.json.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,
org.apache.streams.pojo.json.Activity activity)
|
static void |
updateActivity(com.google.api.services.plus.model.Person item,
org.apache.streams.pojo.json.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, org.apache.streams.pojo.json.Activity activity) throws ActivitySerializerException
Person
object and an
Activity
object, fill out the appropriate detailsitem
- activity
- ActivitySerializerException
public static void updateActivity(List<com.google.api.services.plus.model.Comment> comments, org.apache.streams.pojo.json.Activity activity)
comments
- activity
- public static void updateActivity(com.google.api.services.plus.model.Activity gPlusActivity, org.apache.streams.pojo.json.Activity activity)
Activity
,
convert that into an Activity streams formatted Activity
gPlusActivity
- activity
- public static org.apache.streams.pojo.json.Provider getProvider()
Provider
objectCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.