Interface IWebService
public interface IWebService
Interface to define methods needed for WebService portlets.
-
Method Summary
Modifier and TypeMethodDescriptiongetURI()
Gets the URI of the webservice.getWebServiceCommands
(IContext context) get a list of commands that should be exposed through the portlet's webservice.Get the name of the webserviceboolean
returns whether the webservice is enabled.
-
Method Details
-
getURI
IURI getURI()Gets the URI of the webservice.- Returns:
-
isWebServiceEnabled
returns whether the webservice is enabled.- Returns:
- true if the webservice is enabled, false otherwise
- Throws:
PortalException
-
getWebServiceName
Get the name of the webservice- Returns:
- Throws:
PortalException
-
getWebServiceCommands
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
-