You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by ta...@apache.org on 2003/11/20 19:58:00 UTC
cvs commit: jakarta-pluto/src/portal/org/apache/pluto/portalImpl/om/entity/impl PortletEntityImpl.java
taylor 2003/11/20 10:58:00
Modified: . .classpath
src/container/org/apache/pluto/om/entity
PortletEntityCtrl.java
src/portal/org/apache/pluto/portalImpl/om/entity/impl
PortletEntityImpl.java
Log:
Added method setPortletDefinition to PortletEntityCtrl interface
Revision Changes Path
1.4 +0 -2 jakarta-pluto/.classpath
Index: .classpath
===================================================================
RCS file: /home/cvs/jakarta-pluto/.classpath,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .classpath 21 Oct 2003 09:36:23 -0000 1.3
+++ .classpath 20 Nov 2003 18:57:59 -0000 1.4
@@ -5,7 +5,6 @@
<classpathentry excluding="**/CVS*" kind="src" path="src/container"/>
<classpathentry exported="true" kind="lib" path="temp/api/portlet-api.jar"/>
<classpathentry exported="true" kind="lib" path="lib/portal/jakarta-regexp-1.2.jar"/>
- <classpathentry exported="true" kind="lib" path="temp/jar/WEB-INF/lib/pluto-portal-impl.jar"/>
<classpathentry exported="true" kind="lib" path="lib/portal/castor-0.9.4.1-xml.jar"/>
<classpathentry exported="true" kind="lib" path="lib/container/exclude-servlet.jar"/>
<classpathentry exported="true" kind="lib" path="lib/portal/exclude-servlet.jar"/>
@@ -16,7 +15,6 @@
<classpathentry exported="true" kind="lib" path="build/ant/lib/ant.jar"/>
<classpathentry exported="true" kind="lib" path="build/ant/lib/xml-apis.jar"/>
<classpathentry exported="true" kind="lib" path="build/ant/lib/junit.jar"/>
- <classpathentry exported="true" kind="lib" path="temp/portal/pluto-portal-impl.jar"/>
<classpathentry exported="true" kind="lib" path="driver/shared/portlet-api.jar"/>
<classpathentry exported="true" kind="lib" path="build/ant/lib/jakarta-regexp-1.3-dev.jar"/>
<classpathentry exported="true" kind="lib" path="portlets/lib/servlet.jar"/>
1.3 +10 -0 jakarta-pluto/src/container/org/apache/pluto/om/entity/PortletEntityCtrl.java
Index: PortletEntityCtrl.java
===================================================================
RCS file: /home/cvs/jakarta-pluto/src/container/org/apache/pluto/om/entity/PortletEntityCtrl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PortletEntityCtrl.java 11 Oct 2003 00:51:37 -0000 1.2
+++ PortletEntityCtrl.java 20 Nov 2003 18:57:59 -0000 1.3
@@ -57,6 +57,8 @@
package org.apache.pluto.om.entity;
+import org.apache.pluto.om.portlet.PortletDefinition;
+
/**
* <P>
* The <CODE>PortletEntityCtrl</CODE> interface represents a single portlet occurance,
@@ -79,6 +81,14 @@
* @param id the new identifier
*/
public void setId(String id);
+
+ /**
+ * Sets the portlet definition for this entity.
+ * This value should not be null
+ *
+ * @param portletDefinition the portlet description
+ */
+ public void setPortletDefinition(PortletDefinition portletDefinition);
/**
* Stores the object persistently
1.3 +5 -0 jakarta-pluto/src/portal/org/apache/pluto/portalImpl/om/entity/impl/PortletEntityImpl.java
Index: PortletEntityImpl.java
===================================================================
RCS file: /home/cvs/jakarta-pluto/src/portal/org/apache/pluto/portalImpl/om/entity/impl/PortletEntityImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PortletEntityImpl.java 11 Oct 2003 00:51:41 -0000 1.2
+++ PortletEntityImpl.java 20 Nov 2003 18:58:00 -0000 1.3
@@ -120,6 +120,11 @@
return applicationEntity.getPortletApplicationDefinition().getPortletDefinitionList().get(org.apache.pluto.portalImpl.util.ObjectID.createFromString(definitionId));
}
+ public void setPortletDefinition(PortletDefinition portletDefinition)
+ {
+ this.definitionId = portletDefinition.getId().toString();
+ }
+
public PortletApplicationEntity getPortletApplicationEntity()
{
return applicationEntity;