[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet ...
Julien Viet
julien at jboss.com
Wed Aug 23 08:55:01 EDT 2006
User: julien
Date: 06/08/23 08:55:01
Modified: portlet/src/main/org/jboss/portal/portlet
PortletInvoker.java
Log:
updated implementation of PortletInvoker.setProperties(...) to use a list of property changes instead of a PropertyMap in order to match WSRP semantics
Revision Changes Path
1.19 +4 -3 jboss-portal/portlet/src/main/org/jboss/portal/portlet/PortletInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PortletInvoker.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/PortletInvoker.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- PortletInvoker.java 22 Aug 2006 14:51:48 -0000 1.18
+++ PortletInvoker.java 23 Aug 2006 12:55:01 -0000 1.19
@@ -22,6 +22,7 @@
package org.jboss.portal.portlet;
import org.jboss.portal.portlet.state.PropertyMap;
+import org.jboss.portal.portlet.state.PropertyChange;
import org.jboss.portal.portlet.invocation.PortletInvocation;
import java.util.Set;
@@ -31,7 +32,7 @@
* operations are possible on a particular portlet among the set.
*
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.19 $
*/
public interface PortletInvoker
{
@@ -102,9 +103,9 @@
* Set the properties on the specified portlet.
*
* @param portletId the portlet id
- * @param properties the new properties
+ * @param changes the changes
* @throws IllegalArgumentException if the portletId or the properties is null
* @throws UnsupportedOperationException if the invoker does not support this operation
*/
- void setProperties(String portletId, PropertyMap properties) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException;
+ void setProperties(String portletId, PropertyChange[] changes) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException;
}
More information about the jboss-cvs-commits
mailing list