Package org.imixs.marty.rest
Class UserRestService
java.lang.Object
org.imixs.marty.rest.UserRestService
- All Implemented Interfaces:
Serializable
@Named("userService")
@RequestScoped
@Path("/user")
@Produces({"text/html","application/xml","application/json"})
public class UserRestService
extends Object
implements Serializable
The UserRestService provides methods to access the marty user profile The
Service extends the imixs-workflow-jaxrs api.
- Author:
- rsoika
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.xml.XMLDataCollectiongetFavorites(jakarta.servlet.http.HttpServletRequest servletRequest) Returns the users favorite workitems.org.imixs.workflow.xml.XMLDataCollectiongetFavoritesJSON(jakarta.servlet.http.HttpServletRequest servletRequest) org.imixs.workflow.xml.XMLDataCollectiongetFavoritesXML(jakarta.servlet.http.HttpServletRequest servletRequest)
-
Constructor Details
-
UserRestService
public UserRestService()
-
-
Method Details
-
getFavorites
@GET @Path("/favorites") public org.imixs.workflow.xml.XMLDataCollection getFavorites(@Context jakarta.servlet.http.HttpServletRequest servletRequest) Returns the users favorite workitems.- Returns:
-
getFavoritesXML
@GET @Path("/favorites.xml") @Produces("text/xml") public org.imixs.workflow.xml.XMLDataCollection getFavoritesXML(@Context jakarta.servlet.http.HttpServletRequest servletRequest) -
getFavoritesJSON
@GET @Path("/favorites.json") @Produces("application/json") public org.imixs.workflow.xml.XMLDataCollection getFavoritesJSON(@Context jakarta.servlet.http.HttpServletRequest servletRequest)
-