public class UserResource extends Object
| Constructor and Description |
|---|
UserResource(UriInfo uriInfo,
jakarta.persistence.EntityManager em,
jakarta.transaction.UserTransaction utx,
String userid)
Creates a new instance of UserResource
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteUser() |
BookmarksResource |
getBookmarksResource() |
org.codehaus.jettison.json.JSONObject |
getUser() |
UserEntity |
getUserEntity() |
Response |
putUser(org.codehaus.jettison.json.JSONObject jsonEntity) |
String |
toString() |
@Path(value="bookmarks/") public BookmarksResource getBookmarksResource()
@GET @Produces(value="application/json") public org.codehaus.jettison.json.JSONObject getUser() throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException@PUT @Consumes(value="application/json") public Response putUser(org.codehaus.jettison.json.JSONObject jsonEntity) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException@DELETE public void deleteUser()
public UserEntity getUserEntity()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.