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 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
 String getDectectedBrowser()
          Return the activity viewer's best guess as to what browser or bot was initiating the request.
 int getEPersonID()
           
 String getIP()
           
 String getSessionID()
           
 long getTimeStamp()
           
 String getURL()
           
 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 String getSessionID()

getEPersonID

public int getEPersonID()

getURL

public String getURL()

getTimeStamp

public long getTimeStamp()

getUserAgent

public String getUserAgent()

getIP

public String getIP()

isAnonymous

public boolean isAnonymous()
Is this event anonymous?

Returns:

isBot

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

Returns:

getDectectedBrowser

public 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 © 2013 DuraSpace. All Rights Reserved.