You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/07/20 06:13:30 UTC

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base BasePortletEntry.java

taylor      2004/07/19 21:13:29

  Modified:    src/java/org/apache/jetspeed/om/registry/base
                        BasePortletEntry.java
  Log:
  adding support for ids
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.6       +12 -2     jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BasePortletEntry.java
  
  Index: BasePortletEntry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BasePortletEntry.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BasePortletEntry.java	23 Feb 2004 03:08:26 -0000	1.5
  +++ BasePortletEntry.java	20 Jul 2004 04:13:29 -0000	1.6
  @@ -35,7 +35,8 @@
   public class BasePortletEntry extends BasePortletInfoEntry
      implements PortletEntry, java.io.Serializable
   {
  -
  +    private long id;
  +    
       private String parent;
   
       private ContentURL url = new BaseContentURL();
  @@ -48,6 +49,15 @@
   
       private boolean isRef = true;
   
  +    public BasePortletEntry()
  +    {
  +    }
  +    
  +    public BasePortletEntry(long id)
  +    {
  +        this.id = id;
  +    }
  +    
       /**
        * Implements the equals operation so that 2 elements are equal if
        * all their member values are equal.
  
  
  

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