Examples of createRepository()


Examples of org.exoplatform.services.jcr.RepositoryService.createRepository()

         }
         catch (ClassNotFoundException e)
         {
         }

         service.createRepository(repoEntry);
         service.getConfig().retain();

         ManageableRepository repository = service.getRepository(repoEntry.getName());

         // add content
View Full Code Here

Examples of org.exoplatform.services.jcr.RepositoryService.createRepository()

         catch (Exception e)
         {
         }

         // create new repository
         service.createRepository(repositoryEntry);
         service.getConfig().retain();

         newRepository = service.getRepository(repositoryEntry.getName());

         Session newSession = null;
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.repository.creation.RepositoryCreationService.createRepository()

      WorkspaceEntry newWSEntry = helper.createWorkspaceEntry(false, tenantName);
      newWSEntry.setName(wsEntry.getName());
      newRE.addWorkspace(newWSEntry);

      creatorService.createRepository(bch.getBackupId(), newRE, repoToken, creationProps);

      // check
      ManageableRepository restoredRepository = repositoryService.getRepository(tenantName);
      assertNotNull(restoredRepository);
View Full Code Here

Examples of org.exoplatform.services.jcr.util.TesterConfigurationHelper.createRepository()

      TesterConfigurationHelper helper = TesterConfigurationHelper.getInstance();
      WorkspaceEntry wsEntry = helper.createWorkspaceEntry(DatabaseStructureType.MULTI, null);
      wsEntry.getContainer().getParameters()
         .add(new SimpleParameterEntry(WorkspaceDataContainer.TRIGGER_EVENTS_FOR_DESCENDENTS_ON_RENAME, "false"));

      ManageableRepository repository = helper.createRepository(container, DatabaseStructureType.MULTI, null);
      helper.addWorkspace(repository, wsEntry);

      SessionImpl session = (SessionImpl)repository.login(credentials, wsEntry.getName());

      Node nodeA = session.getRootNode().addNode("A");
View Full Code Here

Examples of org.openrdf.sesame.repository.local.LocalService.createRepository()

      reload();

      LocalService service = Sesame.getService();

      {
        LocalRepository contextRepository = service.createRepository(
            "contextRepository", false);
        contextGraph = contextRepository.getGraph();
      }

      defaultContext = graph.getValueFactory().createBNode();
View Full Code Here

Examples of org.sonatype.nexus.test.utils.RepositoryMessageUtil.createRepository()

    repo.setName(shadowRepoId);
    repo.setRepoType("virtual");
    repo.setShadowOf(this.getTestRepositoryId());
    repo.setSyncAtStartup(false);
    repo.setExposed(true);
    repoUtil.createRepository(repo);

    // create Sync Repo Task
    // repo: 'nexus-shadow-repo'
    // recurrence: 'manual'
    // run it manually
View Full Code Here

Examples of org.tmatesoft.svn.core.wc.SVNClientManager.createRepository()

            clientManager = clientManagerPool.borrowObject();
            if (clientManager == null) {
                throw new StoreException.ReadException("Failed to acquire SVNClientManager");
            }
            // do not explicitly close the session because mayReuse=true
            final SVNRepository repository = clientManager.createRepository(svnUrl, true);

            return operation.execute(repository, clientManager);
        } catch (Exception e) {
            Throwables.propagateIfInstanceOf(e, StoreException.class);
            throw operation.handleException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.