portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services PortletStats.java
Date Tue, 03 Sep 2002 15:01:40 GMT
morciuch    2002/09/03 08:01:40

  Modified:    src/java/org/apache/jetspeed/services PortletStats.java
  Log:
  Make use of constants for status codes
  
  Revision  Changes    Path
  1.2       +11 -1     jakarta-jetspeed/src/java/org/apache/jetspeed/services/PortletStats.java
  
  Index: PortletStats.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/PortletStats.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PortletStats.java	27 Aug 2002 19:10:25 -0000	1.1
  +++ PortletStats.java	3 Sep 2002 15:01:40 -0000	1.2
  @@ -73,6 +73,16 @@
    */
   public class PortletStats {
    
  +    /**
  +     * Return code when access to portlet was successful
  +     */
  +    public static final String ACCESS_OK        = "200";
  +
  +    /**
  +     * Return code when access to portlet was denied by the security manager
  +     */
  +    public static final String ACCESS_DENIED    = "401";
  +
       /** 
        * Commodity method for getting a reference to the service
        * singleton
  
  
  

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


Mime
View raw message