public class FollowResource extends AbstractResource
Constructor and Description |
---|
FollowResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createFollow() |
javax.ws.rs.core.Response |
createFollow(javax.ws.rs.core.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
createFollow(String jsonRepresentation,
String topicId) |
javax.ws.rs.core.Response |
deleteFollow(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long followId,
String topicId) |
boolean |
equals(Object obj) |
javax.ws.rs.core.Response |
followList(String topicId) |
Boolean |
getFollow()
Returns the Follow.
|
Long |
getFollowId()
Returns the FollowId.
|
protected AbstractResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter> |
getResourceHandler() |
int |
hashCode() |
void |
setFollow(Boolean follow)
Sets Follow.
|
void |
setFollowId(Long followId)
Sets FollowId.
|
protected AbstractResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response deleteFollow(javax.ws.rs.core.MultivaluedMap<String,String> params, Long followId, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response followList(String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createFollow(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createFollow(String jsonRepresentation, String topicId) throws Exception
Exception
public Long getFollowId()
public void setFollowId(Long followId)
followId
- public Boolean getFollow()
public void setFollow(Boolean follow)
follow
- Copyright © 2019 Communote team. All rights reserved.