org.apache.wsrp4j.consumer
Interface PortletServices


public interface PortletServices

WSRP portlet services are all wsrp service interfaces which are session dependent. With the implemented version 0.91 of the WSRP specification the markup interface and the portlet management interface depend on using the same session cookie in an clustered environment. This interface provides a vehicle to store and retrieve the portTypes of these interfaces.

Author:
Stephan Laertz

Method Summary
 java.lang.String getPortletServicesURL()
          Get the URL of the producers markup and portlet management service interface.
 WSRP_v1_Markup_PortType getWSRPBaseService()
          Get a port type object describing the operations of a produces markup service endpoint.
 WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService()
          Get a port type object describing the operations of a produces portlet management service endpoint.
 void setWSRPBaseService(WSRP_v1_Markup_PortType markupPortType)
          Set the portType object of the markup service.
 void setWSRPPortletManagementService(WSRP_v1_PortletManagement_PortType portletManagementPortType)
          Set the portType object of the portlet management service.
 

Method Detail

setWSRPPortletManagementService

public void setWSRPPortletManagementService(WSRP_v1_PortletManagement_PortType portletManagementPortType)
Set the portType object of the portlet management service.

Parameters:
portletManagementPortType - Port type object which describes the operations of the producers portlet mamagement service endpoint

getWSRPPortletManagementService

public WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService()
Get a port type object describing the operations of a produces portlet management service endpoint.

Returns:
Portlet management port type object

setWSRPBaseService

public void setWSRPBaseService(WSRP_v1_Markup_PortType markupPortType)
Set the portType object of the markup service.

Parameters:
markupPortType - Port type object which describes the operations of the producers markup service endpoint

getWSRPBaseService

public WSRP_v1_Markup_PortType getWSRPBaseService()
Get a port type object describing the operations of a produces markup service endpoint.

Returns:
Markup port type object

getPortletServicesURL

public java.lang.String getPortletServicesURL()
Get the URL of the producers markup and portlet management service interface. Since both services can depend on a producer session they need to have the same accessPoint.

Returns:
The URL of the producers markup and portlet management service interface.