|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.observation.EventImpl
public final class EventImpl
Implementation of the Event and
the JackrabbitEvent interface.
| Field Summary |
|---|
| Fields inherited from interface javax.jcr.observation.Event |
|---|
NODE_ADDED, NODE_REMOVED, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this Event is equal to another
object. |
NodeId |
getChildId()
Returns the id of a child node operation. |
NodeId |
getParentId()
Returns the uuid of the parent node. |
java.lang.String |
getPath()
|
Path |
getQPath()
Returns the qualified path of this event. |
int |
getType()
|
java.lang.String |
getUserID()
|
int |
hashCode()
|
boolean |
isExternal()
Return a flag indicating whether this is an externally generated event. |
java.lang.String |
toString()
Returns a String representation of this Event. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getType()
getType in interface javax.jcr.observation.Event
public java.lang.String getPath()
throws javax.jcr.RepositoryException
getPath in interface javax.jcr.observation.Eventjavax.jcr.RepositoryExceptionpublic java.lang.String getUserID()
getUserID in interface javax.jcr.observation.Event
public Path getQPath()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if the path can't be constructedpublic NodeId getParentId()
public NodeId getChildId()
Event was generated for a property
operation this method returns null.
public boolean isExternal()
isExternal in interface JackrabbitEventtrue if this is an external event;
false otherwiseJackrabbitEvent.isExternal()public java.lang.String toString()
Event.
toString in class java.lang.ObjectEvent.public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
true if this Event is equal to another
object.
Two Event instances are equal if their respective
EventState instances are equal and both Event
instances are intended for the same Session that registerd
the EventListener.
equals in class java.lang.Objectobj - the reference object with which to compare.
true if this Event is equal to another
object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||