KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > consumer > PortletServices


1 package org.exoplatform.services.wsrp.consumer;
2
3 import org.exoplatform.services.wsrp.intf.WSRP_v1_Markup_PortType;
4 import org.exoplatform.services.wsrp.intf.WSRP_v1_PortletManagement_PortType;
5
6 /**
7  * WSRP portlet services are all wsrp service interfaces which
8  * are session dependent. With the implemented version 0.91 of the
9  * WSRP specification the markup interface and the portlet management interface
10  * depend on using the same session cookie in an clustered environment.
11  * <p/>
12  * This interface provides a vehicle to store and retrieve the portTypes of these
13  * interfaces.
14  *
15  * @author Stephan Laertz
16  * @author Benjamin Mestrallet
17  */

18 public interface PortletServices {
19
20   /**
21    * Set the portType object of the portlet management service.
22    *
23    * @param portletManagementPortType Port type object which describes the operations of the
24    * producers portlet mamagement service endpoint
25    */

26   public void setWSRPPortletManagementService(WSRP_v1_PortletManagement_PortType portletManagementPortType);
27
28   /**
29    * Get a port type object describing the operations of a produces portlet management service
30    * endpoint.
31    *
32    * @return Portlet management port type object
33    */

34   public WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService();
35
36   /**
37    * Set the portType object of the markup service.
38    *
39    * @param markupPortType Port type object which describes the operations of the
40    * producers markup service endpoint
41    */

42   public void setWSRPBaseService(WSRP_v1_Markup_PortType markupPortType);
43
44   /**
45    * Get a port type object describing the operations of a produces markup service
46    * endpoint.
47    *
48    * @return Markup port type object
49    */

50   public WSRP_v1_Markup_PortType getWSRPBaseService();
51
52   /**
53    * Get the URL of the producers markup and portlet management service interface.
54    * Since both services can depend on a producer session they need to have the same
55    * accessPoint.
56    *
57    * @return The URL of the producers markup and portlet management service interface.
58    */

59   public String JavaDoc getPortletServicesURL();
60 }
61
Popular Tags