|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi.commons.EventBundleImpl
public class EventBundleImpl
EventBundleImpl
implements a serializable EventBundle
.
Constructor Summary | |
---|---|
EventBundleImpl(Collection events,
boolean isLocal)
Creates a new event bundle with events . |
Method Summary | |
---|---|
Iterator |
getEvents()
Returns the events of this bundle. |
boolean |
isLocal()
Returns true if this event bundle is associated with a
change that was initiated by a local session info. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBundleImpl(Collection events, boolean isLocal)
events
.
events
- the events for this bundle.isLocal
- if this events were created due to a local change.Method Detail |
---|
public Iterator getEvents()
getEvents
in interface EventBundle
events
of this bundle.public boolean isLocal()
true
if this event bundle is associated with a
change that was initiated by a local session info. Event bundles for
external changes will aways return false
.
isLocal
in interface EventBundle
true
if this event bundle is associated with a local
change, false
if this event bundle contains external
changes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |