public class Repository extends Object
CoreSession
when calling open()
.
This is obsolete as an extension point, use org.nuxeo.ecm.core.storage.sql.RepositoryService instead. Descriptor kept for backward-compatibility.
Note that this is still use as an object returned by the core api RepositoryManager.
Constructor and Description |
---|
Repository() |
Repository(String name,
String label,
Boolean isDefault,
Callable<Object> repositoryFactory) |
Modifier and Type | Method and Description |
---|---|
static void |
close(CoreSession session)
Deprecated.
since 5.9.3, use
CoreSession.close() instead. |
Boolean |
getDefault() |
String |
getLabel() |
String |
getName() |
Callable<Object> |
getRepositoryFactory() |
boolean |
isDefault() |
CoreSession |
open()
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
CoreSession |
open(Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
void |
setDefault(Boolean isDefault) |
void |
setLabel(String label) |
String |
toString() |
public void setLabel(String label)
public void setDefault(Boolean isDefault)
public String getName()
public String getLabel()
public Boolean getDefault()
public boolean isDefault()
@Deprecated public CoreSession open() throws ClientException
CoreInstance.openCoreSession(java.lang.String)
instead.ClientException
@Deprecated public CoreSession open(Map<String,Serializable> context) throws ClientException
CoreInstance.openCoreSession(java.lang.String)
instead.ClientException
@Deprecated public static void close(CoreSession session)
CoreSession.close()
instead.Copyright © 2015 Nuxeo SA. All rights reserved.