Examples of incrementNumberValue()


Examples of org.opentides.bean.SystemCodes.incrementNumberValue()

  public Long incrementValue(String key) {
      synchronized(SystemCodes.class) {
        SystemCodes code = loadBySystemCodesByKey(key);
        if (code==null) code = new SystemCodes(key);
            code.setSkipAudit(true);    // no need to audit auto-generated keys
        code.incrementNumberValue();
        code.setCategory("KEYGEN");
        this.saveEntityModel(code);
        return code.getNumberValue();
      }
  }
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.