org.jasig.portal.events
Class PortalEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.jasig.portal.events.PortalEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChannelLayoutPortalEvent, ChannelPortalEvent, LayoutPortalEvent, UserLoggedInPortalEvent, UserLoggedOutPortalEvent, UserSessionCreatedPortalEvent, UserSessionDestroyedPortalEvent

public abstract class PortalEvent
extends ApplicationEvent

ApplicationEvent specific to the Portal.

Since:
2.6
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Scott Battaglia
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PortalEvent(Object source, IPerson person)
           
PortalEvent(Object source, IPerson person, EventType eventType)
           
 
Method Summary
 String getDescription()
           
protected  String getDisplayName()
           
 EventType getEventType()
           
 long getId()
           
 IPerson getPerson()
           
 StatsSession getStatsSession()
           
 Date getTimestampAsDate()
           
 void setDescription(String description)
           
 void setId(long id)
           
 void setStatsSession(StatsSession statsSession)
           
 void setTimestampAsDate(Date timestamp)
           
 String toString()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalEvent

public PortalEvent(Object source,
                   IPerson person)

PortalEvent

public PortalEvent(Object source,
                   IPerson person,
                   EventType eventType)
Method Detail

getPerson

public final IPerson getPerson()

getTimestampAsDate

public final Date getTimestampAsDate()

getDescription

public final String getDescription()

setDescription

public final void setDescription(String description)

setTimestampAsDate

public final void setTimestampAsDate(Date timestamp)

getEventType

public EventType getEventType()

getId

public long getId()

setId

public void setId(long id)

getStatsSession

public StatsSession getStatsSession()

setStatsSession

public void setStatsSession(StatsSession statsSession)

getDisplayName

protected String getDisplayName()

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2010 Jasig. All Rights Reserved.