public class LikeResource extends AbstractResource
Constructor and Description |
---|
LikeResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createLike() |
javax.ws.rs.core.Response |
createLike(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long noteId) |
javax.ws.rs.core.Response |
createLike(String jsonRepresentation,
Long noteId) |
javax.ws.rs.core.Response |
deleteLike(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long likeId,
Long noteId) |
boolean |
equals(Object obj) |
Boolean |
getLike()
Returns the Like.
|
Long |
getLikeId()
Returns the LikeId.
|
protected AbstractResourceHandler<CreateLikeParameter,DefaultParameter,DeleteLikeParameter,DefaultParameter,GetCollectionLikeParameter> |
getResourceHandler() |
TimelineUserResource[] |
getUsers()
Returns the Users.
|
int |
hashCode() |
javax.ws.rs.core.Response |
likeList(Long noteId) |
void |
setLike(Boolean like)
Sets Like.
|
void |
setLikeId(Long likeId)
Sets LikeId.
|
void |
setUsers(TimelineUserResource[] users)
Sets Users.
|
protected AbstractResourceHandler<CreateLikeParameter,DefaultParameter,DeleteLikeParameter,DefaultParameter,GetCollectionLikeParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response deleteLike(javax.ws.rs.core.MultivaluedMap<String,String> params, Long likeId, Long noteId) throws Exception
Exception
public javax.ws.rs.core.Response createLike(javax.ws.rs.core.MultivaluedMap<String,String> params, Long noteId) throws Exception
Exception
public javax.ws.rs.core.Response createLike(String jsonRepresentation, Long noteId) throws Exception
Exception
public Long getLikeId()
public void setLikeId(Long likeId)
likeId
- public Boolean getLike()
public void setLike(Boolean like)
like
- public TimelineUserResource[] getUsers()
public void setUsers(TimelineUserResource[] users)
users
- Copyright © 2019 Communote team. All rights reserved.