Class CommandPaletteResource


  • @Path("/lum-internal/admin/commandpalette")
    public class CommandPaletteResource
    extends java.lang.Object
    Command palette resource.
    Since:
    10.3.0
    Version:
    $Revision: 20807 $ $Date: 2017-11-30 17:08:51 -0200 (Thu, 30 Nov 2017) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSuggestions​(java.lang.String hint)
      Returns the suggestions for the given hint.
      • Methods inherited from class java.lang.Object

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

      • CommandPaletteResource

        public CommandPaletteResource()
    • Method Detail

      • getSuggestions

        @Path("/suggest")
        @GET
        @Produces("application/json")
        public java.lang.String getSuggestions​(@QueryParam("q")
                                               java.lang.String hint)
                                        throws PortalException
        Returns the suggestions for the given hint.
        Parameters:
        hint - the hint.
        Returns:
        the suggestions for the given hint.
        Throws:
        PortalException
        Since:
        10.3.0