[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/model/instance ...
Julien Viet
julien at jboss.com
Tue Aug 22 10:51:47 EDT 2006
User: julien
Date: 06/08/22 10:51:47
Modified: core/src/main/org/jboss/portal/core/model/instance
Instance.java
Log:
added getProperties(String portletId, Set keys) on PortletInvoker to match WSRP semantics
Revision Changes Path
1.17 +12 -3 jboss-portal/core/src/main/org/jboss/portal/core/model/instance/Instance.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Instance.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/model/instance/Instance.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- Instance.java 22 Aug 2006 14:08:52 -0000 1.16
+++ Instance.java 22 Aug 2006 14:51:47 -0000 1.17
@@ -26,11 +26,13 @@
import org.jboss.portal.portlet.PortletInvokerException;
import org.jboss.portal.portlet.invocation.PortletInvocation;
+import java.util.Set;
+
/**
* A shared portlet instance.
*
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
*/
public interface Instance
{
@@ -81,12 +83,19 @@
*
* @return the prefs
*/
- PropertyMap getPreferences() throws PortletInvokerException;
+ PropertyMap getProperties() throws PortletInvokerException;
+
+ /**
+ * Return the instance preferences.
+ *
+ * @return the prefs
+ */
+ PropertyMap getProperties(Set keys) throws PortletInvokerException;
/**
* Update the prefs of this instance.
*
* @param prefs the new prefs
*/
- void setPreferences(PropertyMap prefs) throws PortletInvokerException;
+ void setProperties(PropertyMap prefs) throws PortletInvokerException;
}
More information about the jboss-cvs-commits
mailing list