public class NuxeoRepository extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ELASTICSEARCH_PROP |
static String |
NUXEO_READ_REMOVE |
static String |
NUXEO_URL_PROP |
static String |
NUXEO_VERSION_PROP
Deprecated.
Since 7.10. Use
Environment.DISTRIBUTION_VERSION |
protected String |
repositoryId |
protected String |
rootFolderId |
static String |
SUPPORTS_JOINS_PROP |
static String |
SUPPORTS_PROXIES_PROP |
protected boolean |
supportsJoins |
protected boolean |
supportsProxies |
protected Map<org.apache.chemistry.opencmis.commons.enums.CmisVersion,TypeManagerImpl> |
typeManagerByCmisVersion |
protected boolean |
useElasticsearch |
Constructor and Description |
---|
NuxeoRepository(String repositoryId,
String rootFolderId) |
Modifier and Type | Method and Description |
---|---|
protected static void |
addPermissionDefinition(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs,
String permission,
String description) |
protected static void |
addPermissionDefinitions(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs) |
protected static void |
addPermissionMapping(Map<String,org.apache.chemistry.opencmis.commons.data.PermissionMapping> permMap,
String key,
String permission) |
protected void |
addSecondaryTypes(TypeManagerImpl typeManager,
SchemaManager schemaManager,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) |
protected void |
addTypesRecursively(TypeManagerImpl typeManager,
String name,
Map<String,List<String>> typesChildren,
Set<String> done,
SchemaManager schemaManager,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) |
String |
getId() |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(String latestChangeLogToken,
org.apache.chemistry.opencmis.commons.server.CallContext callContext) |
String |
getRootFolderId() |
TypeManagerImpl |
getTypeManager(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) |
protected TypeManagerImpl |
initializeTypes(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) |
void |
setSupportsJoins(boolean supportsJoins) |
void |
setSupportsProxies(boolean supportsProxies) |
void |
setUseElasticsearch(boolean useElasticsearch) |
boolean |
supportsJoins() |
boolean |
supportsProxies() |
boolean |
useElasticsearch() |
@Deprecated public static final String NUXEO_VERSION_PROP
Environment.DISTRIBUTION_VERSION
public static final String NUXEO_URL_PROP
public static final String SUPPORTS_JOINS_PROP
public static final String SUPPORTS_PROXIES_PROP
public static final String ELASTICSEARCH_PROP
public static final String NUXEO_READ_REMOVE
protected final String repositoryId
protected final String rootFolderId
protected boolean supportsJoins
protected boolean supportsProxies
protected boolean useElasticsearch
protected Map<org.apache.chemistry.opencmis.commons.enums.CmisVersion,TypeManagerImpl> typeManagerByCmisVersion
public NuxeoRepository(String repositoryId, String rootFolderId)
public void setSupportsJoins(boolean supportsJoins)
public boolean supportsJoins()
public void setSupportsProxies(boolean supportsProxies)
public boolean supportsProxies()
public void setUseElasticsearch(boolean useElasticsearch)
public boolean useElasticsearch()
public TypeManagerImpl getTypeManager(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
protected TypeManagerImpl initializeTypes(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
protected void addTypesRecursively(TypeManagerImpl typeManager, String name, Map<String,List<String>> typesChildren, Set<String> done, SchemaManager schemaManager, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
protected void addSecondaryTypes(TypeManagerImpl typeManager, SchemaManager schemaManager, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
public String getRootFolderId()
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(String latestChangeLogToken, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
protected static void addPermissionDefinitions(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs)
protected static void addPermissionDefinition(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs, String permission, String description)
protected static void addPermissionMapping(Map<String,org.apache.chemistry.opencmis.commons.data.PermissionMapping> permMap, String key, String permission)
Copyright © 2016 Nuxeo SA. All rights reserved.