Package | Description |
---|---|
org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
org.apache.jackrabbit.core.cluster | |
org.apache.jackrabbit.core.observation | |
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryImpl.WorkspaceInfo.externalUpdate(ChangeLog external,
List<EventState> events,
long timestamp,
String userData)
Handle an external update.
|
Modifier and Type | Method and Description |
---|---|
List<EventState> |
Update.getEvents()
Return the collection of events this update operation will
generate.
|
List<EventState> |
ChangeLogRecord.getEvents()
Return the events.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateEventListener.externalUpdate(ChangeLog changes,
List<EventState> events,
long timestamp,
String userData)
Handle an external update.
|
Constructor and Description |
---|
ChangeLogRecord(ChangeLog changes,
List<EventState> events,
Record record,
String workspace,
long timestamp,
String userData)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.nodeMoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeMovedWithInfo(NodeId parentId,
Path destPath,
NodeId childId,
Path srcPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeReordered(NodeId parentId,
Path parentPath,
NodeId childId,
Path destChildPath,
Path srcChildPath,
Path beforeChildPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.persist(Session session,
boolean external)
Creates a new
Event of type
Event.PERSIST . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
Modifier and Type | Method and Description |
---|---|
List<EventState> |
EventStateCollection.getEvents()
Return the list of events.
|
Modifier and Type | Method and Description |
---|---|
void |
EventStateCollection.addAll(Collection<EventState> c)
Adds all event states in the given collection to this collection
|
void |
DelegatingObservationDispatcher.dispatch(List<EventState> eventList,
SessionImpl session,
Path pathPrefix,
String userData)
Dispatchers a list of events to all registered dispatchers.
|
static String |
EventState.getCommonPath(List<EventState> events,
SessionImpl session)
Get the longest common path of all event state paths.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalVersionManagerImpl.externalUpdate(ChangeLog changes,
List<EventState> events,
long timestamp,
String userData)
Handle an external update.
|
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.