Package lumis.service.categorization
Class CategorizationResource
- java.lang.Object
-
- lumis.service.categorization.CategorizationResource
-
-
Constructor Summary
Constructors Constructor Description CategorizationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getCategorizationDetail(@NotNull String itemId, @NotNull String pageId)
Redirects the request to the nearest page that contains the categorization details service interface with the given item identifier.
-
-
-
Method Detail
-
getCategorizationDetail
@Path("/detail") @GET @Produces("text/html") public Response getCategorizationDetail(@QueryParam("itemId") @NotNull @NotNull String itemId, @QueryParam("sourcePageId") @NotNull @NotNull 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.
Theitem 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:
-
Temporary redirect
: if the categorization details page could be found and correctly calculated. -
Not found
: if the categorization details page could not be found. -
Internal server error
: if some error occur during calculation.
- Parameters:
pageId
- the source page identifier.itemId
- theitem identifier
.- Returns:
- the response of the processing.
- Since:
- 9.0.0
-
-
-