Class FriendResource
java.lang.Object
dev.getelements.elements.rest.friends.FriendResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteFriendRegistration
(String friendId) getFriends
(int offset, int count, String search) void
setFriendService
(FriendService friendService) void
setValidationHelper
(ValidationHelper validationHelper)
-
Constructor Details
-
FriendResource
public FriendResource()
-
-
Method Details
-
getFriends
@GET @Produces("application/json") public Pagination<Friend> getFriends(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("search") String search) -
getFriend
-
deleteFriendRegistration
@DELETE @Path("{friendId}") @Produces("application/json") public void deleteFriendRegistration(@PathParam("friendId") String friendId) -
getValidationHelper
-
setValidationHelper
-
getFriendService
-
setFriendService
-