Examples of Mini


Examples of com.freewebsys.sns.pojo.Mini

   */
  @Override
  @Transactional
  public void deleteMiniById(Integer id) throws MiniException {
    try {
      Mini mini = (Mini) baseDao.findById(Mini.class, id);
      baseDao.delete(mini);
    } catch (Exception e) {
      throw new MiniException("Mini删除异常");
    }
  }
View Full Code Here

Examples of com.iCo6.IO.mini.Mini

                "orbdb", "orb", "exp", "xp", "xpdb", "expdb"
            )
        )
            return null;

        return new Mini(iConomy.directory.getPath(), "accounts.mini");
    }
View Full Code Here

Examples of com.iCo6.IO.mini.Mini

                "orbdb", "orb", "exp", "xp", "xpdb", "expdb"
            )
        )
            return null;

        return new Mini(iConomy.directory.getPath(), "transactions.mini");
    }
View Full Code Here

Examples of com.iCo6.IO.mini.Mini

    public static void insert(Transaction data) {
        if (!Constants.Nodes.Logging.getBoolean())
            return;

        if (Common.matches(iConomy.Database.getType().toString(), "inventorydb", "minidb", "orbdb")) {
            Mini database = iConomy.Database.getTransactionDatabase();

            if(database == null)
                return;

            Arguments entry = new Arguments(data.time);
            entry.setValue("where", data.where);
            entry.setValue("from", data.from);
            entry.setValue("to", data.to);
            entry.setValue("from_balance", data.fromBalance);
            entry.setValue("to_balance", data.toBalance);
            entry.setValue("gain", data.gain);
            entry.setValue("loss", data.loss);
            entry.setValue("set", data.set);
            database.addIndex(entry);
            database.update();

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