Examples of store()


Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type.STORE()

                paramTemp[i] =
                    methodGen.addLocalVariable("function_call_tmp"+i,
                                               expType.toJCType(),
                                               null, null);
                paramTemp[i].setStart(
                        il.append(expType.STORE(paramTemp[i].getIndex())));

            }

            il.append(new NEW(cpg.addClass(_className)));
            il.append(InstructionConstants.DUP);
View Full Code Here

Examples of com.sun.star.frame.XStorable.store()

        defContainer);
       
        try
        {
            queryContainer.insertByName ("Query1", newQuery);
            store.store ();
            connection.close ();
        } catch (com.sun.star.lang.WrappedTargetException e)
        {
            e.printStackTrace (log);
            throw new StatusException (Status.failed ("Couldn't insert query"));
View Full Code Here

Examples of com.sun.star.ui.XUIConfigurationPersistence.store()

        {
            XAcceleratorConfiguration xTargetAccMgr = UnoRuntime.queryInterface(XAcceleratorConfiguration.class, xCfgMgr.getShortCutManager());
            XUIConfigurationPersistence xCommit1 = UnoRuntime.queryInterface(XUIConfigurationPersistence.class, xTargetAccMgr);
            XUIConfigurationPersistence xCommit2 = UnoRuntime.queryInterface(XUIConfigurationPersistence.class, xCfgMgr);
            xCommit1.store();
            xCommit2.store();

            XTransactedObject xCommit3 = UnoRuntime.queryInterface(XTransactedObject.class, xRootStorage);
            xCommit3.commit();
        }
    }
View Full Code Here

Examples of com.vercer.engine.persist.ObjectDatastore.store()

  {
    ObjectDatastore ds = new AnnotationObjectDatastore();

    A a;
    B b;
    ds.store(a = new A());
    ds.store(b = new B());
    ds.store(new AB(a, b));

    final AB ab = ds.find().type(AB.class).addFilter("a", Query.FilterOperator.EQUAL,
        ds.associatedKey(a)).returnResultsNow().next();
View Full Code Here

Examples of com.vercer.engine.persist.annotation.AnnotationObjectDatastore.store()

      foo.innerFoo = new InnerFoo("foo1Name");
      foo.moreInnerFoos = new HashMap<String, InnerFoo>();
      foo.moreInnerFoos.put("hello", new InnerFoo("helloFoo"));
      foo.moreInnerFoos.put("goodbye", new InnerFoo("goodbyeFoo"));

      datastore.store(foo);
    }

    {
      ObjectDatastore datastore = new AnnotationObjectDatastore(false);
      Foo foundFoo = datastore.load(Foo.class, "foo1");
View Full Code Here

Examples of com.volantis.mcs.cache.Cache.store()

        //
        // Store our WritableCSSEntityMock in the cache and get the identity
        // that can be used to retrieve the entry.
        //
        CacheIdentity identity = cache.store(
                new CSSCacheEntry(writableCSSEntityMock));


        //
        // EXPECTATIONS
View Full Code Here

Examples of com.volantis.mcs.cache.CacheStore.store()

        CacheEntry entry2 = new CSSCacheEntry(writableCSSEntityMock2, 50);
        CacheEntry entry3 = new CSSCacheEntry(writableCSSEntityMock2, 150);

        // We add the first identity which should get a cacheTime of 0,
        // expiresTime of 100 and a sequence number of 0
        CacheIdentity identity1 = defaultCacheStore.store(entry1);
        assertEquals("T1", identity1.getCreateTime(),0);
        assertEquals("T2", identity1.getExpiresTime(),100);
        assertEquals("T3", identity1.getSequenceNo(),0);

        // We add the second identity which should get a cacheTime of 10,
View Full Code Here

Examples of com.xiaoleilu.hutool.Setting.store()

    //重新读取配置文件,可以启用一个定时器调用此方法来定时更新配置
    setting.reload();
   
    //当通过代码加入新的键值对的时候,调用store会保存到文件,但是会覆盖原来的文件,并丢失注释
    setting.setSetting("name1", "value");
    setting.store("/home/looly/XXX.setting");

    //获得所有分组名
    setting.getGroups();
   
    //将key-value映射为对象,原理是原理是调用对象对应的setXX方法
View Full Code Here

Examples of de.FeatureModellingTool.GraphicalEditor.store.AdaptedStandardStorageFormat.store()

        List<DrawModel> drawings = new ArrayList<DrawModel>();
        AdaptedStandardStorageFormat storef = new AdaptedStandardStorageFormat();
        try {
          for (int i = 0; i < drawingViews.length; i++) {
            sw = new StringWriter();
            storef.store(sw, drawingViews[i].getDrawing());
            drawings.add(new DrawModel(drawingViews[i].getDrawing()
                .getId(), drawingViews[i].getDrawing()
                .getTitle(), sw.toString()));
            sw.close();
          }
View Full Code Here

Examples of de.anomic.search.MetadataRepository.store()

                        iEntry = wordIdxEntries.next();
                        final byte[] urlHash = iEntry.urlhash();
                        if ((currentUrlDB.exists(urlHash)) && (!minimizedUrlDB.exists(urlHash))) try {
                            final URIMetadataRow urlEntry = currentUrlDB.load(urlHash);
                            urlCounter++;
                            minimizedUrlDB.store(urlEntry);
                            if (urlCounter % 500 == 0) {
                                log.logInfo(urlCounter + " URLs found so far.");
                            }
                        } catch (final IOException 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.