Class NuxeoRepository


  • public class NuxeoRepository
    extends Object
    Information about a Nuxeo repository.
    • Field Detail

      • RELAX_CMIS_SPEC

        public static final String RELAX_CMIS_SPEC
        Key of the configuration property "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.

        See Also:
        NXP-19858, Constant Field Values
      • repositoryId

        protected final String repositoryId
      • rootFolderId

        protected final String rootFolderId
      • supportsJoins

        protected boolean supportsJoins
      • supportsProxies

        protected boolean supportsProxies
      • useElasticsearch

        protected boolean useElasticsearch
      • repositoryFulltextSearchDisabled

        protected boolean repositoryFulltextSearchDisabled
      • typeManagerByCmisVersion

        protected Map<org.apache.chemistry.opencmis.commons.enums.CmisVersion,​TypeManagerImpl> typeManagerByCmisVersion
    • Constructor Detail

      • NuxeoRepository

        public NuxeoRepository​(String repositoryId,
                               String rootFolderId)
    • Method Detail

      • setSupportsJoins

        public void setSupportsJoins​(boolean supportsJoins)
      • supportsJoins

        public boolean supportsJoins()
      • setSupportsProxies

        public void setSupportsProxies​(boolean supportsProxies)
      • supportsProxies

        public boolean supportsProxies()
      • setUseElasticsearch

        public void setUseElasticsearch​(boolean useElasticsearch)
      • useElasticsearch

        public boolean useElasticsearch()
      • hasRepositoryFulltextSearchDisabled

        public boolean hasRepositoryFulltextSearchDisabled()
      • getId

        public String getId()
      • getTypeManager

        public TypeManagerImpl getTypeManager​(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
      • initializeTypes

        protected TypeManagerImpl initializeTypes​(org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
      • addSecondaryTypes

        protected void addSecondaryTypes​(TypeManagerImpl typeManager,
                                         SchemaManager schemaManager,
                                         org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
      • getRootFolderId

        public String getRootFolderId()
      • getRepositoryInfo

        public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo​(String latestChangeLogToken,
                                                                                           org.apache.chemistry.opencmis.commons.server.CallContext callContext)
      • addPermissionDefinitions

        protected static void addPermissionDefinitions​(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs)
      • addPermissionDefinition

        protected static void addPermissionDefinition​(List<org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition> permDefs,
                                                      String permission,
                                                      String description)
      • addPermissionMapping

        protected static void addPermissionMapping​(Map<String,​org.apache.chemistry.opencmis.commons.data.PermissionMapping> permMap,
                                                   String key,
                                                   String permission)