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.MultivaluedMap<String,String> params,
Long userId) |
javax.ws.rs.core.Response |
createFollow(String jsonRepresentation,
Long userId) |
javax.ws.rs.core.Response |
deleteFollow(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long followId,
Long userId) |
boolean |
equals(Object obj) |
javax.ws.rs.core.Response |
followList(Long userId) |
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 AbstractResourcepublic javax.ws.rs.core.Response deleteFollow(javax.ws.rs.core.MultivaluedMap<String,String> params, Long followId, Long userId) throws Exception
Exceptionpublic javax.ws.rs.core.Response followList(Long userId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createFollow(javax.ws.rs.core.MultivaluedMap<String,String> params, Long userId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createFollow(String jsonRepresentation, Long userId) throws Exception
Exceptionpublic Long getFollowId()
public void setFollowId(Long followId)
followId - public Boolean getFollow()
public void setFollow(Boolean follow)
follow - Copyright © 2019 Communote team. All rights reserved.