public class BookmarkResource extends Object
| Constructor and Description |
|---|
BookmarkResource(UriInfo uriInfo,
jakarta.persistence.EntityManager em,
jakarta.transaction.UserTransaction utx,
UserEntity userEntity,
String bmid)
Creates a new instance of UserResource
|
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jettison.json.JSONObject |
asJson() |
String |
asString() |
void |
deleteBookmark() |
org.codehaus.jettison.json.JSONObject |
getBookmark() |
void |
putBookmark(org.codehaus.jettison.json.JSONObject jsonEntity) |
String |
toString() |
public BookmarkResource(UriInfo uriInfo, jakarta.persistence.EntityManager em, jakarta.transaction.UserTransaction utx, UserEntity userEntity, String bmid)
@GET @Produces(value="application/json") public org.codehaus.jettison.json.JSONObject getBookmark()
@PUT @Consumes(value="application/json") public void putBookmark(org.codehaus.jettison.json.JSONObject jsonEntity) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException@DELETE public void deleteBookmark()
public String asString()
public org.codehaus.jettison.json.JSONObject asJson()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.