portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common ParameterComposite.java MutableDisplayName.java MutableDescription.java
Date Wed, 04 Feb 2004 21:08:19 GMT
weaver      2004/02/04 13:08:19

  Modified:    commons/src/java/org/apache/jetspeed/om/common
                        ParameterComposite.java MutableDisplayName.java
                        MutableDescription.java
  Log:
  Added class key constants for assistance in doing implementation lookups
  
  Revision  Changes    Path
  1.2       +10 -1     jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/ParameterComposite.java
  
  Index: ParameterComposite.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/ParameterComposite.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParameterComposite.java	28 Jul 2003 23:46:39 -0000	1.1
  +++ ParameterComposite.java	4 Feb 2004 21:08:19 -0000	1.2
  @@ -69,6 +69,15 @@
    */
   public interface ParameterComposite extends Parameter, ParameterCtrl, Serializable
   {
  +	
  +	String TYPE_PORTLET = "org.apache.pluto.om.common.Parameter.portlet";
  +
  +
  +	String TYPE_WEB_APP = "org.apache.pluto.om.common.Parameter.webapp";
  +
  +
  +	
  +	
       void addDescription(Locale locale, String desc);
       
   }
  
  
  
  1.3       +3 -6      jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/MutableDisplayName.java
  
  Index: MutableDisplayName.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/MutableDisplayName.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MutableDisplayName.java	17 Oct 2003 19:35:29 -0000	1.2
  +++ MutableDisplayName.java	4 Feb 2004 21:08:19 -0000	1.3
  @@ -66,14 +66,11 @@
    */
   public interface MutableDisplayName extends DisplayName
   {
  -    String TYPE_WEB_APP = "web application";
  -    String TYPE_PORTLET = "portlet";
  +    String TYPE_WEB_APP = "org.apache.pluto.om.common.DisplayName.webapp";
  +    String TYPE_PORTLET = "org.apache.pluto.om.common.DisplayName.portlet";
   
       void setDisplayName(String displayName);
   
       void setLocale(Locale locale);
  -
  -    String getType();
       
  -    void setType(String type);
   }
  
  
  
  1.4       +8 -12     jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/MutableDescription.java
  
  Index: MutableDescription.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/MutableDescription.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MutableDescription.java	17 Oct 2003 19:35:29 -0000	1.3
  +++ MutableDescription.java	4 Feb 2004 21:08:19 -0000	1.4
  @@ -71,20 +71,16 @@
   public interface MutableDescription extends Description
   {
   
  -    String TYPE_PORTLET_APP = "portlet application";
  -    String TYPE_WEB_APP = "web application";
  -    String TYPE_PORTLET = "portlet";
  -    String TYPE_PORTLET_ENTITY = "portlet entity";
  -    String TYPE_PARAMETER = "parameter";
  -    String TYPE_PREFERENCE = "preference";
  -    String TYPE_SEC_ROLE_REF = "security role ref";
  +    String TYPE_PORTLET_APP = "org.apache.pluto.om.common.Description.portletApplication";
  +    String TYPE_WEB_APP = "org.apache.pluto.om.common.Description.webApplication";
  +    String TYPE_PORTLET = "org.apache.pluto.om.common.Description.portlet";
  +    String TYPE_PORTLET_ENTITY = "org.apache.pluto.om.common.Description.portletEntity";
  +    String TYPE_PARAMETER = "org.apache.pluto.om.common.Description.parameter";
  +    String TYPE_PREFERENCE = "org.apache.pluto.om.common.Description.preference";
  +    String TYPE_SEC_ROLE_REF = "org.apache.pluto.om.common.Description.securityRoleRef";
   
       void setDescription(String description);
   
       void setLocale(Locale locale);
  -
  -    String getType();
  -    
  -    void setType(String type);
   
   }
  
  
  

---------------------------------------------------------------------
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