Examples of store()


Examples of net.sourceforge.pebble.PluginProperties.store()

      String blacklist = props.getProperty(BLACKLIST_KEY);
      whitelist = addIpAddress(response, whitelist);
      blacklist = removeIpAddress(response, blacklist);
      props.setProperty(WHITELIST_KEY, whitelist);
      props.setProperty(BLACKLIST_KEY, blacklist);
      props.store();
    }
  }

  /**
   * Called when a comment or TrackBack has been rejected.
View Full Code Here

Examples of net.sourceforge.wampum.finance.entities.AccountDAO.store()

      else {
        this.currentAccount.setParentAccount(null);
      }
     
      AccountDAO accountDAO = (AccountDAO)this.daoFactory.getDAO("account");
      accountDAO.store(this.currentAccount, false);
      buildAccountTree();
      updateRegisterTableData();
      tabbedPane.setEnabledAt(1, true);
    }
    else if ("deleteButton".equals(event.getActionCommand())) {
View Full Code Here

Examples of net.sourceforge.wampum.finance.entities.BudgetDAO.store()

          budgetList.add(budget);
        }
        budget.setAmount((Double)value);
       
        BudgetDAO budgetDAO = (BudgetDAO)daoFactory.getDAO("budget");
        budgetDAO.store(budget, false);
      }
     
    };
    budgetTable.setModel(dataModel);
   
View Full Code Here

Examples of net.sourceforge.wampum.finance.entities.PayeeDAO.store()

      currentPayee.setName(name.getText());
      currentPayee.setFilters(filters.getText());
      currentPayee.setActive(new Boolean(true));
      DAOFactory daoFactory = new DAOFactory();
      PayeeDAO payeeDao = (PayeeDAO)daoFactory.getDAO("payee");
      payeeDao.store(currentPayee, false);
      buildPayeesTree();
      buildPayeeDropDown();
      checkButtonStatus();
    }
    else if ("clearButton".equals(e.getActionCommand())) {
View Full Code Here

Examples of net.sourceforge.wampum.finance.entities.TransactionDAO.store()

            newSplit.setAmount(new Double(-amount));
            trans.appendTransSplit(newSplit);
          }
        }
        TransactionDAO transDAO = (TransactionDAO)factory.getDAO("transaction");
        transDAO.store(trans, true);
        transIDList.add(trans.getTransactionID());
        factory.commit();
//        factory.close();
      }
      catch (Exception ex) {
View Full Code Here

Examples of net.sourceforge.wampum.system.data.DAO.store()

               List childList = payee.getTransactionList();
               Transaction childTransaction = null;
               DAO dao = daoFactory.getDAO("transaction");
               for (int i=0; i<childList.size(); i++) {
                   childTransaction = (Transaction)childList.get(i);
                   dao.store(childTransaction,true);
               }
           }

       }
       catch (Exception ex) {
View Full Code Here

Examples of net.timewalker.ffmq3.storage.data.LinkedDataStore.store()

    for (int i = 0; i < 500; i++)
    {
      for (int j = 0; j < 10; j++)
      {
        int previous = store.first();
        previous = store.store(data, previous);
        if (previous == -1)
                  throw new IllegalStateException("No space left !");
      }
      store.commitChanges();
      for (int j = 0; j < 10; j++)
View Full Code Here

Examples of net.timewalker.ffmq3.storage.data.impl.InMemoryLinkedDataStore.store()

        assertEquals(0, store.size());
       
        int previous = -1;
        for (int n = 0 ; n < MSG_COUNT ; n++)
        {
            previous = store.store("test_"+n, previous);
            if (previous == -1)
                throw new IllegalStateException("No space left !");
        }
        assertEquals(MSG_COUNT, store.size());
        store.commitChanges();
View Full Code Here

Examples of net.timewalker.ffmq3.storage.message.MessageStore.store()

    for (int i = 0; i < msgCount; i++)
    {
      AbstractMessage msg = new TextMessageImpl("msg"+i);
      msg.setJMSMessageID("ID:FOO"+i);
      msg.setJMSPriority(rand.nextInt(10));
      assertTrue(msgStore.store(msg) != -1);
      //msgStore.commitChanges();
    }
    msgStore.commitChanges();
    long end = System.currentTimeMillis();
    System.out.println("testPriorityBasic: "+(end-start));
View Full Code Here

Examples of net.yacy.search.index.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.