public abstract class DBSRepositoryBase extends Object implements DBSRepository
Modifier and Type | Class and Description |
---|---|
static class |
DBSRepositoryBase.DBSSessionInvoker
An indirection to a
DBSSession that has a different sessionId. |
class |
DBSRepositoryBase.TransactionContext |
Modifier and Type | Field and Description |
---|---|
Map<Transaction,DBSRepositoryBase.TransactionContext> |
transactionContexts |
static String |
TYPE_ROOT |
Constructor and Description |
---|
DBSRepositoryBase(String repositoryName,
boolean fulltextDisabled) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveSessionsCount() |
BlobManager |
getBlobManager()
Gets the blob manager.
|
String |
getName() |
String |
getRootId()
Gets the root id.
|
Session |
getSession(String sessionId) |
void |
initRoot()
Initializes the root and its ACP.
|
boolean |
isFulltextDisabled()
Checks if fulltext indexing is disabled.
|
BinaryManager |
newBinaryManager() |
void |
shutdown() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createState, deleteStates, generateNewId, hasChild, queryAndFetch, queryKeyValue, queryKeyValueArray, queryKeyValuePresence, readChildState, readState, readStates, updateState
public static final String TYPE_ROOT
public Map<Transaction,DBSRepositoryBase.TransactionContext> transactionContexts
public DBSRepositoryBase(String repositoryName, boolean fulltextDisabled)
public void shutdown()
shutdown
in interface Repository
public String getName()
getName
in interface Repository
public void initRoot()
public String getRootId()
DBSRepository
getRootId
in interface DBSRepository
public BlobManager getBlobManager()
DBSRepository
getBlobManager
in interface DBSRepository
public boolean isFulltextDisabled()
DBSRepository
isFulltextDisabled
in interface DBSRepository
true
if fulltext indexing is disabled, false
if it is enabledpublic BinaryManager newBinaryManager()
public int getActiveSessionsCount()
getActiveSessionsCount
in interface Repository
public Session getSession(String sessionId) throws DocumentException
getSession
in interface Repository
DocumentException
Copyright © 2015 Nuxeo SA. All rights reserved.