org.apache.jetspeed.services
Class PortletStats

java.lang.Object
  extended byorg.apache.jetspeed.services.PortletStats

public class PortletStats
extends java.lang.Object

This is a commodity static accessor class around the PortletStatsService

Version:
$Id: PortletStats.java,v 1.4 2004/02/23 04:00:57 jford Exp $
Author:
Mark Orciuch
See Also:
PortletStatsService

Field Summary
static java.lang.String ACCESS_DENIED
          Return code when access to portlet was denied by the security manager
static java.lang.String ACCESS_OK
          Return code when access to portlet was successful
 
Constructor Summary
PortletStats()
           
 
Method Summary
static boolean isEnabled()
           
static void logAccess(org.apache.turbine.util.RunData data, Portlet portlet, java.lang.String statusCode)
           
static void logAccess(org.apache.turbine.util.RunData data, Portlet portlet, java.lang.String statusCode, long time)
           
static boolean setEnabled(boolean state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCESS_OK

public static final java.lang.String ACCESS_OK
Return code when access to portlet was successful

See Also:
Constant Field Values

ACCESS_DENIED

public static final java.lang.String ACCESS_DENIED
Return code when access to portlet was denied by the security manager

See Also:
Constant Field Values
Constructor Detail

PortletStats

public PortletStats()
Method Detail

isEnabled

public static boolean isEnabled()
See Also:
PortletStatsService.isEnabled()

setEnabled

public static boolean setEnabled(boolean state)
See Also:
PortletStatsService.setEnabled(boolean)

logAccess

public static void logAccess(org.apache.turbine.util.RunData data,
                             Portlet portlet,
                             java.lang.String statusCode)
See Also:
PortletStatsService.logAccess(org.apache.turbine.util.RunData, org.apache.jetspeed.portal.Portlet, java.lang.String)

logAccess

public static void logAccess(org.apache.turbine.util.RunData data,
                             Portlet portlet,
                             java.lang.String statusCode,
                             long time)
See Also:
PortletStatsService.logAccess(org.apache.turbine.util.RunData, org.apache.jetspeed.portal.Portlet, java.lang.String)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.