Uses of Class
org.nuxeo.ecm.core.storage.State
Packages that use State
Package
Description
-
Uses of State in org.nuxeo.directory.mongodb
Methods in org.nuxeo.directory.mongodb with parameters of type State -
Uses of State in org.nuxeo.ecm.core.storage
Subclasses of State in org.nuxeo.ecm.core.storageFields in org.nuxeo.ecm.core.storage declared as StateMethods in org.nuxeo.ecm.core.storage that return StateModifier and TypeMethodDescriptionstatic State
Makes a deep copy of aState
map.static State
Makes a deep copy of aState
map, optionally thread-safe.Methods in org.nuxeo.ecm.core.storage with parameters of type StateModifier and TypeMethodDescriptionstatic State
Makes a deep copy of aState
map.static State
Makes a deep copy of aState
map, optionally thread-safe.static State.StateDiff
Makes a diff copy of twoState
maps.static boolean
StateHelper.equalsLoose
(State a, State b) Compares twoState
s.static boolean
StateHelper.equalsStrict
(State a, State b) Compares twoState
s.static void
StateHelper.resetDeltas
(State state) Changes the deltas stored into actual full values. -
Uses of State in org.nuxeo.ecm.core.storage.dbs
Fields in org.nuxeo.ecm.core.storage.dbs declared as StateModifier and TypeFieldDescriptionprotected State
DBSDocumentState.originalState
When non-null, the original state (otherwise the state hasn't been modified).protected State
DBSDocumentState.state
The current state.protected State
DBSExpressionEvaluator.state
Fields in org.nuxeo.ecm.core.storage.dbs with type parameters of type StateModifier and TypeFieldDescriptionDBSCachingRepository.cache
DBSTransactionState.undoLog
Undo log.Methods in org.nuxeo.ecm.core.storage.dbs that return StateModifier and TypeMethodDescriptionprotected State
protected State
DBSDocument.getChildForWrite
(State state, String name, Type type) DBSDocumentState.getOriginalState()
Gets the original state for this, needed when creating an undo log.DBSDocumentState.getState()
Gets the state.DBSTransactionState.getStateForRead
(String id) Returns a state which won't be modified.protected State
DBSTransactionState.materializedKeys
(State state) Returns materialized keys for a state: - Read ACL (flat list of users having browse permission, including inheritance) on a document - Ancestor idsDBSCachingConnection.readChildState
(String parentId, String name, Set<String> ignored) DBSConnection.readChildState
(String parentId, String name, Set<String> ignored) Reads the state of a child document.DBSCachingConnection.readPartialState
(String id, Collection<String> keys) default State
DBSConnection.readPartialState
(String id, Collection<String> keys) Reads the partial state of a document.Reads the state of a document.Methods in org.nuxeo.ecm.core.storage.dbs that return types with arguments of type StateModifier and TypeMethodDescriptionDBSCachingRepository.getCache()
DBSDocument.getChildAsList
(State state, String name) DBSCachingConnection.getDescendants
(String id, Set<String> keys) DBSCachingConnection.getDescendants
(String id, Set<String> keys, int limit) DBSConnection.getDescendants
(String id, Set<String> keys) Returns a stream of descendants from a given root document, in no particular order.DBSConnection.getDescendants
(String id, Set<String> keys, int limit) Returns a stream of descendants from a given root document, in no particular order.DBSTransactionState.getDescendants
(String id, Set<String> keys, int limit) DBSCachingRepository.newCache
(boolean metrics) DBSCachingConnection.queryKeyValue
(String key1, Object value1, String key2, Object value2, Set<String> ignored) DBSCachingConnection.queryKeyValue
(String key, Object value, Set<String> ignored) DBSConnection.queryKeyValue
(String key1, Object value1, String key2, Object value2, Set<String> ignored) Queries the repository for documents having key1 = value1 and key2 = value2.DBSConnection.queryKeyValue
(String key, Object value, Set<String> ignored) Queries the repository for documents having key = value.DBSCachingConnection.queryKeyValueWithOperator
(String key1, Object value1, String key2, DBSConnection.DBSQueryOperator operator, Object value2, Set<String> ignored) DBSConnection.queryKeyValueWithOperator
(String key1, Object value1, String key2, DBSConnection.DBSQueryOperator operator, Object value2, Set<String> ignored) Queries the repository for documents having key1 = value1 and key2 ${operator} value2.DBSCachingConnection.readStates
(List<String> ids) DBSConnection.readStates
(List<String> ids) Reads the states of several documents.DBSDocument.updateList
(State state, String name, Property property) Methods in org.nuxeo.ecm.core.storage.dbs with parameters of type StateModifier and TypeMethodDescriptionprotected boolean
DBSExpressionEvaluator.checkSecurity
(State state) void
DBSCachingConnection.createState
(State state) void
DBSConnection.createState
(State state) Creates a document.DBSTransactionState.BlobKeysFinder.findBlobKeys
(State state) protected void
DBSTransactionState.BlobKeysFinder.findBlobKeys
(State state, List<String> path, int start) protected void
DBSTransactionState.DirtyPathsFinder.findDirtyPaths
(State value, String path) protected void
Flattens with optional property key mappings.protected State
DBSDocument.getChildAsList
(State state, String name) protected State
DBSDocument.getChildForWrite
(State state, String name, Type type) protected String[]
DBSTransactionState.getReadACL
(State state) Deprecated.protected void
DBSExpressionEvaluator.initializeValuesAndIterators
(State state) Initializes toplevel values and iterators for a given state.Returns the projection matches for a given state.protected State
DBSTransactionState.materializedKeys
(State state) Returns materialized keys for a state: - Read ACL (flat list of users having browse permission, including inheritance) on a document - Ancestor idsprotected DBSDocumentState
DBSTransactionState.newTransientState
(State state) New transient state for something just read from the repository.DBSDocument.updateList
(State state, String name, Property property) protected void
Method parameters in org.nuxeo.ecm.core.storage.dbs with type arguments of type StateModifier and TypeMethodDescriptionvoid
DBSCachingConnection.createStates
(List<State> states) default void
DBSConnection.createStates
(List<State> states) Creates documents.Constructors in org.nuxeo.ecm.core.storage.dbs with parameters of type StateModifierConstructorDescriptionDBSDocumentState
(State base) Constructs a document state from the copy of an existing base state. -
Uses of State in org.nuxeo.ecm.core.storage.mem
Fields in org.nuxeo.ecm.core.storage.mem with type parameters of type StateModifier and TypeFieldDescriptionMemConnection.states
MemRepository.states
The content of the repository, a map of document id -> object.Methods in org.nuxeo.ecm.core.storage.mem that return StateModifier and TypeMethodDescriptionMemConnection.readChildState
(String parentId, String name, Set<String> ignored) MemConnection.readPartialState
(String id, Collection<String> keys) Methods in org.nuxeo.ecm.core.storage.mem that return types with arguments of type StateModifier and TypeMethodDescriptionMemConnection.getDescendants
(String rootId, Set<String> keys) MemConnection.getDescendants
(String rootId, Set<String> keys, int limit) MemConnection.queryKeyValue
(String key1, Object value1, String key2, Object value2, Set<String> ignored) MemConnection.queryKeyValue
(String key, Object value, Set<String> ignored) MemConnection.queryKeyValueWithOperator
(String key1, Object value1, String key2, DBSConnection.DBSQueryOperator operator, Object value2, Set<String> ignored) MemConnection.readStates
(List<String> ids) Methods in org.nuxeo.ecm.core.storage.mem with parameters of type StateModifier and TypeMethodDescriptionprotected static void
MemConnection.applyDiff
(State state, String key, Serializable value) Applies a key/value diff in-place onto a baseState
.static void
MemConnection.applyDiff
(State state, State.StateDiff stateDiff) Applies aState.StateDiff
in-place onto a baseState
.void
MemConnection.createState
(State state) protected static boolean
MemConnection.hasAncestor
(State state, String id) -
Uses of State in org.nuxeo.ecm.core.storage.mongodb
Methods in org.nuxeo.ecm.core.storage.mongodb that return StateModifier and TypeMethodDescriptionMongoDBConverter.bsonToState
(org.bson.Document doc) protected State
MongoDBConnection.findOne
(org.bson.conversions.Bson filter) protected State
MongoDBConnection.findOne
(org.bson.conversions.Bson filter, org.bson.conversions.Bson projection) MongoDBConnection.readChildState
(String parentId, String name, Set<String> ignored) MongoDBConnection.readPartialState
(String id, Collection<String> keys) Methods in org.nuxeo.ecm.core.storage.mongodb that return types with arguments of type StateModifier and TypeMethodDescriptionMongoDBConnection.findAll
(org.bson.conversions.Bson filter) MongoDBConnection.getDescendants
(String rootId, Set<String> keys) MongoDBConnection.getDescendants
(String rootId, Set<String> keys, int limit) MongoDBConnection.queryKeyValue
(String key1, Object value1, String key2, Object value2, Set<String> ignored) MongoDBConnection.queryKeyValue
(String key, Object value, Set<String> ignored) MongoDBConnection.queryKeyValueWithOperator
(String key1, Object value1, String key2, DBSConnection.DBSQueryOperator operator, Object value2, Set<String> ignored) MongoDBConnection.readStates
(List<String> ids) MongoDBConnection.stream
(org.bson.conversions.Bson filter) MongoDBConnection.stream
(org.bson.conversions.Bson filter, org.bson.conversions.Bson projection) MongoDBConnection.stream
(org.bson.conversions.Bson filter, org.bson.conversions.Bson projection, int limit) Logs, runs request and constructs a closeableStream
on top ofMongoCursor
.Methods in org.nuxeo.ecm.core.storage.mongodb with parameters of type StateModifier and TypeMethodDescriptionvoid
MongoDBConnection.createState
(State state) org.bson.Document
MongoDBConverter.stateToBson
(State state) Method parameters in org.nuxeo.ecm.core.storage.mongodb with type arguments of type State
DBSTransactionState.materializedKeys(State)
instead