org.dspace.app.xmlui.aspect.administrative
Class CurrentActivityAction.Event

java.lang.Object
  extended by org.dspace.app.xmlui.aspect.administrative.CurrentActivityAction.Event
Enclosing class:
CurrentActivityAction

public static class CurrentActivityAction.Event
extends java.lang.Object

An object that represents an activity event.


Constructor Summary
CurrentActivityAction.Event(Context context, org.apache.cocoon.environment.Request request)
          Construct a new activity event, grabing various bits of data about the request from the context and request.
 
Method Summary
 java.lang.String getDectectedBrowser()
          Return the activity viewer's best guess as to what browser or bot was initiating the request.
 int getEPersonID()
           
 java.lang.String getIP()
           
 java.lang.String getSessionID()
           
 long getTimeStamp()
           
 java.lang.String getURL()
           
 java.lang.String getUserAgent()
           
 boolean isAnonymous()
          Is this event anonymous?
 boolean isBot()
          Is this event from a bot?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentActivityAction.Event

public CurrentActivityAction.Event(Context context,
                                   org.apache.cocoon.environment.Request request)
Construct a new activity event, grabing various bits of data about the request from the context and request.

Method Detail

getSessionID

public java.lang.String getSessionID()

getEPersonID

public int getEPersonID()

getURL

public java.lang.String getURL()

getTimeStamp

public long getTimeStamp()

getUserAgent

public java.lang.String getUserAgent()

getIP

public java.lang.String getIP()

isAnonymous

public boolean isAnonymous()
Is this event anonymous?

Returns:

isBot

public boolean isBot()
Is this event from a bot?

Returns:

getDectectedBrowser

public java.lang.String getDectectedBrowser()
Return the activity viewer's best guess as to what browser or bot was initiating the request.

Returns:
A short name for the browser or bot.


Copyright © 2010 DuraSpace. All Rights Reserved.