@Path(value="/feeds") @Singleton public class SocialNetworkingLibraryServiceFeeds extends Object
| Constructor and Description |
|---|
SocialNetworkingLibraryServiceFeeds() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAllFeedsByApp(String token) |
javax.ws.rs.core.Response |
getAllFeedsByUser(String token) |
javax.ws.rs.core.Response |
getAllFeedsByVRE(String token) |
javax.ws.rs.core.Response |
getRecentFeedsByUser(int quantity,
String token) |
javax.ws.rs.core.Response |
getRecentFeedsByUserAndDate(long timeInMillis,
String token) |
javax.ws.rs.core.Response |
writePostApp(String feedText,
String uriParams,
String previewTitle,
String previewDescription,
String httpImageUrl,
String enableNotification,
String token) |
javax.ws.rs.core.Response |
writePostUser(String feedText,
String previewTitle,
String previewDescription,
String previewHost,
String previewUrl,
String httpImageUrl,
String enableNotification,
String token) |
@GET
@Path(value="getRecentFeedsByUserAndDate/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getRecentFeedsByUserAndDate(@QueryParam(value="time")
long timeInMillis,
@QueryParam(value="token")
String token)
@GET
@Path(value="getAllFeedsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllFeedsByUser(@QueryParam(value="token")
String token)
@GET
@Path(value="getRecentFeedsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getRecentFeedsByUser(@DefaultValue(value="10")@QueryParam(value="quantity")
int quantity,
@QueryParam(value="token")
String token)
@POST
@Consumes(value="application/x-www-form-urlencoded")
@Path(value="writePostUser")
@Produces(value="text/plain")
public javax.ws.rs.core.Response writePostUser(@FormParam(value="text")
String feedText,
@FormParam(value="previewtitle")
String previewTitle,
@FormParam(value="previewdescription")
String previewDescription,
@FormParam(value="previewhost")
String previewHost,
@FormParam(value="previewurl")
String previewUrl,
@FormParam(value="httpimageurl")
String httpImageUrl,
@DefaultValue(value="false")@FormParam(value="enablenotification")
String enableNotification,
@FormParam(value="token")
String token)
@GET
@Path(value="getAllFeedsByApp/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllFeedsByApp(@QueryParam(value="token")
String token)
@POST
@Consumes(value="application/x-www-form-urlencoded")
@Path(value="writePostApplication")
@Produces(value="text/plain")
public javax.ws.rs.core.Response writePostApp(@FormParam(value="text")
String feedText,
@FormParam(value="params")
String uriParams,
@FormParam(value="previewtitle")
String previewTitle,
@FormParam(value="previewdescription")
String previewDescription,
@FormParam(value="httpimageurl")
String httpImageUrl,
@DefaultValue(value="false")@FormParam(value="enablenotification")
String enableNotification,
@FormParam(value="token")
String token)
@GET
@Path(value="getAllFeedsByVRE/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllFeedsByVRE(@QueryParam(value="token")
String token)
Copyright © 2016. All Rights Reserved.