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 |
static String |
RELAX_CMIS_SPEC
Key of the configuration property
"org.nuxeo.cmis.relaxSpec" , default to false . |
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 RELAX_CMIS_SPEC
"org.nuxeo.cmis.relaxSpec"
, default to false
. Setting this
property to true
allows users to relax the CMIS specification 1.1 and use customized CMISQL. Please be
aware the risk of doing so. It will potentially cause query parsing error.
The relax mode does not follow the CMIS specification 1.1, section 2.1.14.2.4.4, where at most one
CONTAINS()
function MUST be included in a single query statement. Currently, such mode only works for
CMIS query having no JOIN
predicate.
https://jira.nuxeo.com/browse/NXP-19858
,
Constant Field Valuespublic 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 © 2019 Nuxeo. All rights reserved.