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) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveSessionsCount() |
BinaryManager |
getBinaryManager()
Gets the binary manager.
|
String |
getName() |
String |
getRootId()
Gets the root id.
|
Session |
getSession(String sessionId) |
void |
initRoot()
Initializes the root and its ACP.
|
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)
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 BinaryManager getBinaryManager()
DBSRepository
getBinaryManager
in interface DBSRepository
public BinaryManager newBinaryManager()
public int getActiveSessionsCount()
getActiveSessionsCount
in interface Repository
public Session getSession(String sessionId) throws DocumentException
getSession
in interface Repository
DocumentException
Copyright © 2014 Nuxeo SA. All rights reserved.