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$ $Date$
-
-
Constructor Summary
Constructors Constructor Description CommandPaletteServiceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
doReindexCommandPalette()
Schedule a reindex.javax.ws.rs.core.Response
getProcessInfo(java.lang.String processId)
Returns information about a given process.
-
-
-
Method Detail
-
doReindexCommandPalette
@GET @Path("/reindex") @Produces("application/json") public javax.ws.rs.core.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 javax.ws.rs.core.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
-
-