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 StateMakes a deep copy of aStatemap.static StateMakes a deep copy of aStatemap, optionally thread-safe.Methods in org.nuxeo.ecm.core.storage with parameters of type StateModifier and TypeMethodDescriptionstatic StateMakes a deep copy of aStatemap.static StateMakes a deep copy of aStatemap, optionally thread-safe.static State.StateDiffMakes a diff copy of twoStatemaps.static booleanStateHelper.equalsLoose(State a, State b) Compares twoStates.static booleanStateHelper.equalsStrict(State a, State b) Compares twoStates.static voidStateHelper.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 StateDBSDocumentState.originalStateWhen non-null, the original state (otherwise the state hasn't been modified).protected StateDBSDocumentState.stateThe current state.protected StateDBSExpressionEvaluator.stateFields in org.nuxeo.ecm.core.storage.dbs with type parameters of type StateModifier and TypeFieldDescriptionDBSCachingRepository.cacheDBSTransactionState.undoLogUndo log.Methods in org.nuxeo.ecm.core.storage.dbs that return StateModifier and TypeMethodDescriptionprotected Stateprotected StateDBSDocument.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 StateDBSTransactionState.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 StateDBSConnection.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 booleanDBSExpressionEvaluator.checkSecurity(State state) voidDBSCachingConnection.createState(State state) voidDBSConnection.createState(State state) Creates a document.DBSTransactionState.BlobKeysFinder.findBlobKeys(State state) protected voidDBSTransactionState.BlobKeysFinder.findBlobKeys(State state, List<String> path, int start) protected voidDBSTransactionState.DirtyPathsFinder.findDirtyPaths(State value, String path) protected voidFlattens with optional property key mappings.protected StateDBSDocument.getChildAsList(State state, String name) protected StateDBSDocument.getChildForWrite(State state, String name, Type type) protected String[]DBSTransactionState.getReadACL(State state) Deprecated.protected voidDBSExpressionEvaluator.initializeValuesAndIterators(State state) Initializes toplevel values and iterators for a given state.Returns the projection matches for a given state.protected StateDBSTransactionState.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 DBSDocumentStateDBSTransactionState.newTransientState(State state) New transient state for something just read from the repository.DBSDocument.updateList(State state, String name, Property property) protected voidMethod parameters in org.nuxeo.ecm.core.storage.dbs with type arguments of type StateModifier and TypeMethodDescriptionvoidDBSCachingConnection.createStates(List<State> states) default voidDBSConnection.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.statesMemRepository.statesThe 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 voidMemConnection.applyDiff(State state, String key, Serializable value) Applies a key/value diff in-place onto a baseState.static voidMemConnection.applyDiff(State state, State.StateDiff stateDiff) Applies aState.StateDiffin-place onto a baseState.voidMemConnection.createState(State state) protected static booleanMemConnection.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 TypeMethodDescriptionMongoDBRepositoryConverter.bsonToState(org.bson.Document doc) protected StateMongoDBConnection.findOne(org.bson.conversions.Bson filter) protected StateMongoDBConnection.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 closeableStreamon top ofMongoCursor.Methods in org.nuxeo.ecm.core.storage.mongodb with parameters of type StateModifier and TypeMethodDescriptionvoidMongoDBConnection.createState(State state) org.bson.DocumentMongoDBRepositoryConverter.stateToBson(State state) Method parameters in org.nuxeo.ecm.core.storage.mongodb with type arguments of type State
DBSTransactionState.materializedKeys(State)instead