public class NuxeoRepository extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.chemistry.opencmis.commons.enums.CmisVersion |
cmisVersion |
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 |
protected boolean |
supportsJoins |
protected TypeManagerImpl |
typeManager |
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) |
protected void |
addTypesRecursively(TypeManagerImpl typeManager,
String name,
Map<String,List<String>> typesChildren,
Set<String> done,
SchemaManager schemaManager) |
String |
getId() |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(String latestChangeLogToken,
org.apache.chemistry.opencmis.commons.server.CallContext callContext) |
String |
getRootFolderId() |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(String typeId) |
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(String typeId,
int depth,
Boolean includePropertyDefinitions) |
TypeManagerImpl |
getTypeManager() |
boolean |
hasType(String typeId) |
protected TypeManagerImpl |
initializeTypes() |
void |
setSupportsJoins(boolean supportsJoins) |
void |
setUseElasticsearch(boolean useElasticsearch) |
boolean |
supportsJoins() |
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 ELASTICSEARCH_PROP
public static final String NUXEO_READ_REMOVE
protected final String repositoryId
protected final String rootFolderId
protected boolean supportsJoins
protected boolean useElasticsearch
protected TypeManagerImpl typeManager
protected org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion
public NuxeoRepository(String repositoryId, String rootFolderId)
public void setSupportsJoins(boolean supportsJoins)
public boolean supportsJoins()
public void setUseElasticsearch(boolean useElasticsearch)
public boolean useElasticsearch()
public TypeManagerImpl getTypeManager()
protected TypeManagerImpl initializeTypes()
protected void addTypesRecursively(TypeManagerImpl typeManager, String name, Map<String,List<String>> typesChildren, Set<String> done, SchemaManager schemaManager)
protected void addSecondaryTypes(TypeManagerImpl typeManager, SchemaManager schemaManager)
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)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(String typeId)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String typeId, int depth, Boolean includePropertyDefinitions)
Copyright © 2015 Nuxeo SA. All rights reserved.