code: protected I_CmsCmisRepository getRepository(String repositoryId) {
  
          I_CmsCmisRepository result = OpenCms.getRepositoryManager().getRepository(
              repositoryId,
              I_CmsCmisRepository.class);
          if (result == null) {
              throw new CmisConnectionException("missing repository: " + repositoryId);
          }
          return result;
      }
docs: Gets the repository for a given repository id.<p>
  
  @param repositoryId the repository id
  
  @return the repository with the given id