Uses of Interface
org.apache.jackrabbit.spi.Batch
-
Packages that use Batch Package Description org.apache.jackrabbit.spi Defines the interfaces of the JCR SPI (Service Provider Interface).org.apache.jackrabbit.spi.commons org.apache.jackrabbit.spi.commons.batch org.apache.jackrabbit.spi.commons.logging org.apache.jackrabbit.spi2dav org.apache.jackrabbit.spi2davex org.apache.jackrabbit.spi2jcr -
-
Uses of Batch in org.apache.jackrabbit.spi
Methods in org.apache.jackrabbit.spi that return Batch Modifier and Type Method Description Batch
RepositoryService. createBatch(SessionInfo sessionInfo, ItemId itemId)
Indicates the start of a set of operations that cause modifications on the underlying persistence layer.Methods in org.apache.jackrabbit.spi with parameters of type Batch Modifier and Type Method Description Tree
RepositoryService. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
Creates a newTree
that can be populated and later on be applied to the specifiedBatch
by calling#setTree
.void
RepositoryService. submit(Batch batch)
Completes the givenBatch
or discard all the previous modifications. -
Uses of Batch in org.apache.jackrabbit.spi.commons
Classes in org.apache.jackrabbit.spi.commons that implement Batch Modifier and Type Class Description class
SerializableBatch
SerializableBatch
implements a serializable SPI Batch, which simply records all calls and replays them when asked for.Methods in org.apache.jackrabbit.spi.commons that return Batch Modifier and Type Method Description Batch
AbstractRepositoryService. createBatch(SessionInfo sessionInfo, ItemId itemId)
Methods in org.apache.jackrabbit.spi.commons with parameters of type Batch Modifier and Type Method Description Tree
AbstractRepositoryService. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
void
SerializableBatch.Operation. replay(Batch batch)
Replays this operation on the givenbatch
.void
SerializableBatch. replay(Batch batch)
Replays this batch on the givenbatch
.void
AbstractRepositoryService. submit(Batch batch)
-
Uses of Batch in org.apache.jackrabbit.spi.commons.batch
Subinterfaces of Batch in org.apache.jackrabbit.spi.commons.batch Modifier and Type Interface Description interface
ChangeLog
Classes in org.apache.jackrabbit.spi.commons.batch that implement Batch Modifier and Type Class Description class
AbstractChangeLog<T extends Operation>
This base class forChangeLog
implementations maintains a list of operations of type typeT
.class
ChangeLogImpl
ThisChangeLog
implementation simply keeps back all calls to itsBatch
methods as a list ofAbstractChangeLog.operations
(with item of typeOperation
).class
ConsolidatingChangeLog
Methods in org.apache.jackrabbit.spi.commons.batch that return Batch Modifier and Type Method Description Batch
AbstractChangeLog. apply(Batch batch)
This implementation applies each of the operation maintained by this change log to the passedbatch
.Batch
ChangeLog. apply(Batch batch)
Applies theOperation
s contained in this change log to the passedbatch
.Methods in org.apache.jackrabbit.spi.commons.batch with parameters of type Batch Modifier and Type Method Description Batch
AbstractChangeLog. apply(Batch batch)
This implementation applies each of the operation maintained by this change log to the passedbatch
.Batch
ChangeLog. apply(Batch batch)
Applies theOperation
s contained in this change log to the passedbatch
.void
Operation. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.AddNode. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.AddProperty. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.Empty. apply(Batch batch)
This method has no effect.void
Operations.Move. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.Remove. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.ReorderNodes. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.SetMixins. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.SetPrimaryType. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.SetTree. apply(Batch batch)
Apply this operation to the givenBatch
void
Operations.SetValue. apply(Batch batch)
Apply this operation to the givenBatch
-
Uses of Batch in org.apache.jackrabbit.spi.commons.logging
Classes in org.apache.jackrabbit.spi.commons.logging that implement Batch Modifier and Type Class Description class
BatchLogger
Log wrapper for aBatch
.Methods in org.apache.jackrabbit.spi.commons.logging that return Batch Modifier and Type Method Description static Batch
SpiLoggerFactory. create(Batch batch, LogWriterProvider logWriterProvider)
Returns a log wrapper for the givenbatch
which logs a calls to its methods iflogWriterProvider
returns aLogWriter
instance forbatch
.Batch
RepositoryServiceLogger. createBatch(SessionInfo sessionInfo, ItemId itemId)
Batch
BatchLogger. getBatch()
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type Batch Modifier and Type Method Description static Batch
SpiLoggerFactory. create(Batch batch, LogWriterProvider logWriterProvider)
Returns a log wrapper for the givenbatch
which logs a calls to its methods iflogWriterProvider
returns aLogWriter
instance forbatch
.Tree
RepositoryServiceLogger. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
LogWriter
LogWriterProvider. getLogWriter(Batch batch)
LogWriter
Slf4jLogWriterProvider. getLogWriter(Batch batch)
Returns aSlf4jLogWriter
if the logger forbatch.getClass()
has debug level enabled.LogWriter
WriterLogWriterProvider. getLogWriter(Batch batch)
Returns aWriterLogWriter
if the logger forbatch.getClass()
has debug level enabled.void
RepositoryServiceLogger. submit(Batch batch)
Constructors in org.apache.jackrabbit.spi.commons.logging with parameters of type Batch Constructor Description BatchLogger(Batch batch, LogWriter writer)
Create a new instance for the givenbatch
which useswriter
for persisting log messages. -
Uses of Batch in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav that return Batch Modifier and Type Method Description Batch
RepositoryServiceImpl. createBatch(SessionInfo sessionInfo, ItemId itemId)
Methods in org.apache.jackrabbit.spi2dav with parameters of type Batch Modifier and Type Method Description Tree
RepositoryServiceImpl. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
void
RepositoryServiceImpl. submit(Batch batch)
-
Uses of Batch in org.apache.jackrabbit.spi2davex
Methods in org.apache.jackrabbit.spi2davex that return Batch Modifier and Type Method Description Batch
RepositoryServiceImpl. createBatch(SessionInfo sessionInfo, ItemId itemId)
Methods in org.apache.jackrabbit.spi2davex with parameters of type Batch Modifier and Type Method Description Tree
RepositoryServiceImpl. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
void
RepositoryServiceImpl. submit(Batch batch)
-
Uses of Batch in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr that return Batch Modifier and Type Method Description Batch
RepositoryServiceImpl. createBatch(SessionInfo sessionInfo, ItemId itemId)
Indicates the start of a set of operations that cause modifications on the underlying persistence layer.Methods in org.apache.jackrabbit.spi2jcr with parameters of type Batch Modifier and Type Method Description Tree
RepositoryServiceImpl. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
void
RepositoryServiceImpl. submit(Batch batch)
Completes the givenBatch
or discard all the previous modifications.
-