Examples of checkOut()


Examples of com.ateam.webstore.handlers.CartHandler.checkout()

        CartHandler ch = new CartHandler(req);
        v = ch.getCartView();
      }
      else if (req.getParameterMap().containsKey(Parameters.CHECKOUT.getId())) {
        CartHandler ch = new CartHandler(req);
        v = ch.checkout();
      }
      else if (req.getParameterMap().containsKey(Parameters.CATEGORY_ID.getId())) {
        ProductHandler ph = new ProductHandler(req);
        v = ph.getCategoryView();
      }
View Full Code Here

Examples of com.openkm.ws.client.OKMDocument.checkout()

            bpAuth.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, host+"/OKMAuth");
            bpDocument.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, host+"/OKMDocument");

            token = okmAuth.login(username, password);

            okmDocument.checkout(token, doc.getPath());
            byte[] bytedoc = okmDocument.getContent(token, doc.getPath(), false);

            String fileName = Util.getLocalFilenameWithoutCollisions(doc, directoryPath);
            File file = new File(fileName);
            file.createNewFile();
View Full Code Here

Examples of de.fhg.igd.mongomvcc.VDatabase.checkout()

    VFactory factory = new MongoDBVFactory();
    VDatabase db = factory.createDatabase();
    db.connect("mongomvcc-five-minutes-tutorial");
   
    // Checkout the "master" branch
    VBranch master = db.checkout(VConstants.MASTER);
   
    // 2. Put something into the index
    VCollection persons = master.getCollection("persons");
    Map<String, Object> elvis = factory.createDocument();
    elvis.put("name", "Elvis");
View Full Code Here

Examples of git4idea.branch.GitBrancher.checkout()

                    @Override
                    public Void call() throws Exception {
                        GitBrancher brancher = ServiceManager.getService(project, GitBrancher.class);
                        Optional<GitRepository> gitRepositoryOptional = gerritGitUtil.
                                getRepositoryForGerritProject(project, changeDetails.project);
                        brancher.checkout("FETCH_HEAD", Collections.singletonList(gitRepositoryOptional.get()), null);
                        return null;
                    }
                };
                fetchAction.fetchChange(selectedChange.get(), project, successCallable);
            }
View Full Code Here

Examples of hudson.plugins.scm_sync_configuration.SCMManipulator.checkout()

    protected void verifyCurrentScmContentMatchesHierarchy(File hierarchy, boolean match) throws ComponentLookupException, PlexusContainerException, IOException{
    SCMManipulator scmManipulator = createMockedScmManipulator();
   
    // Checkouting scm in temp directory
    File checkoutDirectoryForVerifications = createTmpDirectory(this.getClass().getSimpleName()+"_"+testName.getMethodName()+"__verifyCurrentScmContentMatchesHierarchy");
    scmManipulator.checkout(checkoutDirectoryForVerifications);
        List<String> diffs = DirectoryUtils.diffDirectories(checkoutDirectoryForVerifications, hierarchy,
                getSpecialSCMDirectoryExcludePattern(), true);

    FileUtils.deleteDirectory(checkoutDirectoryForVerifications);
   
View Full Code Here

Examples of hudson.scm.SCM.checkout()

            return true;    // no SCM

        FilePath workspace = build.getWorkspace();
        workspace.mkdirs();
       
        boolean r = scm.checkout(build, launcher, workspace, listener, changelogFile);
        if (r) {
            // Only calcRevisionsFromBuild if checkout was successful. Note that modern SCM implementations
            // won't reach this line anyway, as they throw AbortExceptions on checkout failure.
            calcPollingBaseline(build, launcher, listener);
        }
View Full Code Here

Examples of javax.jcr.Node.checkout()

            VersioningConfiguration versioningConfiguration) throws RepositoryException {
        if (versioningConfiguration.isAutoCheckout()) {
            Node versionableNode = findVersionableAncestor(node);
            if (versionableNode != null) {
                if (!versionableNode.isCheckedOut()) {
                    versionableNode.checkout();
                    changes.add(Modification.onCheckout(versionableNode.getPath()));
                }
            }
        }
    }
View Full Code Here

Examples of javax.jcr.Node.checkout()

    protected void checkoutIfNecessary(Node node) throws RepositoryException {
        if (this.configuration.isAutoCheckout()) {
            Node versionableNode = findVersionableAncestor(node);
            if (versionableNode != null) {
                if (!versionableNode.isCheckedOut()) {
                    versionableNode.checkout();
                    if (this.importListener != null) {
                        this.importListener.onCheckout(versionableNode.getPath());
                    }
                }
            }
View Full Code Here

Examples of javax.jcr.Node.checkout()

                response.setStatus(HttpServletResponse.SC_NOT_FOUND,
                    "Missing source " + resource + " for checkout");
                return;
            }

            node.checkout();
            changes.add(Modification.onCheckout(resource.getPath()));

        } else {

            while (res.hasNext()) {
View Full Code Here

Examples of javax.jcr.Node.checkout()

            while (res.hasNext()) {
                Resource resource = res.next();
                Node node = resource.adaptTo(Node.class);
                if (node != null) {
                    node.checkout();
                    changes.add(Modification.onCheckout(resource.getPath()));
                }
            }

        }
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.