Examples of save()


Examples of org.apache.jackrabbit.core.SessionImpl.save()

                }
            }
        } finally {
            if (sImpl.nodeExists(path)) {
                folder.remove();
                sImpl.save();
            }
        }

        Node someContent = userNode.addNode("mystuff", "nt:unstructured");
        path = someContent.getPath();
View Full Code Here

Examples of org.apache.jackrabbit.core.integration.random.operation.OperationFactory.save()

            OperationFactory f = new OperationFactory(session);
            // create nodes
            f.createNodes(test.getPath(), numLevels, nodesPerLevel,
                    mixins, saveInterval).execute();
            // save nodes
            f.save(test.getPath()).execute();

            NodeIterator nodes = f.getRandomNodes(f.traverseNodes(test.getPath()));
            while (end > System.currentTimeMillis()) {
                Operation op = f.runInSequence(new Operation[]{
                    getRandomOperations(f, nodes),
View Full Code Here

Examples of org.apache.jackrabbit.ocm.manager.ObjectContentManager.save()

            collection.add(c3);
           
            a.setCollection(collection);
           
            ocm.insert(a);
            ocm.save();
           

            // --------------------------------------------------------------------------------
            // Get the object
            // --------------------------------------------------------------------------------          
View Full Code Here

Examples of org.apache.jackrabbit.vault.fs.config.DefaultMetaInf.save()

            // store filter and config
            if (!force) {
                DefaultMetaInf inf = (DefaultMetaInf) ctx.getMetaInf();
                inf.setConfig(vaultFile.getFileSystem().getConfig());
                inf.setFilter(vaultFile.getFileSystem().getWorkspaceFilter());
                inf.save(ctx.getExportRoot().getMetaDir());
            }
            if (ctx.isVerbose()) {
                DumpContext dc = new DumpContext(new PrintWriter(ctx.getStdout()));
                dc.println("Filter");
                ctx.getMetaInf().getFilter().dump(dc, true);
View Full Code Here

Examples of org.apache.james.mailbox.store.user.SubscriptionMapper.save()

                public void runVoid() throws MailboxException {
                    final Subscription subscription = mapper.findMailboxSubscriptionForUser(session.getUser().getUserName(), mailbox);
                    if (subscription == null) {
                        final Subscription newSubscription = createSubscription(session, mailbox);
                        mapper.save(newSubscription);
                    }
                }
               
            });
        } catch (MailboxException e) {
View Full Code Here

Examples of org.apache.jetspeed.services.rundata.JetspeedRunData.save()

    {
        JetspeedRunData rundata = getRunData();
        if (rundata != null)
        {
            rundata.setUser(user);
            rundata.save();
        }
        return rundata;
    }

View Full Code Here

Examples of org.apache.jetspeed.tutorial.om.Cafe.save()

       
            rundata.getParameters().setProperties(cafe);

            validate(cafe);

            cafe.save(con);

            con.commit();

            returnToBrowser(rundata, true);
           
View Full Code Here

Examples of org.apache.jmeter.save.xml.TagHandler.save()

      FileWriter out = new FileWriter(System.getProperty("user.dir") +
          File.separator + config.getJmxScriptDir() + File.separator + name +
          "_" + config.getFilesCached() + ".jmx");
      TagHandler handler = (TagHandler) urlConfig.getTagHandlerClass().newInstance();
      handler.startSave(out);
      handler.save(urlConfig, out);
      out.close();
    }
    catch (Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of org.apache.karaf.diagnostic.core.DumpDestination.save()

        for (DumpProvider provider : providers) {
            provider.createDump(destination);
        }

        destination.save();
    }

    /**
     * Sets dump providers.
     *
 
View Full Code Here

Examples of org.apache.karaf.eik.core.configuration.FeaturesSection.save()

        final List<String> features = new ArrayList<String>();
        Collections.addAll(features, bootFeaturesArray);

        featuresSection.setBootFeatureNames(features);
        featuresSection.save();
    }

    private Properties createLaunchSystemProperties(
            final KarafWorkingPlatformModel platformModel,
            final ILaunchConfiguration configuration) throws CoreException {
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.