Examples of store()


Examples of com.knowgate.crm.VCardLoader.store()

      oPrsr.parse(oInBuff, sCharSet);
      VCardLoader oVCrdLoad = (VCardLoader) oImplLoad;
      for (HashMap<String,String> oVCard : oPrsr.vcards()) {
        oVCrdLoad.put(oVCard);
        try {
          oVCrdLoad.store(oConn, sWorkArea, iFlags);
              } catch (Exception xcpt) {
                iErrorCount++;
                if (DebugFile.trace) DebugFile.writeln("  "+xcpt.getClass().getName()+": at line "+String.valueOf(iLine)+" "+xcpt.getMessage());
                if (bRecoverable) {
                  if (DebugFile.trace) DebugFile.writeln("  Connection.rollback()");
View Full Code Here

Examples of com.knowgate.dataobjs.DBPersist.store()

                                 "clickthrough:"+(bClickThrough ? "true" : "false")+","+
                                 "webbeacon:"+(bWebBeacon ? "true" : "false")+","+
                                 "webserver:"+oSessionProps.getProperty("webserver")+","+
                                 "encoding:"+sEncoding);
        if (dtExecution!=null) oJob.put(DB.dt_execution, dtExecution);
        oJob.store(oCon);

      DBCommand.executeUpdate(oCon, "UPDATE "+DB.k_mime_msgs+" SET "+DB.gu_job+"='"+sJobId+"' WHERE "+DB.gu_mimemsg+"='"+oMsg.getMessageGuid()+"'");

        oSnd = Job.instantiate(oCon, sJobId, oDbb.getProperties());
       
View Full Code Here

Examples of com.knowgate.dataobjs.DBSubset.store()

    for (int b=0; b<iBugs; b++) {
      oBugs.setElementAt(Gadgets.generateUUID(), 0, b);
      oBugs.setElementAt(oProj.get(DB.gu_project), 3, b);
    }

    try { oBugs.store(oConn, oBug.getClass(), true); }
    catch (java.lang.InstantiationException ignore) { /* never thrown*/ }

    Stack oPending = new Stack();

    int iChilds = oChilds.load(oConn, aChild);
View Full Code Here

Examples of com.knowgate.hipergate.Product.store()

            oConn.setAutoCommit(false);

            Product oProd = new Product();
            oProd.put(DB.gu_owner, oCatg.getString(DB.gu_owner));
            oProd.put(DB.nm_product, oCatg.getString(DB.nm_category));
            oProd.store(oConn);

            ProductLocation oLoca = new ProductLocation();
            oLoca.put(DB.gu_product, oProd.getString(DB.gu_product));
            oLoca.put(DB.gu_owner, oCatg.getString(DB.gu_owner));
            oLoca.put(DB.pg_prod_locat, 1);
View Full Code Here

Examples of com.knowgate.hipergate.ProductLocation.store()

            oLoca.put(DB.xprotocol, "file://");
            oLoca.put(DB.xhost, "localhost");
            oLoca.put(DB.xpath, Gadgets.chomp(sFolderDir, File.separator));
            oLoca.put(DB.xfile, oCatg.getString(DB.nm_category)+".mbox");
            oLoca.put(DB.xoriginalfile, oCatg.getString(DB.nm_category)+".mbox");
            oLoca.store(oConn);

            oStmt = oConn.prepareStatement("INSERT INTO "+DB.k_x_cat_objs+" ("+DB.gu_category+","+DB.gu_object+","+DB.id_class+") VALUES (?,?,15)");
            oStmt.setString(1, oCatg.getString(DB.gu_category));
            oStmt.setString(2, oProd.getString(DB.gu_product));
            oStmt.executeUpdate();
View Full Code Here

Examples of com.knowgate.marketing.ActivityAttachment.store()

    ActivityAttachment oAttach = new ActivityAttachment();
    oAttach.put(DB.gu_activity, getString(DB.gu_activity));
    oAttach.put(DB.gu_product, oProd.getString(DB.gu_product));
    oAttach.put(DB.gu_location, oLoca.getString(DB.gu_location));
    oAttach.put(DB.gu_writer, sGuWriter);
    oAttach.store(oConn);

    if (bDeleteOriginalFile) {
      if (DebugFile.trace) DebugFile.writeln("deleting file "+oFile.getAbsolutePath());
      oFile.delete();
      if (DebugFile.trace) DebugFile.writeln("deleting file "+sFileName+" deleted");
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Clan.store()

    L2Clan clan = new L2Clan(IdFactory.getInstance().getNextId(), clanName);
    L2ClanMember leader = new L2ClanMember(clan, player.getName(), player.getLevel(), player.getClassId().getId(), player.getObjectId(), player.getPledgeType(), player.getPowerGrade(), player.getTitle());

    clan.setLeader(leader);
    leader.setPlayerInstance(player);
    clan.store();
    player.setClan(clan);
    player.setPledgeClass(leader.calculatePledgeClass(player));
    player.setClanPrivileges(L2Clan.CP_ALL);

    _log.finest("New clan created: {} {}"+" "+ clan.getClanId()+" "+ clan.getName());
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.store()

      {
        // Sleep effect, not official feature but however L2OFF features (like offline trade)
        if (Config.OFFLINE_SLEEP_EFFECT)
          player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_SLEEP);
       
        player.store();
        player.closeNetConnection();
       
        if (player.getOfflineStartTime() == 0)
          player.setOfflineStartTime(System.currentTimeMillis());
        return;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.store()

       
        petSummon.setRunning();
       
        if (!petSummon.isRespawned())
        {
          petSummon.store();
        }
       
        _activeChar.setPet(petSummon);
       
        L2World.getInstance().storeObject(petSummon);
View Full Code Here

Examples of com.liferay.portlet.PortletPreferencesImpl.store()

      (PortletPreferencesWrapper)prefs;

    PortletPreferencesImpl prefsImpl =
      (PortletPreferencesImpl)prefsWrapper.getPreferencesImpl();

    prefsImpl.store();
  }

//  public static PortletMode updatePortletMode(
//      String portletId, User user, Layout layout, PortletMode portletMode)
//    throws PortalException, SystemException {
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.