Package | Description |
---|---|
org.nuxeo.ecm.core.storage | |
org.nuxeo.ecm.core.storage.dbs | |
org.nuxeo.ecm.core.storage.marklogic | |
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. |
static void |
StateHelper.resetDeltas(State state)
Changes the deltas stored into actual full values.
|
Modifier and Type | Field and Description |
---|---|
protected State |
DBSDocumentState.originalState
When non-null, the original state (otherwise the state hasn't been modified).
|
protected State |
DBSExpressionEvaluator.state |
protected State |
DBSDocumentState.state
The current state.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,State> |
DBSTransactionState.undoLog
Undo log.
|
Modifier and Type | Method and Description |
---|---|
protected State |
DBSDocument.getChild(State state,
String name,
Type type) |
protected State |
DBSDocument.getChildForWrite(State state,
String name,
Type type) |
State |
DBSDocumentState.getOriginalState()
Gets the original state for this, needed when creating an undo log.
|
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 |
DBSCachingRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
default State |
DBSRepository.readPartialState(String id,
Collection<String> keys)
Reads the partial state of a document.
|
State |
DBSCachingRepository.readPartialState(String id,
Collection<String> keys) |
State |
DBSRepository.readState(String id)
Reads the state of a document.
|
State |
DBSCachingRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
protected List<State> |
DBSDocument.getChildAsList(State state,
String name) |
Stream<State> |
DBSRepository.getDescendants(String id,
Set<String> keys)
Returns a stream of descendants from a given root document, in no particular order.
|
Stream<State> |
DBSCachingRepository.getDescendants(String id,
Set<String> keys) |
protected Stream<State> |
DBSTransactionState.getDescendants(String id,
Set<String> keys,
int limit) |
default Stream<State> |
DBSRepository.getDescendants(String id,
Set<String> keys,
int limit)
Returns a stream of descendants from a given root document, in no particular order.
|
Stream<State> |
DBSCachingRepository.getDescendants(String id,
Set<String> keys,
int limit) |
List<State> |
DBSRepository.queryKeyValue(String key,
Object value,
Set<String> ignored)
Queries the repository for documents having key = value.
|
List<State> |
DBSCachingRepository.queryKeyValue(String key,
Object value,
Set<String> ignored) |
List<State> |
DBSRepository.queryKeyValue(String key1,
Object value1,
String key2,
Object value2,
Set<String> ignored)
Queries the repository for documents having key1 = value1 and key2 = value2.
|
List<State> |
DBSCachingRepository.queryKeyValue(String key1,
Object value1,
String key2,
Object value2,
Set<String> ignored) |
List<State> |
DBSRepository.readStates(List<String> ids)
Reads the states of several documents.
|
List<State> |
DBSCachingRepository.readStates(List<String> ids) |
protected List<State> |
DBSDocument.updateList(State state,
String name,
Property property) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DBSExpressionEvaluator.checkSecurity(State state) |
void |
DBSRepository.createState(State state)
Creates a document.
|
void |
DBSCachingRepository.createState(State state) |
protected void |
DBSTransactionState.DirtyPathsFinder.findDirtyPaths(State value,
String path) |
protected void |
DBSTransactionState.FulltextFinder.findFulltext(String indexName,
State state,
List<String> strings) |
protected void |
DBSStateFlattener.flatten(Map<String,Serializable> map,
State state,
String prefix) |
Map<String,Serializable> |
DBSStateFlattener.flatten(State state)
Flattens with optional property key mappings.
|
protected State |
DBSDocument.getChild(State state,
String name,
Type type) |
protected List<State> |
DBSDocument.getChildAsList(State state,
String name) |
protected State |
DBSDocument.getChildForWrite(State state,
String name,
Type type) |
protected String[] |
DBSTransactionState.getReadACL(State state)
Gets the Read ACL (flat list of users having browse permission, including inheritance) on a document.
|
protected void |
DBSExpressionEvaluator.initializeValuesAndIterators(State state)
Initializes toplevel values and iterators for a given state.
|
List<Map<String,Serializable>> |
DBSExpressionEvaluator.matches(State state)
Returns the projection matches for a given state.
|
protected DBSDocumentState |
DBSTransactionState.newTransientState(State state)
New transient state for something just read from the repository.
|
protected void |
DBSDocument.updateList(State state,
String name,
Field field,
String xpath,
List<Object> values) |
protected List<State> |
DBSDocument.updateList(State state,
String name,
Property property) |
Modifier and Type | Method and Description |
---|---|
default void |
DBSRepository.createStates(List<State> states)
Creates documents.
|
void |
DBSCachingRepository.createStates(List<State> states) |
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 |
MarkLogicRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
State |
MarkLogicRepository.readPartialState(String id,
Collection<String> keys) |
State |
MarkLogicRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
protected Stream<State> |
MarkLogicRepository.findAll(String ctsQuery,
String... selects) |
Stream<State> |
MarkLogicRepository.getDescendants(String rootId,
Set<String> keys) |
Stream<State> |
MarkLogicRepository.getDescendants(String rootId,
Set<String> keys,
int limit) |
List<State> |
MarkLogicRepository.queryKeyValue(String key,
Object value,
Set<String> ignored) |
List<State> |
MarkLogicRepository.queryKeyValue(String key1,
Object value1,
String key2,
Object value2,
Set<String> ignored) |
List<State> |
MarkLogicRepository.readStates(List<String> ids) |
Modifier and Type | Method and Description |
---|---|
void |
MarkLogicRepository.createState(State state) |
protected void |
MarkLogicRepository.markReferencedBinaries(State state,
DocumentBlobManager blobManager) |
Modifier and Type | Method and Description |
---|---|
void |
MarkLogicRepository.createStates(List<State> states) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,State> |
MemRepository.states
The content of the repository, a map of document id -> object.
|
Modifier and Type | Method and Description |
---|---|
State |
MemRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
State |
MemRepository.readPartialState(String id,
Collection<String> keys) |
State |
MemRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
Stream<State> |
MemRepository.getDescendants(String rootId,
Set<String> keys) |
Stream<State> |
MemRepository.getDescendants(String rootId,
Set<String> keys,
int limit) |
List<State> |
MemRepository.queryKeyValue(String key,
Object value,
Set<String> ignored) |
List<State> |
MemRepository.queryKeyValue(String key1,
Object value1,
String key2,
Object value2,
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 . |
protected static void |
MemRepository.applyDiff(State state,
String key,
Serializable value)
Applies a key/value diff in-place onto a base
State . |
void |
MemRepository.createState(State state) |
protected static boolean |
MemRepository.hasAncestor(State state,
String id) |
protected void |
MemRepository.markReferencedBinaries(State state,
List<String> path,
int start,
DocumentBlobManager blobManager) |
Modifier and Type | Method and Description |
---|---|
State |
MongoDBConverter.bsonToState(org.bson.Document doc) |
protected State |
MongoDBRepository.findOne(org.bson.conversions.Bson filter) |
protected State |
MongoDBRepository.findOne(org.bson.conversions.Bson filter,
org.bson.conversions.Bson projection) |
State |
MongoDBRepository.readChildState(String parentId,
String name,
Set<String> ignored) |
State |
MongoDBRepository.readPartialState(String id,
Collection<String> keys) |
State |
MongoDBRepository.readState(String id) |
Modifier and Type | Method and Description |
---|---|
protected List<State> |
MongoDBRepository.findAll(org.bson.conversions.Bson filter) |
Stream<State> |
MongoDBRepository.getDescendants(String rootId,
Set<String> keys) |
Stream<State> |
MongoDBRepository.getDescendants(String rootId,
Set<String> keys,
int limit) |
List<State> |
MongoDBRepository.queryKeyValue(String key,
Object value,
Set<String> ignored) |
List<State> |
MongoDBRepository.queryKeyValue(String key1,
Object value1,
String key2,
Object value2,
Set<String> ignored) |
List<State> |
MongoDBRepository.readStates(List<String> ids) |
protected Stream<State> |
MongoDBRepository.stream(org.bson.conversions.Bson filter) |
protected Stream<State> |
MongoDBRepository.stream(org.bson.conversions.Bson filter,
org.bson.conversions.Bson projection) |
protected Stream<State> |
MongoDBRepository.stream(org.bson.conversions.Bson filter,
org.bson.conversions.Bson projection,
int limit)
Logs, runs request and constructs a closeable
Stream on top of MongoCursor . |
Modifier and Type | Method and Description |
---|---|
void |
MongoDBRepository.createState(State state) |
org.bson.Document |
MongoDBConverter.stateToBson(State state) |
Modifier and Type | Method and Description |
---|---|
void |
MongoDBRepository.createStates(List<State> states) |
Copyright © 2018 Nuxeo. All rights reserved.