Class CategorizationResource


  • @Path("/lumis/service/categorization/rest")
    public class CategorizationResource
    extends java.lang.Object
    Categorization service rest application.
    Since:
    9.0.0
    Version:
    $Revision: 19380 $ $Date: 2016-09-08 16:08:04 -0300 (Thu, 08 Sep 2016) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Response getCategorizationDetail​(@NotNull java.lang.String itemId, @NotNull java.lang.String pageId)
      Redirects the request to the nearest page that contains the categorization details service interface with the given item identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CategorizationResource

        public CategorizationResource()
    • Method Detail

      • getCategorizationDetail

        @Path("/detail")
        @GET
        @Produces("text/html")
        public Response getCategorizationDetail​(@QueryParam("itemId") @NotNull
                                                @NotNull java.lang.String itemId,
                                                @QueryParam("sourcePageId") @NotNull
                                                @NotNull java.lang.String pageId)
        Redirects the request to the nearest page that contains the categorization details service interface with the given item identifier.

        Uses the given page identifier parameter as the source page, to calculate the nearest categorization details page.
        The item identifier parameter represents the content to be shown in the categorization details service interface
        The query parameter is added to the target URL after the base URL is processed (thus, it will not be added to the WebResource calculation).

        The response will be one of:

        Parameters:
        pageId - the source page identifier.
        itemId - the item identifier.
        Returns:
        the response of the processing.
        Since:
        9.0.0