Package | Description |
---|---|
org.nuxeo.ecm.core.opencmis.impl.server | |
org.nuxeo.ecm.core.storage | |
org.nuxeo.ecm.core.storage.sql |
Implementation of a Nuxeo repository over an SQL database.
|
org.nuxeo.ecm.core.storage.sql.jdbc | |
org.nuxeo.ecm.core.storage.sql.jdbc.dialect |
Database
Dialect s implementations;
a Dialect encapsulates knowledge about database-specific behavior. |
org.nuxeo.ecm.core.storage.sql.management |
Simple MBean to report the status of a SQL repository.
|
org.nuxeo.ecm.core.storage.sql.ra | |
org.nuxeo.ecm.platform.tag |
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
CMISQLQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String statement,
QueryFilter queryFilter,
Object... params)
Builds the query.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentUpdateStorageException
A storage exception thrown if a concurrent update was detected.
|
class |
ConnectionResetException
A storage exception thrown if the connection was reset (and should be working again).
|
Modifier and Type | Method and Description |
---|---|
Node |
SessionImpl.addChildNode(Node parent,
String name,
Long pos,
String typeName,
boolean complexProp) |
Node |
Session.addChildNode(Node parent,
String name,
Long pos,
String typeName,
boolean complexProp)
Creates a new child node.
|
Node |
SessionImpl.addChildNode(Serializable id,
Node parent,
String name,
Long pos,
String typeName,
boolean complexProp) |
Node |
Session.addChildNode(Serializable id,
Node parent,
String name,
Long pos,
String typeName,
boolean complexProp)
Creates a new child node with given id (used for import).
|
void |
PersistenceContext.addedProxyTarget(SimpleFragment fragment) |
boolean |
SessionImpl.addMixinType(Node node,
String mixin) |
boolean |
Session.addMixinType(Node node,
String mixin)
Adds a mixin to a node.
|
Node |
SessionImpl.addProxy(Serializable targetId,
Serializable versionableId,
Node parent,
String name,
Long pos) |
Node |
Session.addProxy(Serializable targetId,
Serializable versionSeriesId,
Node parent,
String name,
Long pos)
Creates a proxy for a version node.
|
boolean |
SelectionContext.applicable(SimpleFragment fragment) |
QueryMaker.Query |
CapturingQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
Node |
SessionImpl.checkIn(Node node,
String label,
String checkinComment) |
Node |
Session.checkIn(Node node,
String label,
String checkinComment)
Checks in a checked-out node: creates a new version with a copy of its information.
|
Serializable |
PersistenceContext.checkIn(Node node,
String label,
String checkinComment)
Checks in a node (creates a version).
|
void |
SessionImpl.checkOut(Node node) |
void |
Session.checkOut(Node node)
Checks out a checked-in node.
|
void |
PersistenceContext.checkOut(Node node)
Checks out a node.
|
void |
SessionImpl.checkPermission(String absPath,
String actions) |
int |
UnifiedCachingMapper.cleanupDeletedRows(int max,
Calendar beforeTime) |
int |
SoftRefCachingMapper.cleanupDeletedRows(int max,
Calendar beforeTime) |
int |
Mapper.cleanupDeletedRows(int max,
Calendar beforeTime)
Cleans up (hard-delete) any rows that have been soft-deleted in the database.
|
void |
UnifiedCachingRowMapper.close() |
void |
UnifiedCachingMapper.close() |
void |
SoftRefCachingRowMapper.close() |
void |
SoftRefCachingMapper.close() |
void |
RepositoryImpl.close() |
void |
Repository.close()
Closes the repository and release all resources.
|
void |
Mapper.close() |
void |
UnifiedCachingMapper.connect() |
void |
SoftRefCachingMapper.connect() |
void |
Mapper.connect() |
Node |
SessionImpl.copy(Node source,
Node parent,
String name) |
Node |
Session.copy(Node source,
Node parent,
String name)
Copies a node to a new location with a new name.
|
Serializable |
PersistenceContext.copy(Node source,
Serializable parentId,
String name)
Copy a child to a new parent with a new name.
|
RowMapper.CopyResult |
UnifiedCachingRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
RowMapper.CopyResult |
SoftRefCachingRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
RowMapper.CopyResult |
RowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow)
Copies the hierarchy starting from a given row to a new parent with a new name.
|
String |
UnifiedCachingMapper.createClusterNode() |
String |
SoftRefCachingMapper.createClusterNode() |
String |
Mapper.createClusterNode()
Informs the cluster that this node exists.
|
void |
UnifiedCachingMapper.createDatabase() |
void |
SoftRefCachingMapper.createDatabase() |
void |
Mapper.createDatabase()
Creates the necessary structures in the database.
|
void |
PersistenceContext.createdProxyFragment(SimpleFragment fragment) |
SimpleFragment |
PersistenceContext.createHierarchyFragment(Row row) |
Serializable |
UnifiedCachingRowMapper.generateNewId() |
Serializable |
SoftRefCachingRowMapper.generateNewId() |
Serializable |
RowMapper.generateNewId()
Computes a new unique id.
|
Serializable[] |
CollectionFragment.get()
Gets the collection value.
|
Serializable |
SimpleFragment.get(String key)
Gets a value by key.
|
Set<Serializable> |
UnifiedCachingMapper.getAncestorsIds(Collection<Serializable> ids) |
Set<Serializable> |
SoftRefCachingMapper.getAncestorsIds(Collection<Serializable> ids) |
Set<Serializable> |
Mapper.getAncestorsIds(Collection<Serializable> ids)
Gets the ids for all the ancestors of the given row ids.
|
Map<String,String> |
UnifiedCachingRowMapper.getBinaryFulltext(RowId rowId) |
Map<String,String> |
SoftRefCachingRowMapper.getBinaryFulltext(RowId rowId) |
Map<String,String> |
RowMapper.getBinaryFulltext(RowId rowId)
Gets the fulltext extracted from the binary fields.
|
Map<String,String> |
SessionImpl.getBinaryFulltext(Serializable id) |
Map<String,String> |
Session.getBinaryFulltext(Serializable id)
Gets the fulltext extracted from the binary fields.
|
SimpleFragment |
PersistenceContext.getChildHierByName(Serializable parentId,
String name,
boolean complexProp) |
Node |
SessionImpl.getChildNode(Node parent,
String name,
boolean complexProp) |
Node |
Session.getChildNode(Node parent,
String name,
boolean complexProp)
Gets a child node given its parent and name.
|
List<Node> |
SessionImpl.getChildren(Node parent,
String name,
boolean complexProp) |
List<Node> |
Session.getChildren(Node parent,
String name,
boolean complexProp)
Gets the children of a node.
|
List<SimpleFragment> |
PersistenceContext.getChildren(Serializable parentId,
String name,
boolean complexProp)
Gets hier fragments for children.
|
Invalidations |
UnifiedCachingMapper.getClusterInvalidations(String nodeId) |
Invalidations |
SoftRefCachingMapper.getClusterInvalidations(String nodeId) |
Invalidations |
Mapper.getClusterInvalidations(String nodeId)
Gets the invalidations from other cluster nodes.
|
CollectionProperty |
Node.getCollectionProperty(String name)
Gets a collection property from the node, given its name.
|
SessionImpl |
RepositoryImpl.getConnection()
Gets a new connection.
|
Session |
Repository.getConnection()
Gets a new connection by logging in to the repository with default credentials.
|
SessionImpl |
RepositoryImpl.getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Gets a new connection.
|
Session |
Repository.getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Gets a new connection by logging in to the repository with given connection information (credentials).
|
Serializable |
PersistenceContext.getContainingDocument(Serializable id)
Finds the id of the enclosing non-complex-property node.
|
Mapper.Identification |
UnifiedCachingMapper.getIdentification() |
Mapper.Identification |
SoftRefCachingMapper.getIdentification() |
Mapper.Identification |
Mapper.getIdentification()
Returns the repository id and mapper id assigned.
|
Serializable |
Session.PathResolver.getIdForPath(String path)
Returns the node id for a given path.
|
Serializable |
RepositoryImpl.SessionPathResolver.getIdForPath(String path) |
Node |
SessionImpl.getLastVersion(Serializable versionSeriesId) |
Node |
Session.getLastVersion(Serializable versionSeriesId)
Gets the last version for a given version series id.
|
Lock |
UnifiedCachingMapper.getLock(Serializable id) |
Lock |
SoftRefCachingMapper.getLock(Serializable id) |
Lock |
Mapper.getLock(Serializable id)
Gets the lock state of a document.
|
Long |
SimpleProperty.getLong() |
Mapper |
Session.getMapper()
Gets the low-level Mapper for this session.
|
Model |
Session.getModel()
Gets the
Model associated to this session. |
List<Fragment> |
PersistenceContext.getMulti(Collection<RowId> rowIds,
boolean allowAbsent)
Gets a list of fragments.
|
Long |
PersistenceContext.getNextPos(Serializable nodeId,
boolean complexProp)
Gets the next pos value for a new child in a folder.
|
Node |
SessionImpl.getNodeById(Serializable id) |
Node |
Session.getNodeById(Serializable id)
Gets a node given its id.
|
Node |
SessionImpl.getNodeByPath(String path,
Node node) |
Node |
Session.getNodeByPath(String path,
Node node)
Gets a node given its absolute path, or given an existing node and a relative path.
|
List<Node> |
SessionImpl.getNodesByIds(List<Serializable> ids) |
List<Node> |
Session.getNodesByIds(List<Serializable> ids)
Gets several nodes given their ids.
|
List<Node> |
SessionImpl.getNodesByIds(List<Serializable> ids,
boolean prefetch) |
Node |
SessionImpl.getParentNode(Node node) |
Node |
Session.getParentNode(Node node)
Gets the parent of a node.
|
String |
SessionImpl.getPath(Node node) |
String |
Session.getPath(Node node)
Gets the absolute path of a node.
|
String |
PersistenceContext.getPath(SimpleFragment hierFragment)
Gets the path by recursing up the hierarchy.
|
PersistenceContext.PathAndId |
PersistenceContext.getPathOrMissingParentId(SimpleFragment hierFragment,
boolean fetch)
Gets the full path, or the closest parent id which we don't have in cache.
|
List<Node> |
SessionImpl.getProxies(Node document,
Node parent) |
List<Node> |
Session.getProxies(Node document,
Node parent)
Finds the proxies for a document.
|
String |
Session.getRepositoryName()
Gets the session repository name.
|
Serializable |
UnifiedCachingMapper.getRootId(String repositoryId) |
Serializable |
SoftRefCachingMapper.getRootId(String repositoryId) |
Serializable |
Mapper.getRootId(String repositoryId)
Gets the root id for a given repository, if registered.
|
Node |
Session.getRootNode()
Gets the root node of the repository.
|
SimpleFragment |
SelectionContext.getSelectionFragment(Serializable selId,
String filter)
Find a fragment given its selection id and value.
|
List<SimpleFragment> |
SelectionContext.getSelectionFragments(Serializable selId,
String filter)
Finds all the selection fragments for a given id.
|
List<Serializable> |
PersistenceContext.getSeriesProxyIds(Serializable versionSeriesId) |
SimpleProperty |
Node.getSimpleProperty(String name)
Gets a simple property from the node, given its name.
|
String |
SimpleProperty.getString() |
String |
SimpleFragment.getString(String key)
Returns a
String value. |
String[] |
CollectionProperty.getStrings() |
int |
UnifiedCachingMapper.getTableSize(String tableName) |
int |
SoftRefCachingMapper.getTableSize(String tableName) |
int |
Mapper.getTableSize(String tableName) |
List<Serializable> |
PersistenceContext.getTargetProxyIds(Serializable targetId) |
Serializable |
SimpleProperty.getValue() |
Serializable[] |
CollectionProperty.getValue() |
Node |
SessionImpl.getVersionByLabel(Serializable versionSeriesId,
String label) |
Node |
Session.getVersionByLabel(Serializable versionSeriesId,
String label)
Gets a version given its version series id and label.
|
List<Serializable> |
PersistenceContext.getVersionIds(Serializable versionSeriesId)
Gets the version ids for a version series, ordered by creation time.
|
List<Node> |
SessionImpl.getVersions(Serializable versionSeriesId) |
List<Node> |
Session.getVersions(Serializable versionSeriesId)
Gets all the versions for a given version series id.
|
boolean |
SessionImpl.hasChildNode(Node parent,
String name,
boolean complexProp) |
boolean |
Session.hasChildNode(Node parent,
String name,
boolean complexProp)
Checks if a child node with the given name exists.
|
boolean |
SessionImpl.hasChildren(Node parent,
boolean complexProp) |
boolean |
Session.hasChildren(Node parent,
boolean complexProp)
Checks it a node has children.
|
boolean |
SessionImpl.hasPendingChanges() |
void |
RepositoryBackend.initialize(RepositoryImpl repository)
Initializer.
|
void |
RepositoryBackend.initializeModel(Model model)
Initializes what's needed after the
Model has been created. |
void |
RepositoryBackend.initializeModelSetup(ModelSetup modelSetup)
Initializes the
ModelSetup . |
void |
UnifiedCachingMapper.insertClusterInvalidations(Invalidations invalidations,
String nodeId) |
void |
SoftRefCachingMapper.insertClusterInvalidations(Invalidations invalidations,
String nodeId) |
void |
Mapper.insertClusterInvalidations(Invalidations invalidations,
String nodeId)
Inserts the invalidation rows for the other cluster nodes.
|
boolean |
PersistenceContext.isDeleted(Serializable id)
Recursively checks if any of a fragment's parents has been deleted.
|
void |
UnifiedCachingMapper.markReferencedBinaries(BinaryGarbageCollector gc) |
void |
SoftRefCachingMapper.markReferencedBinaries(BinaryGarbageCollector gc) |
void |
Mapper.markReferencedBinaries(BinaryGarbageCollector gc)
Marks the binaries referenced by this mapper with the referenced binary garbage collector.
|
Node |
SessionImpl.move(Node source,
Node parent,
String name) |
Node |
Session.move(Node source,
Node parent,
String name)
Moves a node to a new location with a new name.
|
void |
PersistenceContext.move(Node source,
Serializable parentId,
String name)
Move a child to a new parent with a new name.
|
Mapper |
RepositoryBackend.newMapper(Model model,
Session.PathResolver pathResolver,
RepositoryBackend.MapperKind kind)
Creates a new instance a
Mapper . |
void |
SessionImpl.orderBefore(Node parent,
Node source,
Node dest) |
void |
Session.orderBefore(Node parent,
Node source,
Node dest)
Order the given source child node before the destination child node.
|
void |
PersistenceContext.orderBefore(Serializable parentId,
Serializable sourceId,
Serializable destId)
Order a child before another.
|
void |
PersistenceContext.processReceivedInvalidations()
Applies all invalidations accumulated.
|
void |
SelectionContext.processReceivedInvalidations(Set<RowId> modified)
Processes all invalidations accumulated.
|
void |
SimpleFragment.put(String key,
Serializable value)
Puts a value by key.
|
PartialList<Serializable> |
SessionImpl.query(String query,
QueryFilter queryFilter,
boolean countTotal) |
PartialList<Serializable> |
Session.query(String query,
QueryFilter queryFilter,
boolean countTotal)
Makes a NXQL query to the database.
|
PartialList<Serializable> |
UnifiedCachingMapper.query(String query,
String queryType,
QueryFilter queryFilter,
boolean countTotal) |
PartialList<Serializable> |
SoftRefCachingMapper.query(String query,
String queryType,
QueryFilter queryFilter,
boolean countTotal) |
PartialList<Serializable> |
Mapper.query(String query,
String queryType,
QueryFilter queryFilter,
boolean countTotal)
Makes a NXQL query to the database.
|
PartialList<Serializable> |
UnifiedCachingMapper.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
PartialList<Serializable> |
SoftRefCachingMapper.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
PartialList<Serializable> |
SessionImpl.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
PartialList<Serializable> |
Session.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo)
Makes a query to the database.
|
PartialList<Serializable> |
Mapper.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo)
Makes a NXQL query to the database.
|
IterableQueryResult |
UnifiedCachingMapper.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params) |
IterableQueryResult |
SoftRefCachingMapper.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params) |
IterableQueryResult |
SessionImpl.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params) |
IterableQueryResult |
Session.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params)
Makes a query to the database and returns an iterable (which must be closed when done).
|
IterableQueryResult |
Mapper.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params)
Makes a query to the database and returns an iterable (which must be closed when done).
|
List<? extends RowId> |
UnifiedCachingRowMapper.read(Collection<RowId> rowIds,
boolean cacheOnly) |
List<? extends RowId> |
SoftRefCachingRowMapper.read(Collection<RowId> rowIds,
boolean cacheOnly) |
List<? extends RowId> |
RowMapper.read(Collection<RowId> rowIds,
boolean cacheOnly)
Reads a set of rows for the given
RowId s. |
Serializable[] |
UnifiedCachingRowMapper.readCollectionRowArray(RowId rowId) |
Serializable[] |
SoftRefCachingRowMapper.readCollectionRowArray(RowId rowId) |
Serializable[] |
RowMapper.readCollectionRowArray(RowId rowId)
Gets an array for a
CollectionFragment from the database, given its table name and id. |
List<Row> |
UnifiedCachingRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
List<Row> |
SoftRefCachingRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
List<Row> |
RowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne)
Reads the rows corresponding to a selection.
|
Row |
UnifiedCachingRowMapper.readSimpleRow(RowId rowId) |
Row |
SoftRefCachingRowMapper.readSimpleRow(RowId rowId) |
Row |
RowMapper.readSimpleRow(RowId rowId)
Gets a row for a
SimpleFragment from the database, given its table name and id. |
void |
UnifiedCachingMapper.rebuildReadAcls() |
void |
SoftRefCachingMapper.rebuildReadAcls() |
void |
SessionImpl.rebuildReadAcls() |
void |
Session.rebuildReadAcls()
Rebuild the read ACLs for the whole repository.
|
void |
Mapper.rebuildReadAcls() |
Invalidations |
UnifiedCachingRowMapper.receiveInvalidations() |
Invalidations |
SoftRefCachingRowMapper.receiveInvalidations() |
Invalidations |
RowMapper.receiveInvalidations()
Processes and returns the invalidations queued for processing by the cache (if any).
|
void |
PersistenceContext.recomputeVersionSeries(Serializable versionSeriesId)
Recomputes isLatest / isLatestMajor on all versions.
|
void |
SelectionContext.recordCreated(SimpleFragment fragment)
Records the fragment as a just-created selection member.
|
void |
SelectionContext.recordExisting(SimpleFragment fragment,
boolean invalidate) |
void |
SelectionContext.recordRemoved(Serializable id,
Serializable selId)
Removes a selection item from the selection.
|
void |
SelectionContext.recordRemoved(SimpleFragment fragment)
Removes a selection item from the selection.
|
void |
SelectionContext.recordRemovedSelection(Serializable selId)
Records a selection as removed.
|
void |
BaseProperty.refresh(boolean keepChanges) |
void |
BaseProperty.remove() |
List<RowMapper.NodeInfo> |
UnifiedCachingRowMapper.remove(RowMapper.NodeInfo rootInfo) |
List<RowMapper.NodeInfo> |
SoftRefCachingRowMapper.remove(RowMapper.NodeInfo rootInfo) |
List<RowMapper.NodeInfo> |
RowMapper.remove(RowMapper.NodeInfo rootInfo)
Deletes a hierarchy and returns information to generate invalidations.
|
void |
UnifiedCachingMapper.removeClusterNode() |
void |
SoftRefCachingMapper.removeClusterNode() |
void |
Mapper.removeClusterNode()
Removes this node from the cluster.
|
void |
PersistenceContext.removedProxyTarget(SimpleFragment fragment) |
void |
PersistenceContext.removeFragment(Fragment fragment,
boolean primary)
Deletes a fragment from the context.
|
Lock |
UnifiedCachingMapper.removeLock(Serializable id,
String owner,
boolean force) |
Lock |
SoftRefCachingMapper.removeLock(Serializable id,
String owner,
boolean force) |
Lock |
Mapper.removeLock(Serializable id,
String owner,
boolean force)
Removes a lock from a document.
|
boolean |
SessionImpl.removeMixinType(Node node,
String mixin) |
boolean |
Session.removeMixinType(Node node,
String mixin)
Removes a mixin from a node.
|
void |
SessionImpl.removeNode(Node node) |
void |
Session.removeNode(Node node)
Removes a node from the storage.
|
void |
PersistenceContext.removeNode(SimpleFragment hierFragment)
Removes a document node and its children.
|
void |
SessionImpl.removePropertyNode(Node node) |
void |
Session.removePropertyNode(Node node)
Removes a property node from the storage.
|
void |
PersistenceContext.removePropertyNode(SimpleFragment hierFragment)
Removes a property node and its children.
|
void |
SessionImpl.restore(Node node,
Node version) |
void |
Session.restore(Node node,
Node version)
Restores a node to a given version.
|
void |
PersistenceContext.restoreVersion(Node node,
Node version)
Restores a node to a given version.
|
void |
SessionImpl.save() |
void |
Session.save()
Saves the modifications to persistent storage.
|
void |
BaseProperty.save() |
void |
UnifiedCachingRowMapper.sendInvalidations(Invalidations invalidations) |
void |
SoftRefCachingRowMapper.sendInvalidations(Invalidations invalidations) |
void |
RowMapper.sendInvalidations(Invalidations invalidations)
Post-transaction invalidations notification.
|
void |
PersistenceContext.sendInvalidationsToOthers()
Post-transaction invalidations notification.
|
void |
CollectionFragment.set(Serializable[] value)
Sets a collection value.
|
void |
Node.setCollectionProperty(String name,
Serializable[] value) |
Lock |
UnifiedCachingMapper.setLock(Serializable id,
Lock lock) |
Lock |
SoftRefCachingMapper.setLock(Serializable id,
Lock lock) |
Lock |
Mapper.setLock(Serializable id,
Lock lock)
Sets a lock on a document.
|
void |
SessionImpl.setProxyTarget(Node proxy,
Serializable targetId) |
void |
Session.setProxyTarget(Node proxy,
Serializable targetId)
Sets a proxies' target.
|
void |
UnifiedCachingMapper.setRootId(Serializable repositoryId,
Serializable id) |
void |
SoftRefCachingMapper.setRootId(Serializable repositoryId,
Serializable id) |
void |
Mapper.setRootId(Serializable repositoryId,
Serializable id)
Records the newly generated root id for a given repository.
|
void |
Node.setSimpleProperty(String name,
Serializable value) |
void |
CollectionProperty.setValue(Object[] value) |
void |
SimpleProperty.setValue(Serializable value) |
void |
RepositoryBackend.shutdown()
Shuts down the backend.
|
void |
UnifiedCachingMapper.updateReadAcls() |
void |
SoftRefCachingMapper.updateReadAcls() |
void |
SessionImpl.updateReadAcls() |
void |
Session.updateReadAcls()
Update only the read ACLs that have changed.
|
void |
Mapper.updateReadAcls() |
void |
UnifiedCachingRowMapper.write(RowMapper.RowBatch batch) |
void |
SoftRefCachingRowMapper.write(RowMapper.RowBatch batch) |
void |
RowMapper.write(RowMapper.RowBatch batch)
Writes a set of rows.
|
Constructor and Description |
---|
Model(ModelSetup modelSetup) |
PersistenceContext(Model model,
RowMapper mapper,
SessionImpl session) |
RepositoryImpl(RepositoryDescriptor repositoryDescriptor) |
RowMapper.IdWithTypes(SimpleFragment hierFragment) |
RowMapper.NodeInfo(SimpleFragment hierFragment,
SimpleFragment versionFragment,
SimpleFragment proxyFragment)
Creates node info for a node that may also be a proxy or a version.
|
SessionImpl(RepositoryImpl repository,
Model model,
Mapper mapper) |
VCSLockManager(String repositoryName)
Creates a lock manager for the given repository.
|
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
QueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params)
Builds the query.
|
QueryMaker.Query |
NXQLQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
Lock |
JDBCMapper.LockCallable.call() |
int |
JDBCRowMapper.cleanupDeletedRows(int max,
Calendar beforeTime)
Clean up soft-deleted rows.
|
void |
ClusterNodeHandler.close() |
void |
JDBCMapper.connect() |
void |
ClusterNodeHandler.connectionWasReset() |
void |
JDBCConnectionPropagator.connectionWasReset(JDBCConnection connection)
Notifies all connection that they must check their validity.
|
RowMapper.CopyResult |
JDBCRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
String |
JDBCMapper.createClusterNode() |
void |
JDBCMapper.createDatabase() |
Serializable |
JDBCRowMapper.generateNewId() |
Set<Serializable> |
JDBCMapper.getAncestorsIds(Collection<Serializable> ids) |
Map<String,String> |
JDBCRowMapper.getBinaryFulltext(RowId rowId) |
Invalidations |
JDBCMapper.getClusterInvalidations(String nodeId) |
Lock |
JDBCMapper.getLock(Serializable id) |
Serializable |
JDBCMapper.getRootId(String repositoryId) |
void |
JDBCBackend.initialize(RepositoryImpl repository) |
void |
JDBCBackend.initializeModel(Model model)
Initializes what's needed after the
Model has been created. |
void |
JDBCBackend.initializeModelSetup(ModelSetup modelSetup)
Initializes the
ModelSetup . |
void |
JDBCMapper.insertClusterInvalidations(Invalidations invalidations,
String nodeId) |
void |
JDBCMapper.markReferencedBinaries(BinaryGarbageCollector gc) |
Mapper |
JDBCBackend.newMapper(Model model,
Session.PathResolver pathResolver,
RepositoryBackend.MapperKind kind) |
PartialList<Serializable> |
JDBCMapper.query(String query,
String queryType,
QueryFilter queryFilter,
boolean countTotal) |
PartialList<Serializable> |
JDBCMapper.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
IterableQueryResult |
JDBCMapper.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params) |
List<? extends RowId> |
JDBCRowMapper.read(Collection<RowId> rowIds,
boolean cacheOnly) |
Serializable[] |
JDBCRowMapper.readCollectionRowArray(RowId rowId) |
List<Row> |
JDBCRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
Row |
JDBCRowMapper.readSimpleRow(RowId rowId) |
void |
JDBCMapper.rebuildReadAcls() |
Invalidations |
ClusterNodeHandler.receiveClusterInvalidations()
Receives cluster invalidations from other cluster nodes.
|
Invalidations |
JDBCRowMapper.receiveInvalidations() |
List<RowMapper.NodeInfo> |
JDBCRowMapper.remove(RowMapper.NodeInfo rootInfo) |
void |
JDBCMapper.removeClusterNode() |
Lock |
JDBCMapper.removeLock(Serializable id,
String owner,
boolean force) |
void |
ClusterNodeHandler.sendClusterInvalidations(Invalidations invalidations)
Sends cluster invalidations to other cluster nodes.
|
void |
JDBCRowMapper.sendInvalidations(Invalidations invalidations) |
Lock |
JDBCMapper.setLock(Serializable id,
Lock lock) |
void |
JDBCMapper.setRootId(Serializable repositoryId,
Serializable id) |
void |
JDBCBackend.shutdown() |
void |
JDBCMapper.updateReadAcls() |
void |
JDBCRowMapper.write(RowMapper.RowBatch batch) |
Constructor and Description |
---|
ClusterNodeHandler(Mapper clusterNodeMapper,
RepositoryDescriptor repositoryDescriptor) |
JDBCConnection(Model model,
SQLInfo sqlInfo,
XADataSource xadatasource,
JDBCConnectionPropagator connectionPropagator,
boolean noSharing)
Creates a new Mapper.
|
JDBCMapper(Model model,
Session.PathResolver pathResolver,
SQLInfo sqlInfo,
XADataSource xadatasource,
ClusterNodeHandler clusterNodeHandler,
JDBCConnectionPropagator connectionPropagator,
boolean noSharing,
RepositoryImpl repository)
Creates a new Mapper.
|
JDBCRowMapper(Model model,
SQLInfo sqlInfo,
XADataSource xadatasource,
ClusterNodeHandler clusterNodeHandler,
JDBCConnectionPropagator connectionPropagator,
boolean noSharing) |
ResultSetQueryResult(QueryMaker queryMaker,
String query,
QueryFilter queryFilter,
Session.PathResolver pathResolver,
JDBCMapper mapper,
Object... params) |
SQLInfo(Model model,
Dialect dialect)
|
Modifier and Type | Method and Description |
---|---|
static Dialect |
Dialect.createDialect(Connection connection,
RepositoryDescriptor repositoryDescriptor)
Creates a
Dialect by connecting to the datasource to check what database is used. |
Constructor and Description |
---|
Dialect(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectDB2(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectDerby(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectH2(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectHSQLDB(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectMySQL(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectOracle(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectPostgreSQL(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
DialectSQLServer(DatabaseMetaData metadata,
RepositoryDescriptor repositoryDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
MonitoredBackend.initialize(RepositoryImpl repository) |
void |
MonitoredBackend.initializeModel(Model model) |
void |
MonitoredBackend.initializeModelSetup(ModelSetup modelSetup) |
Mapper |
MonitoredBackend.newMapper(Model model,
Session.PathResolver pathResolver,
RepositoryBackend.MapperKind kind) |
void |
MonitoredBackend.shutdown() |
Modifier and Type | Method and Description |
---|---|
Node |
ConnectionImpl.addChildNode(Node parent,
String name,
Long pos,
String typeName,
boolean complexProp) |
Node |
ConnectionImpl.addChildNode(Serializable id,
Node parent,
String name,
Long pos,
String typeName,
boolean complexProp) |
boolean |
ConnectionImpl.addMixinType(Node node,
String mixin) |
Node |
ConnectionImpl.addProxy(Serializable targetId,
Serializable versionSeriesId,
Node parent,
String name,
Long pos) |
Node |
ConnectionImpl.checkIn(Node node,
String label,
String checkinComment) |
void |
ConnectionImpl.checkOut(Node node) |
void |
ConnectionFactoryImpl.close() |
Node |
ConnectionImpl.copy(Node source,
Node parent,
String name) |
Map<String,String> |
ConnectionImpl.getBinaryFulltext(Serializable id) |
Node |
ConnectionImpl.getChildNode(Node parent,
String name,
boolean complexProp) |
List<Node> |
ConnectionImpl.getChildren(Node parent,
String name,
boolean complexProp) |
Session |
ConnectionFactoryImpl.getConnection()
Gets a new connection.
|
Session |
ConnectionFactoryImpl.getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Gets a new connection.
|
Node |
ConnectionImpl.getLastVersion(Serializable versionSeriesId) |
Mapper |
ConnectionImpl.getMapper() |
Model |
ConnectionImpl.getModel() |
Node |
ConnectionImpl.getNodeById(Serializable id) |
Node |
ConnectionImpl.getNodeByPath(String path,
Node node) |
List<Node> |
ConnectionImpl.getNodesByIds(List<Serializable> ids) |
Node |
ConnectionImpl.getParentNode(Node node) |
String |
ConnectionImpl.getPath(Node node) |
List<Node> |
ConnectionImpl.getProxies(Node document,
Node parent) |
String |
ConnectionImpl.getRepositoryName() |
Node |
ConnectionImpl.getRootNode() |
Node |
ConnectionImpl.getVersionByLabel(Serializable versionSeriesId,
String label) |
List<Node> |
ConnectionImpl.getVersions(Serializable versionSeriesId) |
boolean |
ConnectionImpl.hasChildNode(Node parent,
String name,
boolean complexProp) |
boolean |
ConnectionImpl.hasChildren(Node parent,
boolean complexProp) |
Node |
ConnectionImpl.move(Node source,
Node parent,
String name) |
void |
ConnectionImpl.orderBefore(Node node,
Node src,
Node dest) |
PartialList<Serializable> |
ConnectionImpl.query(String query,
QueryFilter queryFilter,
boolean countTotal) |
PartialList<Serializable> |
ConnectionImpl.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
IterableQueryResult |
ConnectionImpl.queryAndFetch(String query,
String queryType,
QueryFilter queryFilter,
Object... params) |
void |
ConnectionImpl.rebuildReadAcls() |
boolean |
ConnectionImpl.removeMixinType(Node node,
String mixin) |
void |
ConnectionImpl.removeNode(Node node) |
void |
ConnectionImpl.removePropertyNode(Node node) |
void |
ConnectionImpl.restore(Node node,
Node version) |
void |
ConnectionImpl.save() |
void |
ConnectionImpl.setProxyTarget(Node proxy,
Serializable targetId) |
void |
ManagedConnectionFactoryImpl.shutdown() |
void |
ConnectionImpl.updateReadAcls() |
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
TagQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
Copyright © 2015 Nuxeo SA. All rights reserved.