atg.userprofiling
Class AccessAllowedEvent

java.lang.Object
  extended by atg.userprofiling.AccessAllowedEvent
All Implemented Interfaces:
RepositoryUpdateEvent

public class AccessAllowedEvent
extends java.lang.Object
implements RepositoryUpdateEvent

An event that gets fired when a user is allowed access to a page.

See Also:
AccessControlServlet, AccessAllowedListener

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
AccessAllowedEvent(java.lang.String pURL, Profile pProfile)
          Constructs a new AccessAllowedEvent.
 
Method Summary
 Profile getProfile()
          Returns the Profile representing the user who was allowed access.
 RepositoryItem getUpdatedItem()
          The item whose updates should be commited after all the updates have been added to the item.
 java.lang.String getURL()
          Returns the URL to the page which was accessed.
 void setUpdatedItem(RepositoryItem pValue)
          The item whose updates should be commited after all the updates have been added to the item.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

AccessAllowedEvent

public AccessAllowedEvent(java.lang.String pURL,
                          Profile pProfile)
Constructs a new AccessAllowedEvent.

Method Detail

getURL

public java.lang.String getURL()
Returns the URL to the page which was accessed.


getProfile

public Profile getProfile()
Returns the Profile representing the user who was allowed access.


setUpdatedItem

public void setUpdatedItem(RepositoryItem pValue)
The item whose updates should be commited after all the updates have been added to the item.

Specified by:
setUpdatedItem in interface RepositoryUpdateEvent

getUpdatedItem

public RepositoryItem getUpdatedItem()
The item whose updates should be commited after all the updates have been added to the item. Defaults to the profile property.

Specified by:
getUpdatedItem in interface RepositoryUpdateEvent

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object