public class DocumentStoreManager extends RepositoryInitializationHandler
Modifier and Type | Field and Description |
---|---|
protected DocumentStoreConfigurationDescriptor |
config |
protected boolean |
defaultInitialized |
protected String |
defaultRepositoryName |
protected Map<String,DocumentStoreHandlerDescriptor> |
handlers |
static String |
MANAGEMENT_ROOT_NAME |
static String |
MANAGEMENT_ROOT_PATH |
static String |
MANAGEMENT_ROOT_TYPE |
protected boolean |
mgmtInitialized |
protected DocumentRef |
rootletRef |
next, previous
Constructor and Description |
---|
DocumentStoreManager() |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
createRootlet(CoreSession session) |
void |
doInitializeRepository(CoreSession session) |
static PathRef |
newPath(String... components) |
void |
registerConfig(DocumentStoreConfigurationDescriptor config) |
void |
registerHandler(DocumentStoreHandlerDescriptor desc) |
protected DocumentRef |
setupRootlet(CoreSession session) |
getInstance, getNext, getPrevious, initializeRepository, install, uninstall
public static final String MANAGEMENT_ROOT_TYPE
public static final String MANAGEMENT_ROOT_NAME
public static final String MANAGEMENT_ROOT_PATH
protected final Map<String,DocumentStoreHandlerDescriptor> handlers
protected DocumentStoreConfigurationDescriptor config
protected String defaultRepositoryName
protected boolean mgmtInitialized
protected boolean defaultInitialized
protected DocumentRef rootletRef
public DocumentStoreManager()
public void registerHandler(DocumentStoreHandlerDescriptor desc)
public void registerConfig(DocumentStoreConfigurationDescriptor config)
public void doInitializeRepository(CoreSession session)
doInitializeRepository
in class RepositoryInitializationHandler
protected DocumentModel createRootlet(CoreSession session)
protected DocumentRef setupRootlet(CoreSession session)
Copyright © 2018 Nuxeo. All rights reserved.