|
||||||||||
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_MOVED, NODE_REMOVED, PERSIST, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns true if this Event is equal to another
object. |
NodeId |
getChildId()
Returns the id of a child node operation. |
long |
getDate()
|
String |
getIdentifier()
|
Map<String,String> |
getInfo()
|
NodeId |
getParentId()
Returns the uuid of the parent node. |
String |
getPath()
|
Path |
getQPath()
Returns the Path of this event. |
int |
getType()
|
String |
getUserData()
|
String |
getUserID()
|
int |
hashCode()
|
boolean |
isExternal()
Return a flag indicating whether this is an externally generated event. |
boolean |
isShareableChildNode()
Returns a flag indicating whether the child node of this event is a shareable node. |
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 Event
public String getPath() throws RepositoryException
getPath
in interface Event
RepositoryException
public String getUserID()
getUserID
in interface Event
public long getDate()
getDate
in interface Event
public String getUserData()
getUserData
in interface Event
public String getIdentifier() throws RepositoryException
getIdentifier
in interface Event
RepositoryException
public Map<String,String> getInfo() throws RepositoryException
getInfo
in interface Event
RepositoryException
public Path getQPath() throws RepositoryException
Path
of this event.
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 isShareableChildNode()
true
for a shareable child node, false
otherwise.public boolean isExternal()
isExternal
in interface JackrabbitEvent
true
if this is an external event;
false
otherwiseJackrabbitEvent.isExternal()
public String toString()
Event
.
toString
in class Object
Event
.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(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 Object
obj
- 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 |