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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.xml.XMLDataCollection
    getFavorites(jakarta.servlet.http.HttpServletRequest servletRequest)
    Returns the users favorite workitems.
    org.imixs.workflow.xml.XMLDataCollection
    getFavoritesJSON(jakarta.servlet.http.HttpServletRequest servletRequest)
     
    org.imixs.workflow.xml.XMLDataCollection
    getFavoritesXML(jakarta.servlet.http.HttpServletRequest servletRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)