Package lumis.portal.documentation
Class DocumentationResource
- java.lang.Object
-
- lumis.portal.documentation.DocumentationResource
-
@Path("/lum-internal/documentation") public class DocumentationResource extends java.lang.Object
Documentation utilities methods.- Since:
- 10.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description DocumentationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
goTo(java.lang.String page, java.lang.String locale)
Redirects user to the desired page in the online documentation.
-
-
-
Method Detail
-
goTo
@Path("/goTo/{page:[a-zA-Z0-9_.]+}") @GET public javax.ws.rs.core.Response goTo(@PathParam("page") java.lang.String page, @QueryParam("locale") java.lang.String locale) throws PortalException
Redirects user to the desired page in the online documentation.- Parameters:
page
- the requested documentation page.locale
- the optional locale.- Returns:
- the response.
- Throws:
PortalException
- Since:
- 10.0.0
-
-