Interface IWebService


public interface IWebService
Interface to define methods needed for WebService portlets.
  • Method Details

    • getURI

      IURI getURI()
      Gets the URI of the webservice.
      Returns:
    • isWebServiceEnabled

      boolean isWebServiceEnabled() throws PortalException
      returns whether the webservice is enabled.
      Returns:
      true if the webservice is enabled, false otherwise
      Throws:
      PortalException
    • getWebServiceName

      String getWebServiceName() throws PortalException
      Get the name of the webservice
      Returns:
      Throws:
      PortalException
    • getWebServiceCommands

      Collection getWebServiceCommands(IContext context) throws PortalException
      get a list of commands that should be exposed through the portlet's webservice.
      Returns:
      a collection of commands that should be exposed through the portlet's webservice
      Throws:
      PortalException