public class AccessAllowedEvent extends java.lang.Object implements RepositoryUpdateEvent
An event that gets fired when a user is allowed access to a page.
AccessControlServlet
,
AccessAllowedListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
AccessAllowedEvent(java.lang.String pURL,
Profile pProfile)
Constructs a new AccessAllowedEvent.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AccessAllowedEvent(java.lang.String pURL, Profile pProfile)
public java.lang.String getURL()
public Profile getProfile()
public void setUpdatedItem(RepositoryItem pValue)
setUpdatedItem
in interface RepositoryUpdateEvent
public RepositoryItem getUpdatedItem()
getUpdatedItem
in interface RepositoryUpdateEvent
public java.lang.String toString()
toString
in class java.lang.Object