@Path(value="/posts") @Deprecated public class Posts extends Object
| Constructor and Description |
|---|
Posts()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAllLikedPostIdsByUser()
Deprecated.
|
javax.ws.rs.core.Response |
getAllLikedPostsByUser(int limit)
Deprecated.
|
javax.ws.rs.core.Response |
getAllPostsByApp()
Deprecated.
|
javax.ws.rs.core.Response |
getAllPostsByUser()
Deprecated.
|
javax.ws.rs.core.Response |
getAllPostsByVRE()
Deprecated.
|
javax.ws.rs.core.Response |
getRecentPostsByUser(int quantity)
Deprecated.
|
javax.ws.rs.core.Response |
getRecentPostsByUserAndDate(long timeInMillis)
Deprecated.
|
javax.ws.rs.core.Response |
writePostApp(String feedText,
String uriParams,
String previewTitle,
String previewDescription,
String httpImageUrl,
String enableNotification)
Deprecated.
|
javax.ws.rs.core.Response |
writePostUser(String feedText,
String previewTitle,
String previewDescription,
String previewHost,
String previewUrl,
String httpImageUrl,
String enableNotification)
Deprecated.
|
@GET
@Path(value="getRecentPostsByUserAndDate/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getRecentPostsByUserAndDate(@QueryParam(value="time")
long timeInMillis)
@GET
@Path(value="getAllPostsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllPostsByUser()
@GET
@Path(value="getRecentPostsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getRecentPostsByUser(@DefaultValue(value="10") @QueryParam(value="quantity")
int quantity)
@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)
@GET
@Path(value="getAllPostsByApp/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllPostsByApp()
@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)
@GET
@Path(value="getAllPostsByVRE/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllPostsByVRE()
@GET
@Path(value="getAllLikedPostIdsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllLikedPostIdsByUser()
@GET
@Path(value="getAllLikedPostsByUser/")
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.Response getAllLikedPostsByUser(@DefaultValue(value="10") @QueryParam(value="limit")
int limit)
Copyright © 2019. All Rights Reserved.