The EventStateCollection class implements how {@link EventState}objects are created based on the {@link org.apache.jackrabbit.core.state.ItemState}s passed to the {@link #createEventStates} method. The basic sequence of method calls is:
{@link #createEventStates} or {@link #addAll} to create or add eventstates to the collection
{@link #prepare} or {@link #prepareDeleted} to prepare the events. Ifthis step is omitted, EventListeners might see events of deleted item they are not allowed to see.
{@link #dispatch()} to dispatch the events to the EventListeners.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.