portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/rundata DefaultJetspeedRunData.java JetspeedRunData.java
Date Sat, 16 Jun 2001 09:40:02 GMT
raphael     01/06/16 02:40:02

  Modified:    src/java/org/apache/jetspeed/services/rundata
                        DefaultJetspeedRunData.java JetspeedRunData.java
  Log:
  add Portlet support methods in the JetspeedRunData
  
  Revision  Changes    Path
  1.2       +23 -1     jakarta-jetspeed/src/java/org/apache/jetspeed/services/rundata/DefaultJetspeedRunData.java
  
  Index: DefaultJetspeedRunData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/rundata/DefaultJetspeedRunData.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultJetspeedRunData.java	2001/06/04 17:31:54	1.1
  +++ DefaultJetspeedRunData.java	2001/06/16 09:40:01	1.2
  @@ -67,7 +67,7 @@
    * interface in future releases of Turbine</note>
    *
    * @author <a href="mailto:raphael@apache.org">RaphaŽl Luta</a>
  - * @version $Id: DefaultJetspeedRunData.java,v 1.1 2001/06/04 17:31:54 raphael Exp $
  + * @version $Id: DefaultJetspeedRunData.java,v 1.2 2001/06/16 09:40:01 raphael Exp $
    */
   public class DefaultJetspeedRunData extends DefaultTurbineRunData
       implements JetspeedRunData
  @@ -75,8 +75,29 @@
   
       private Profile profile = null;
       private CapabilityMap map = null;
  +    private String pid = null;
       
       /**
  +     * Returns the portlet id referenced in this request
  +     *
  +     * @return the portlet id referenced or null
  +     */
  +    public String getPortlet()
  +    {
  +        return pid;
  +    }
  +
  +    /**
  +     * Sets the portlet id referenced for this request
  +     *
  +     * @param id the portlet id referenced in this request
  +     */
  +    public void setPortlet(String id)
  +    {
  +        this.pid = id;
  +    }
  +
  +    /**
        * Returns the capability map for the user agent issuing this request
        *
        * @return a capability map objet
  @@ -116,6 +137,7 @@
       {
           profile = null;
           map = null;
  +        pid = null;
           
           super.dispose();
       }
  
  
  
  1.2       +15 -1     jakarta-jetspeed/src/java/org/apache/jetspeed/services/rundata/JetspeedRunData.java
  
  Index: JetspeedRunData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/rundata/JetspeedRunData.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JetspeedRunData.java	2001/06/04 17:31:54	1.1
  +++ JetspeedRunData.java	2001/06/16 09:40:01	1.2
  @@ -66,10 +66,24 @@
    * interface in future releases of Turbine</note>
    *
    * @author <a href="mailto:raphael@apache.org">RaphaŽl Luta</a>
  - * @version $Id: JetspeedRunData.java,v 1.1 2001/06/04 17:31:54 raphael Exp $
  + * @version $Id: JetspeedRunData.java,v 1.2 2001/06/16 09:40:01 raphael Exp $
    */
   public interface JetspeedRunData extends TurbineRunData
   {
  +
  +    /**
  +     * Returns the portlet id referenced in this request
  +     *
  +     * @return the portlet id referenced or null
  +     */
  +    public String getPortlet();
  +
  +    /**
  +     * Sets the portlet id referenced for this request
  +     *
  +     * @param id the portlet id referenced in this request
  +     */
  +    public void setPortlet(String id);
   
       /**
        * Returns the capability map for the user agent issuing this request
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message