Package | Description |
---|---|
org.nuxeo.ecm.core.storage | |
org.nuxeo.ecm.core.storage.dbs | |
org.nuxeo.ecm.core.storage.mem | |
org.nuxeo.ecm.core.storage.mongodb |
Modifier and Type | Class and Description |
---|---|
static class |
State.StateDiff
A diff for a
State . |
Modifier and Type | Field and Description |
---|---|
static State |
State.EMPTY |
Modifier and Type | Method and Description |
---|---|
static State |
StateHelper.deepCopy(State state)
Makes a deep copy of a
State map. |
static State |
StateHelper.deepCopy(State state,
boolean threadSafe)
Makes a deep copy of a
State map, optionally thread-safe. |
Modifier and Type | Method and Description |
---|---|
static State |
StateHelper.deepCopy(State state)
Makes a deep copy of a
State map. |
static State |
StateHelper.deepCopy(State state,
boolean threadSafe)
Makes a deep copy of a
State map, optionally thread-safe. |
static State.StateDiff |
StateHelper.diff(State a,
State b)
Makes a diff copy of two
State maps. |
static boolean |
StateHelper.equalsLoose(State a,
State b)
Compares two
State s. |
static boolean |
StateHelper.equalsStrict(State a,
State b)
Compares two
State s. |
abstract Object |
ExpressionEvaluator.evaluateReference(Reference ref,
State map)
Evaluates a reference over the given state.
|
static void |
StateHelper.resetDeltas(State state)
Changes the deltas stored into actual full values.
|
Modifier and Type | Method and Description |
---|---|
State |
DBSDocumentState.getState()
Gets the state.
|
State |
DBSTransactionState.getStateForRead(String id)
Returns a state which won't be modified.
|
State |
DBSRepository.readChildState(String parentId,
String name,
Set<String> ignored)
Reads the state of a child document.
|
State |
DBSRepository.readState(String id)
Reads the state of a document.
|
Modifier and Type | Method and Description |
---|---|
PartialList<State> |
DBSRepository.queryAndFetch(Expression expression,
DBSExpressionEvaluator evaluator,
OrderByClause orderByClause,
int limit,
int offset,
int countUpTo,
boolean deepCopy,
boolean fulltextScore)
Queries the repository for documents matching a query.
|
List<State> |
DBSRepository.queryKeyValue(String key,
String value,
Set<String> ignored)
Queries the repository for documents having key = value.
|
List<State> |
DBSRepository.readStates(List<String> ids)
Reads the states of several documents.
|
Modifier and Type | Method and Description |
---|---|
int |
DBSExpressionEvaluator.OrderByComparator.compare(State s1,
State s2) |
void |
DBSRepository.createState(State state)
Creates a document.
|
Object |
DBSExpressionEvaluator.evaluateReference(Reference ref,
State state) |
boolean |
DBSExpressionEvaluator.matches(State state) |
Constructor and Description |
---|
DBSDocumentState(State base)
Constructs a document state from the copy of an existing base state.
|
Modifier and Type | Method and Description |
---|---|
State |
MemRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
State |
MemRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
PartialList<State> |
MemRepository.queryAndFetch(Expression expression,
DBSExpressionEvaluator evaluator,
OrderByClause orderByClause,
int limit,
int offset,
int countUpTo,
boolean deepCopy,
boolean fulltextScore) |
List<State> |
MemRepository.queryKeyValue(String key,
String value,
Set<String> ignored) |
List<State> |
MemRepository.readStates(List<String> ids) |
Modifier and Type | Method and Description |
---|---|
static void |
MemRepository.applyDiff(State state,
State.StateDiff stateDiff)
Applies a
State.StateDiff in-place onto a base State . |
void |
MemRepository.createState(State state) |
Modifier and Type | Method and Description |
---|---|
State |
MongoDBRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
State |
MongoDBRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
PartialList<State> |
MongoDBRepository.queryAndFetch(Expression expression,
DBSExpressionEvaluator evaluator,
OrderByClause orderByClause,
int limit,
int offset,
int countUpTo,
boolean deepCopy,
boolean fulltextScore) |
List<State> |
MongoDBRepository.queryKeyValue(String key,
String value,
Set<String> ignored) |
List<State> |
MongoDBRepository.readStates(List<String> ids) |
Modifier and Type | Method and Description |
---|---|
void |
MongoDBRepository.createState(State state) |
Copyright © 2015 Nuxeo SA. All rights reserved.