Class CommandPaletteServiceResource
- java.lang.Object
-
- lumis.service.portalmanagement.commandpalette.CommandPaletteServiceResource
-
@Path("/lumis/service/portalmanagement/commandpalette") public class CommandPaletteServiceResource extends java.lang.Object
Command palette reindex-related operations.- Since:
- 10.3.0
- Version:
- $Revision: 20808 $ $Date: 2017-11-30 17:13:55 -0200 (Thu, 30 Nov 2017) $
-
-
Constructor Summary
Constructors Constructor Description CommandPaletteServiceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
doReindexCommandPalette()
Schedule a reindex.Response
getProcessInfo(java.lang.String processId)
Returns information about a given process.
-
-
-
Method Detail
-
doReindexCommandPalette
@GET @Path("/reindex") @Produces("application/json") public Response doReindexCommandPalette() throws PortalException
Schedule a reindex.- Returns:
- a JSON string containing the reindex process identifier.
- Throws:
PortalException
- Since:
- 10.3.0
-
getProcessInfo
@GET @Path("/process/{processId: [A-F0-9]{32}}") @Produces("application/json") public Response getProcessInfo(@PathParam("processId") java.lang.String processId) throws PortalException
Returns information about a given process.- Parameters:
processId
- the process identifier.- Returns:
- the status of the process.
- Throws:
PortalException
- Since:
- 10.3.0
-
-