KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > producer > PortletManagementOperationsInterface


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  *
5  * Created on 19 d�c. 2003
6  */

7  
8 package org.exoplatform.services.wsrp.producer;
9
10 import java.rmi.RemoteException JavaDoc;
11 import org.exoplatform.services.wsrp.type.DestroyPortletsResponse;
12 import org.exoplatform.services.wsrp.type.PortletContext;
13 import org.exoplatform.services.wsrp.type.PortletDescriptionResponse;
14 import org.exoplatform.services.wsrp.type.PortletPropertyDescriptionResponse;
15 import org.exoplatform.services.wsrp.type.PropertyList;
16 import org.exoplatform.services.wsrp.type.RegistrationContext;
17 import org.exoplatform.services.wsrp.type.UserContext;
18
19
20 /**
21  * @author Mestrallet Benjamin
22  * benjmestrallet@users.sourceforge.net
23  */

24 public interface PortletManagementOperationsInterface {
25   
26   public PortletDescriptionResponse getPortletDescription(RegistrationContext registrationContext,
27                                                           PortletContext portletContext,
28                                                           UserContext userContext,
29                                                           String JavaDoc[] desiredLocales)
30     throws RemoteException JavaDoc;
31
32   public DestroyPortletsResponse destroyPortlets(RegistrationContext registrationContext,
33                                                  String JavaDoc[] portletHandles)
34     throws RemoteException JavaDoc;
35
36   public PortletContext setPortletProperties(RegistrationContext registrationContext,
37                                              PortletContext portletContext,
38                                              UserContext userContext,
39                                              PropertyList propertyList)
40     throws RemoteException JavaDoc;
41
42   public PropertyList getPortletProperties(RegistrationContext registrationContext,
43                                            PortletContext portletContext,
44                                            UserContext userContext,
45                                            String JavaDoc[] names)
46     throws RemoteException JavaDoc;
47
48   public PortletPropertyDescriptionResponse getPortletPropertyDescription(RegistrationContext registrationContext,
49                                                                           PortletContext portletContext,
50                                                                           UserContext userContext,
51                                                                           String JavaDoc[] desiredLocales)
52     throws RemoteException JavaDoc;
53
54
55   public PortletContext clonePortlet(RegistrationContext registrationContext,
56                                      PortletContext portletContext,
57                                      UserContext userContext)
58     throws RemoteException JavaDoc;
59
60 }
61
Popular Tags